package p037m;

import java.util.Collection;
import java.util.Map;
import java.util.Set;

/* renamed from: m.a */
/* loaded from: classes.dex */
public class C1444a<K, V> extends C1457g<K, V> implements Map<K, V> {

    /* renamed from: k */
    public AbstractC1451f<K, V> f3149k;

    /* renamed from: m.a$a */
    /* loaded from: classes.dex */
    public class C1445a extends AbstractC1451f<K, V> {
        public C1445a() {
        }

        @Override // p037m.AbstractC1451f
        /* renamed from: a */
        public void mo1350a() {
            C1444a.this.clear();
        }

        @Override // p037m.AbstractC1451f
        /* renamed from: b */
        public Object mo1349b(int i, int i2) {
            return C1444a.this.f3198e[(i << 1) + i2];
        }

        @Override // p037m.AbstractC1451f
        /* renamed from: c */
        public Map<K, V> mo1348c() {
            return C1444a.this;
        }

        @Override // p037m.AbstractC1451f
        /* renamed from: d */
        public int mo1347d() {
            return C1444a.this.f3199f;
        }

        @Override // p037m.AbstractC1451f
        /* renamed from: e */
        public int mo1346e(Object obj) {
            return C1444a.this.m1325f(obj);
        }

        @Override // p037m.AbstractC1451f
        /* renamed from: f */
        public int mo1345f(Object obj) {
            return C1444a.this.m1323h(obj);
        }

        @Override // p037m.AbstractC1451f
        /* renamed from: g */
        public void mo1344g(K k, V v) {
            C1444a.this.put(k, v);
        }

        @Override // p037m.AbstractC1451f
        /* renamed from: h */
        public void mo1343h(int i) {
            C1444a.this.m1321j(i);
        }

        @Override // p037m.AbstractC1451f
        /* renamed from: i */
        public V mo1342i(int i, V v) {
            return C1444a.this.m1320k(i, v);
        }
    }

    public C1444a() {
    }

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

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

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

    /* renamed from: m */
    public final AbstractC1451f<K, V> m1384m() {
        if (this.f3149k == null) {
            this.f3149k = new C1445a();
        }
        return this.f3149k;
    }

    /* renamed from: n */
    public boolean m1383n(Collection<?> collection) {
        return AbstractC1451f.m1335p(this, collection);
    }

    @Override // java.util.Map
    public void putAll(Map<? extends K, ? extends V> map) {
        m1328c(this.f3199f + 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 m1384m().m1337n();
    }
}