package X6FRs_4.QxJ9d_1.KQgRr5e_0.QxJ9d_1;

import X6FRs_4.QxJ9d_1.KQgRr5e_0.QxJ9d_1.QxJ9d_1;
import java.util.HashMap;
import java.util.Map;
/* compiled from: FastSafeIterableMap.java */
/* loaded from: classes.dex */
public class KQgRr5e_0<K, V> extends QxJ9d_1<K, V> {
    public HashMap<K, QxJ9d_1.PGPF6hQ_2<K, V>> KQgRr5e_0 = new HashMap<>();

    @Override // X6FRs_4.QxJ9d_1.KQgRr5e_0.QxJ9d_1.QxJ9d_1
    public QxJ9d_1.PGPF6hQ_2<K, V> KQgRr5e_0(K k) {
        return this.KQgRr5e_0.get(k);
    }

    public boolean contains(K k) {
        return this.KQgRr5e_0.containsKey(k);
    }

    @Override // X6FRs_4.QxJ9d_1.KQgRr5e_0.QxJ9d_1.QxJ9d_1
    public V KQgRr5e_0(K k, V v) {
        QxJ9d_1.PGPF6hQ_2<K, V> KQgRr5e_0 = KQgRr5e_0((KQgRr5e_0<K, V>) k);
        if (KQgRr5e_0 != null) {
            return KQgRr5e_0.f1102QxJ9d_1;
        }
        this.KQgRr5e_0.put(k, KQgRr5e_0((KQgRr5e_0<K, V>) k, (K) v));
        return null;
    }

    @Override // X6FRs_4.QxJ9d_1.KQgRr5e_0.QxJ9d_1.QxJ9d_1
    public V KQgRr5e_0(K k) {
        V v = (V) super.m528KQgRr5e_0((KQgRr5e_0<K, V>) k);
        this.KQgRr5e_0.remove(k);
        return v;
    }

    @Override // X6FRs_4.QxJ9d_1.KQgRr5e_0.QxJ9d_1.QxJ9d_1
    public Map.Entry<K, V> KQgRr5e_0(K k) {
        if (contains(k)) {
            return this.KQgRr5e_0.get(k).QxJ9d_1;
        }
        return null;
    }
}
