what-the-bank/sources/com/google/android/gms/internal/gtm/zzrx.java

53 lines
1.5 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.gtm;
import java.util.List;
/* loaded from: classes2.dex */
final class zzrx extends zzru {
private zzrx() {
super();
}
/* JADX INFO: Access modifiers changed from: package-private */
@Override // com.google.android.gms.internal.gtm.zzru
public final <L> List<L> zza(Object obj, long j) {
zzrj zzd = zzd(obj, j);
if (zzd.zzmy()) {
return zzd;
}
int size = zzd.size();
zzrj zzaj = zzd.zzaj(size == 0 ? 10 : size << 1);
zztx.zza(obj, j, zzaj);
return zzaj;
}
/* JADX INFO: Access modifiers changed from: package-private */
@Override // com.google.android.gms.internal.gtm.zzru
public final void zzb(Object obj, long j) {
zzd(obj, j).zzmi();
}
/* JADX INFO: Access modifiers changed from: package-private */
@Override // com.google.android.gms.internal.gtm.zzru
public final <E> void zza(Object obj, Object obj2, long j) {
zzrj zzd = zzd(obj, j);
zzrj zzd2 = zzd(obj2, j);
int size = zzd.size();
int size2 = zzd2.size();
if (size > 0 && size2 > 0) {
if (!zzd.zzmy()) {
zzd = zzd.zzaj(size2 + size);
}
zzd.addAll(zzd2);
}
if (size > 0) {
zzd2 = zzd;
}
zztx.zza(obj, j, zzd2);
}
private static <E> zzrj<E> zzd(Object obj, long j) {
return (zzrj) zztx.zzp(obj, j);
}
}