package androidx.collection; import java.util.Collection; import java.util.Map; import java.util.Set; /* loaded from: classes.dex */ public class a extends g implements Map { /* renamed from: h, reason: collision with root package name */ f f1266h; /* renamed from: androidx.collection.a$a, reason: collision with other inner class name */ class C0013a extends f { C0013a() { } @Override // androidx.collection.f protected void a() { a.this.clear(); } @Override // androidx.collection.f protected Object b(int i10, int i11) { return a.this.f1307b[(i10 << 1) + i11]; } @Override // androidx.collection.f protected Map c() { return a.this; } @Override // androidx.collection.f protected int d() { return a.this.f1308c; } @Override // androidx.collection.f protected int e(Object obj) { return a.this.f(obj); } @Override // androidx.collection.f protected int f(Object obj) { return a.this.h(obj); } @Override // androidx.collection.f protected void g(Object obj, Object obj2) { a.this.put(obj, obj2); } @Override // androidx.collection.f protected void h(int i10) { a.this.k(i10); } @Override // androidx.collection.f protected Object i(int i10, Object obj) { return a.this.l(i10, obj); } } public a() { } private f n() { if (this.f1266h == null) { this.f1266h = new C0013a(); } return this.f1266h; } @Override // java.util.Map public Set entrySet() { return n().l(); } @Override // java.util.Map public Set keySet() { return n().m(); } public boolean o(Collection collection) { return f.p(this, collection); } @Override // java.util.Map public void putAll(Map map) { c(this.f1308c + map.size()); for (Map.Entry entry : map.entrySet()) { put(entry.getKey(), entry.getValue()); } } @Override // java.util.Map public Collection values() { return n().n(); } public a(int i10) { super(i10); } public a(g gVar) { super(gVar); } }