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

65 lines
1.9 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.Map;
/* loaded from: classes2.dex */
final class zzvk implements zzvj {
@Override // com.google.android.gms.internal.firebase_ml.zzvj
public final Map<?, ?> zzu(Object obj) {
return (zzvi) obj;
}
@Override // com.google.android.gms.internal.firebase_ml.zzvj
public final zzvh<?, ?> zzz(Object obj) {
return ((zzvg) obj).zzsa();
}
@Override // com.google.android.gms.internal.firebase_ml.zzvj
public final Map<?, ?> zzv(Object obj) {
return (zzvi) obj;
}
@Override // com.google.android.gms.internal.firebase_ml.zzvj
public final boolean zzw(Object obj) {
return !((zzvi) obj).isMutable();
}
@Override // com.google.android.gms.internal.firebase_ml.zzvj
public final Object zzx(Object obj) {
((zzvi) obj).zzpt();
return obj;
}
@Override // com.google.android.gms.internal.firebase_ml.zzvj
public final Object zzy(Object obj) {
return zzvi.zzsb().zzsc();
}
@Override // com.google.android.gms.internal.firebase_ml.zzvj
public final Object zzf(Object obj, Object obj2) {
zzvi zzviVar = (zzvi) obj;
zzvi zzviVar2 = (zzvi) obj2;
if (!zzviVar2.isEmpty()) {
if (!zzviVar.isMutable()) {
zzviVar = zzviVar.zzsc();
}
zzviVar.zza(zzviVar2);
}
return zzviVar;
}
@Override // com.google.android.gms.internal.firebase_ml.zzvj
public final int zzd(int i, Object obj, Object obj2) {
zzvi zzviVar = (zzvi) obj;
zzvg zzvgVar = (zzvg) obj2;
int i2 = 0;
if (zzviVar.isEmpty()) {
return 0;
}
for (Map.Entry entry : zzviVar.entrySet()) {
i2 += zzvgVar.zzc(i, entry.getKey(), entry.getValue());
}
return i2;
}
}