35 lines
1.0 KiB
Java
35 lines
1.0 KiB
Java
|
package com.google.android.gms.internal.firebase_ml;
|
||
|
|
||
|
import java.lang.reflect.Field;
|
||
|
import java.util.Map;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public final class zzgy {
|
||
|
private final Map<String, zzgz> zzye = new zzgx();
|
||
|
private final Map<Field, zzgz> zzyf = new zzgx();
|
||
|
private final Object zzyg;
|
||
|
|
||
|
public zzgy(Object obj) {
|
||
|
this.zzyg = obj;
|
||
|
}
|
||
|
|
||
|
public final void zzha() {
|
||
|
for (Map.Entry<String, zzgz> entry : this.zzye.entrySet()) {
|
||
|
((Map) this.zzyg).put(entry.getKey(), entry.getValue().zzhb());
|
||
|
}
|
||
|
for (Map.Entry<Field, zzgz> entry2 : this.zzyf.entrySet()) {
|
||
|
zzhl.zza(entry2.getKey(), this.zzyg, entry2.getValue().zzhb());
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public final void zza(Field field, Class<?> cls, Object obj) {
|
||
|
zzgz zzgzVar = this.zzyf.get(field);
|
||
|
if (zzgzVar == null) {
|
||
|
zzgzVar = new zzgz(cls);
|
||
|
this.zzyf.put(field, zzgzVar);
|
||
|
}
|
||
|
zzks.checkArgument(cls == zzgzVar.zzyh);
|
||
|
zzgzVar.zzyi.add(obj);
|
||
|
}
|
||
|
}
|