what-the-bank/sources/com/google/android/gms/internal/vision/zzjn.java

70 lines
2.1 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.vision;
import com.google.android.gms.internal.vision.zzjn;
import java.io.IOException;
/* loaded from: classes2.dex */
public abstract class zzjn<M extends zzjn<M>> extends zzjt {
protected zzjp zzadg;
/* JADX INFO: Access modifiers changed from: protected */
@Override // com.google.android.gms.internal.vision.zzjt
public int zzt() {
if (this.zzadg == null) {
return 0;
}
int i = 0;
for (int i2 = 0; i2 < this.zzadg.size(); i2++) {
i += this.zzadg.zzbx(i2).zzt();
}
return i;
}
@Override // com.google.android.gms.internal.vision.zzjt
public void zza(zzjl zzjlVar) throws IOException {
if (this.zzadg == null) {
return;
}
for (int i = 0; i < this.zzadg.size(); i++) {
this.zzadg.zzbx(i).zza(zzjlVar);
}
}
/* JADX INFO: Access modifiers changed from: protected */
public final boolean zza(zzjk zzjkVar, int i) throws IOException {
zzjq zzbw;
int position = zzjkVar.getPosition();
if (!zzjkVar.zzal(i)) {
return false;
}
int i2 = i >>> 3;
zzjv zzjvVar = new zzjv(i, zzjkVar.zzv(position, zzjkVar.getPosition() - position));
zzjp zzjpVar = this.zzadg;
if (zzjpVar == null) {
this.zzadg = new zzjp();
zzbw = null;
} else {
zzbw = zzjpVar.zzbw(i2);
}
if (zzbw == null) {
zzbw = new zzjq();
this.zzadg.zza(i2, zzbw);
}
zzbw.zza(zzjvVar);
return true;
}
@Override // com.google.android.gms.internal.vision.zzjt
/* renamed from: zzhr */
public final /* synthetic */ zzjt clone() throws CloneNotSupportedException {
return (zzjn) clone();
}
@Override // com.google.android.gms.internal.vision.zzjt
public /* synthetic */ Object clone() throws CloneNotSupportedException {
zzjn zzjnVar = (zzjn) super.clone();
zzjr.zza(this, zzjnVar);
return zzjnVar;
}
}