32 lines
653 B
Java
32 lines
653 B
Java
|
package o;
|
||
|
|
||
|
import java.util.Iterator;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class JtV<T> implements Iterator<T> {
|
||
|
private final Iterator<? extends T> b;
|
||
|
private final int a = 1;
|
||
|
public int c = 0;
|
||
|
|
||
|
public JtV(Iterator<? extends T> it) {
|
||
|
this.b = it;
|
||
|
}
|
||
|
|
||
|
@Override // java.util.Iterator
|
||
|
public final boolean hasNext() {
|
||
|
return this.b.hasNext();
|
||
|
}
|
||
|
|
||
|
@Override // java.util.Iterator
|
||
|
public final T next() {
|
||
|
T next = this.b.next();
|
||
|
this.c += this.a;
|
||
|
return next;
|
||
|
}
|
||
|
|
||
|
@Override // java.util.Iterator
|
||
|
public final void remove() {
|
||
|
this.b.remove();
|
||
|
}
|
||
|
}
|