33 lines
913 B
Java
33 lines
913 B
Java
package com.google.android.gms.internal.firebase_ml;
|
|
|
|
import java.util.NoSuchElementException;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* loaded from: classes2.dex */
|
|
public final class zzsx extends zzsz {
|
|
private final int limit;
|
|
private int position = 0;
|
|
private final zzsw zzbko;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public zzsx(zzsw zzswVar) {
|
|
this.zzbko = zzswVar;
|
|
this.limit = zzswVar.size();
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.firebase_ml.zztd
|
|
public final byte nextByte() {
|
|
int i = this.position;
|
|
if (i >= this.limit) {
|
|
throw new NoSuchElementException();
|
|
}
|
|
this.position = i + 1;
|
|
return this.zzbko.zzcm(i);
|
|
}
|
|
|
|
@Override // java.util.Iterator
|
|
public final boolean hasNext() {
|
|
return this.position < this.limit;
|
|
}
|
|
}
|