what-the-bank/sources/com/google/android/gms/internal/firebase_ml/zzhg.java

49 lines
1.6 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.firebase_ml;
import java.util.AbstractMap;
import java.util.Set;
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes2.dex */
public final class zzhg extends AbstractMap<String, Object> {
final Object object;
final zzhd zztx;
/* JADX INFO: Access modifiers changed from: package-private */
public zzhg(Object obj, boolean z) {
this.object = obj;
this.zztx = zzhd.zza(obj.getClass(), z);
zzks.checkArgument(!r1.isEnum());
}
@Override // java.util.AbstractMap, java.util.Map
public final boolean containsKey(Object obj) {
return get(obj) != null;
}
@Override // java.util.AbstractMap, java.util.Map
public final Object get(Object obj) {
zzhl zzao;
if ((obj instanceof String) && (zzao = this.zztx.zzao((String) obj)) != null) {
return zzao.zzh(this.object);
}
return null;
}
@Override // java.util.AbstractMap, java.util.Map
public final /* synthetic */ Set entrySet() {
return new zzhj(this);
}
@Override // java.util.AbstractMap, java.util.Map
public final /* synthetic */ Object put(Object obj, Object obj2) {
String str = (String) obj;
zzhl zzao = this.zztx.zzao(str);
String valueOf = String.valueOf(str);
zzks.checkNotNull(zzao, valueOf.length() != 0 ? "no field of key ".concat(valueOf) : new String("no field of key "));
Object zzh = zzao.zzh(this.object);
zzao.zzb(this.object, zzks.checkNotNull(obj2));
return zzh;
}
}