what-the-bank/sources/com/google/android/libraries/places/internal/zzjb.java

142 lines
3.7 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.libraries.places.internal;
import com.airbnb.deeplinkdispatch.UrlTreeKt;
import java.io.Serializable;
import java.util.Map;
import java.util.Set;
/* loaded from: classes2.dex */
public abstract class zzjb implements Map, Serializable {
private transient zzjc zza;
private transient zzjc zzb;
private transient zziv zzc;
@Override // java.util.Map
@Deprecated
public final void clear() {
throw new UnsupportedOperationException();
}
@Override // java.util.Map
public final boolean containsKey(Object obj) {
return get(obj) != null;
}
@Override // java.util.Map
public final boolean containsValue(Object obj) {
return values().contains(obj);
}
@Override // java.util.Map
public final 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 abstract Object get(Object obj);
@Override // java.util.Map
public final Object getOrDefault(Object obj, Object obj2) {
Object obj3 = get(obj);
return obj3 != null ? obj3 : obj2;
}
@Override // java.util.Map
public final int hashCode() {
return zzjs.zza(entrySet());
}
@Override // java.util.Map
public final /* synthetic */ Set keySet() {
zzjc zzjcVar = this.zzb;
if (zzjcVar != null) {
return zzjcVar;
}
zzjc zzd = zzd();
this.zzb = zzd;
return zzd;
}
@Override // java.util.Map
@Deprecated
public final Object put(Object obj, Object obj2) {
throw new UnsupportedOperationException();
}
@Override // java.util.Map
@Deprecated
public final void putAll(Map map) {
throw new UnsupportedOperationException();
}
@Override // java.util.Map
@Deprecated
public final Object remove(Object obj) {
throw new UnsupportedOperationException();
}
public final String toString() {
int size = size();
if (size >= 0) {
StringBuilder sb = new StringBuilder((int) Math.min(size << 3, 1073741824L));
sb.append(UrlTreeKt.componentParamPrefixChar);
boolean z = true;
for (Map.Entry entry : entrySet()) {
if (!z) {
sb.append(", ");
}
sb.append(entry.getKey());
sb.append('=');
sb.append(entry.getValue());
z = false;
}
sb.append(UrlTreeKt.componentParamSuffixChar);
return sb.toString();
}
StringBuilder sb2 = new StringBuilder("size cannot be negative but was: ");
sb2.append(size);
throw new IllegalArgumentException(sb2.toString());
}
abstract zziv zza();
@Override // java.util.Map
/* renamed from: zzb, reason: merged with bridge method [inline-methods] */
public final zziv values() {
zziv zzivVar = this.zzc;
if (zzivVar != null) {
return zzivVar;
}
zziv zza = zza();
this.zzc = zza;
return zza;
}
abstract zzjc zzc();
abstract zzjc zzd();
@Override // java.util.Map
/* renamed from: zze, reason: merged with bridge method [inline-methods] */
public final zzjc entrySet() {
zzjc zzjcVar = this.zza;
if (zzjcVar != null) {
return zzjcVar;
}
zzjc zzc = zzc();
this.zza = zzc;
return zzc;
}
@Override // java.util.Map
public final boolean isEmpty() {
return size() == 0;
}
}