package X6FRs_4.Mqv2r_3;

import java.util.Collection;
import java.util.Map;
import java.util.Set;
/* compiled from: ArrayMap.java */
/* loaded from: classes.dex */
public class KQgRr5e_0<K, V> extends IMuAHx_6<K, V> implements Map<K, V> {
    public IFxWkV_5<K, V> KQgRr5e_0;

    /* compiled from: ArrayMap.java */
    /* renamed from: X6FRs_4.Mqv2r_3.KQgRr5e_0$KQgRr5e_0  reason: collision with other inner class name */
    /* loaded from: classes.dex */
    public class C0060KQgRr5e_0 extends IFxWkV_5<K, V> {
        public C0060KQgRr5e_0() {
        }

        @Override // X6FRs_4.Mqv2r_3.IFxWkV_5
        public int KQgRr5e_0() {
            return ((IMuAHx_6) KQgRr5e_0.this).KQgRr5e_0;
        }

        @Override // X6FRs_4.Mqv2r_3.IFxWkV_5
        public int QxJ9d_1(Object obj) {
            return KQgRr5e_0.this.QxJ9d_1(obj);
        }

        @Override // X6FRs_4.Mqv2r_3.IFxWkV_5
        public Object KQgRr5e_0(int i, int i2) {
            return ((IMuAHx_6) KQgRr5e_0.this).f1009KQgRr5e_0[(i << 1) + i2];
        }

        @Override // X6FRs_4.Mqv2r_3.IFxWkV_5
        public int KQgRr5e_0(Object obj) {
            return KQgRr5e_0.this.KQgRr5e_0(obj);
        }

        @Override // X6FRs_4.Mqv2r_3.IFxWkV_5
        public Map<K, V> KQgRr5e_0() {
            return KQgRr5e_0.this;
        }

        @Override // X6FRs_4.Mqv2r_3.IFxWkV_5
        public void KQgRr5e_0(K k, V v) {
            KQgRr5e_0.this.put(k, v);
        }

        @Override // X6FRs_4.Mqv2r_3.IFxWkV_5
        public V KQgRr5e_0(int i, V v) {
            return KQgRr5e_0.this.KQgRr5e_0(i, (int) v);
        }

        @Override // X6FRs_4.Mqv2r_3.IFxWkV_5
        public void KQgRr5e_0(int i) {
            KQgRr5e_0.this.QxJ9d_1(i);
        }

        @Override // X6FRs_4.Mqv2r_3.IFxWkV_5
        public void KQgRr5e_0() {
            KQgRr5e_0.this.clear();
        }
    }

    public KQgRr5e_0() {
    }

    @Override // X6FRs_4.Mqv2r_3.IMuAHx_6
    public final IFxWkV_5<K, V> KQgRr5e_0() {
        if (this.KQgRr5e_0 == null) {
            this.KQgRr5e_0 = new C0060KQgRr5e_0();
        }
        return this.KQgRr5e_0;
    }

    @Override // java.util.Map
    public Set<Map.Entry<K, V>> entrySet() {
        return KQgRr5e_0().m498KQgRr5e_0();
    }

    @Override // java.util.Map
    public Set<K> keySet() {
        return KQgRr5e_0().QxJ9d_1();
    }

    @Override // java.util.Map
    public void putAll(Map<? extends K, ? extends V> map) {
        m502QxJ9d_1(((IMuAHx_6) this).KQgRr5e_0 + map.size());
        for (Map.Entry<? extends K, ? extends V> entry : map.entrySet()) {
            put(entry.getKey(), entry.getValue());
        }
    }

    @Override // java.util.Map
    public Collection<V> values() {
        return KQgRr5e_0().m496KQgRr5e_0();
    }

    public KQgRr5e_0(int i) {
        super(i);
    }

    public KQgRr5e_0(IMuAHx_6 iMuAHx_6) {
        super(iMuAHx_6);
    }

    public boolean KQgRr5e_0(Collection<?> collection) {
        return IFxWkV_5.PGPF6hQ_2(this, collection);
    }
}
