27 lines
543 B
Java
27 lines
543 B
Java
|
package o;
|
||
|
|
||
|
import java.util.Iterator;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class KeH<T> extends GGK<T> {
|
||
|
private final Iterator<? extends T> a;
|
||
|
private long b = 0;
|
||
|
private final long e;
|
||
|
|
||
|
public KeH(Iterator<? extends T> it, long j) {
|
||
|
this.a = it;
|
||
|
this.e = j;
|
||
|
}
|
||
|
|
||
|
@Override // java.util.Iterator
|
||
|
public final boolean hasNext() {
|
||
|
return this.b < this.e && this.a.hasNext();
|
||
|
}
|
||
|
|
||
|
@Override // o.GGK
|
||
|
public final T a() {
|
||
|
this.b++;
|
||
|
return this.a.next();
|
||
|
}
|
||
|
}
|