package com.google.android.gms.internal.firebase_ml; import com.airbnb.deeplinkdispatch.UrlTreeKt; import java.io.Serializable; import java.util.Collection; import java.util.Map; import java.util.Set; /* loaded from: classes2.dex */ public abstract class zzlj implements Serializable, Map { private static final Map.Entry[] zzacz = new Map.Entry[0]; private transient zzll> zzada; private transient zzll zzadb; private transient zzlf zzadc; @Override // java.util.Map public abstract V get(Object obj); abstract zzll> zziq(); abstract zzll zzir(); abstract zzlf zzis(); @Override // java.util.Map @Deprecated public final V put(K k, V v) { throw new UnsupportedOperationException(); } @Override // java.util.Map @Deprecated public final V remove(Object obj) { throw new UnsupportedOperationException(); } @Override // java.util.Map @Deprecated public final void putAll(Map map) { throw new UnsupportedOperationException(); } @Override // java.util.Map @Deprecated public final void clear() { throw new UnsupportedOperationException(); } @Override // java.util.Map public boolean isEmpty() { return size() == 0; } @Override // java.util.Map public boolean containsKey(Object obj) { return get(obj) != null; } @Override // java.util.Map public boolean containsValue(Object obj) { return ((zzlf) values()).contains(obj); } @Override // java.util.Map public final V getOrDefault(Object obj, V v) { V v2 = get(obj); return v2 != null ? v2 : v; } @Override // java.util.Map public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof Map) { return entrySet().equals(((Map) obj).entrySet()); } return false; } @Override // java.util.Map public int hashCode() { return zzls.zzb((zzll) entrySet()); } public String toString() { int size = size(); if (size < 0) { StringBuilder sb = new StringBuilder(44); sb.append("size cannot be negative but was: "); sb.append(size); throw new IllegalArgumentException(sb.toString()); } StringBuilder sb2 = new StringBuilder((int) Math.min(size << 3, 1073741824L)); sb2.append(UrlTreeKt.componentParamPrefixChar); boolean z = true; for (Map.Entry entry : entrySet()) { if (!z) { sb2.append(", "); } sb2.append(entry.getKey()); sb2.append('='); sb2.append(entry.getValue()); z = false; } sb2.append(UrlTreeKt.componentParamSuffixChar); return sb2.toString(); } @Override // java.util.Map public /* synthetic */ Set entrySet() { zzll> zzllVar = this.zzada; if (zzllVar != null) { return zzllVar; } zzll> zziq = zziq(); this.zzada = zziq; return zziq; } @Override // java.util.Map public /* synthetic */ Collection values() { zzlf zzlfVar = this.zzadc; if (zzlfVar != null) { return zzlfVar; } zzlf zzis = zzis(); this.zzadc = zzis; return zzis; } @Override // java.util.Map public /* synthetic */ Set keySet() { zzll zzllVar = this.zzadb; if (zzllVar != null) { return zzllVar; } zzll zzir = zzir(); this.zzadb = zzir; return zzir; } }