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

27 lines
559 B
Java
Raw Permalink Normal View History

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