what-the-bank/sources/com/google/android/gms/internal/measurement/zzad.java

37 lines
1.0 KiB
Java

package com.google.android.gms.internal.measurement;
import java.util.Iterator;
import java.util.NoSuchElementException;
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes.dex */
public final class zzad implements Iterator<zzap> {
final zzae zza;
private int zzb = 0;
@Override // java.util.Iterator
public final boolean hasNext() {
return this.zzb < this.zza.zzc();
}
@Override // java.util.Iterator
public final /* synthetic */ zzap next() {
if (this.zzb >= this.zza.zzc()) {
int i = this.zzb;
StringBuilder sb = new StringBuilder(32);
sb.append("Out of bounds index: ");
sb.append(i);
throw new NoSuchElementException(sb.toString());
}
zzae zzaeVar = this.zza;
int i2 = this.zzb;
this.zzb = i2 + 1;
return zzaeVar.zze(i2);
}
/* JADX INFO: Access modifiers changed from: package-private */
public zzad(zzae zzaeVar) {
this.zza = zzaeVar;
}
}