27 lines
559 B
Java
27 lines
559 B
Java
|
package o;
|
||
|
|
||
|
import java.util.Iterator;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class LMX<T> extends GGK<T> {
|
||
|
private final qsu<? super T> a;
|
||
|
private final Iterator<? extends T> d;
|
||
|
|
||
|
public LMX(Iterator<? extends T> it, qsu<? super T> qsuVar) {
|
||
|
this.d = it;
|
||
|
this.a = qsuVar;
|
||
|
}
|
||
|
|
||
|
@Override // java.util.Iterator
|
||
|
public final boolean hasNext() {
|
||
|
return this.d.hasNext();
|
||
|
}
|
||
|
|
||
|
@Override // o.GGK
|
||
|
public final T a() {
|
||
|
T next = this.d.next();
|
||
|
this.a.d(next);
|
||
|
return next;
|
||
|
}
|
||
|
}
|