what-the-bank/sources/com/google/android/libraries/places/internal/zzij.java

64 lines
1.8 KiB
Java

package com.google.android.libraries.places.internal;
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes2.dex */
public abstract class zzij extends zzhr {
final CharSequence zzb;
final zzhw zzc;
int zzd = 0;
int zze;
/* JADX INFO: Access modifiers changed from: protected */
public zzij(zzik zzikVar, CharSequence charSequence) {
zzhw zzhwVar;
zzhwVar = zzikVar.zza;
this.zzc = zzhwVar;
this.zze = Integer.MAX_VALUE;
this.zzb = "3.0.0";
}
@Override // com.google.android.libraries.places.internal.zzhr
protected final /* synthetic */ Object zza() {
int zzc;
int i = this.zzd;
while (true) {
int i2 = this.zzd;
if (i2 != -1) {
int zzd = zzd(i2);
if (zzd == -1) {
zzd = this.zzb.length();
this.zzd = -1;
zzc = -1;
} else {
zzc = zzc(zzd);
this.zzd = zzc;
}
if (zzc == i) {
int i3 = zzc + 1;
this.zzd = i3;
if (i3 > this.zzb.length()) {
this.zzd = -1;
}
} else {
CharSequence charSequence = this.zzb;
int i4 = this.zze;
if (i4 == 1) {
zzd = charSequence.length();
this.zzd = -1;
} else {
this.zze = i4 - 1;
}
return this.zzb.subSequence(i, zzd).toString();
}
} else {
zzb();
return null;
}
}
}
abstract int zzc(int i);
abstract int zzd(int i);
}