what-the-bank/sources/com/google/android/gms/internal/p002firebaseauthapi/zzh.java

59 lines
1.3 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.p002firebaseauthapi;
import java.util.Iterator;
import java.util.NoSuchElementException;
/* loaded from: classes2.dex */
abstract class zzh implements Iterator {
private Object zza;
private int zzb = 2;
@Override // java.util.Iterator
public final Object next() {
if (!hasNext()) {
throw new NoSuchElementException();
}
this.zzb = 2;
Object obj = this.zza;
this.zza = null;
return obj;
}
@Override // java.util.Iterator
public final void remove() {
throw new UnsupportedOperationException();
}
protected abstract Object zza();
@Override // java.util.Iterator
public final boolean hasNext() {
int i = this.zzb;
if (i == 4) {
throw new IllegalStateException();
}
int i2 = i - 1;
if (i == 0) {
throw null;
}
if (i2 == 0) {
return true;
}
if (i2 != 2) {
this.zzb = 4;
this.zza = zza();
if (this.zzb != 3) {
this.zzb = 1;
return true;
}
}
return false;
}
/* JADX INFO: Access modifiers changed from: protected */
public final Object zzb() {
this.zzb = 3;
return null;
}
}