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

41 lines
1.3 KiB
Java

package com.google.android.gms.internal.firebase_ml;
import java.io.IOException;
/* loaded from: classes2.dex */
public final class zzvg<K, V> {
private final V value;
private final zzvh<K, V> zzbqm;
private final K zzbqn;
private zzvg(zzxl zzxlVar, K k, zzxl zzxlVar2, V v) {
this.zzbqm = new zzvh<>(zzxlVar, k, zzxlVar2, v);
this.zzbqn = k;
this.value = v;
}
public static <K, V> zzvg<K, V> zza(zzxl zzxlVar, K k, zzxl zzxlVar2, V v) {
return new zzvg<>(zzxlVar, k, zzxlVar2, v);
}
/* JADX INFO: Access modifiers changed from: package-private */
public static <K, V> void zza(zztl zztlVar, zzvh<K, V> zzvhVar, K k, V v) throws IOException {
zztw.zza(zztlVar, zzvhVar.zzbqo, 1, k);
zztw.zza(zztlVar, zzvhVar.zzbqq, 2, v);
}
/* JADX INFO: Access modifiers changed from: package-private */
public static <K, V> int zza(zzvh<K, V> zzvhVar, K k, V v) {
return zztw.zza(zzvhVar.zzbqo, 1, k) + zztw.zza(zzvhVar.zzbqq, 2, v);
}
public final int zzc(int i, K k, V v) {
return zztl.zzcu(i) + zztl.zzdb(zza(this.zzbqm, k, v));
}
/* JADX INFO: Access modifiers changed from: package-private */
public final zzvh<K, V> zzsa() {
return this.zzbqm;
}
}