what-the-bank/sources/com/google/android/gms/internal/clearcut/zzbc.java

45 lines
1.2 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.clearcut;
import java.util.Iterator;
import java.util.NoSuchElementException;
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes2.dex */
public final class zzbc implements Iterator {
private final int limit;
private int position = 0;
private final zzbb zzfl;
@Override // java.util.Iterator
public final void remove() {
throw new UnsupportedOperationException();
}
@Override // java.util.Iterator
public final /* synthetic */ Object next() {
return Byte.valueOf(nextByte());
}
@Override // java.util.Iterator
public final boolean hasNext() {
return this.position < this.limit;
}
private final byte nextByte() {
try {
zzbb zzbbVar = this.zzfl;
int i = this.position;
this.position = i + 1;
return zzbbVar.zzj(i);
} catch (IndexOutOfBoundsException e) {
throw new NoSuchElementException(e.getMessage());
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public zzbc(zzbb zzbbVar) {
this.zzfl = zzbbVar;
this.limit = zzbbVar.size();
}
}