what-the-bank/sources/com/google/android/gms/internal/firebase_ml/zzsx.java

33 lines
913 B
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
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;
}
}