what-the-bank/sources/o/C15147gib.java

41 lines
1.0 KiB
Java

package o;
import java.util.Iterator;
import java.util.NoSuchElementException;
import net.sourceforge.zbar.Symbol;
/* renamed from: o.gib, reason: case insensitive filesystem */
/* loaded from: classes6.dex */
public final class C15147gib implements Iterator<Symbol> {
private Symbol c;
@Override // java.util.Iterator
public final /* synthetic */ Symbol next() {
Symbol symbol = this.c;
if (symbol == null) {
throw new NoSuchElementException("access past end of SymbolIterator");
}
long next = symbol.next();
if (next != 0) {
this.c = new Symbol(next);
} else {
this.c = null;
}
return symbol;
}
@Override // java.util.Iterator
public final void remove() {
throw new UnsupportedOperationException("SymbolIterator is immutable");
}
@Override // java.util.Iterator
public final boolean hasNext() {
return this.c != null;
}
public C15147gib(Symbol symbol) {
this.c = symbol;
}
}