49 lines
1.3 KiB
Java
49 lines
1.3 KiB
Java
|
package o;
|
||
|
|
||
|
import java.util.Iterator;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class gdO<T, R> implements gdE<R> {
|
||
|
final InterfaceC14894gbR<T, R> b;
|
||
|
final gdE<T> e;
|
||
|
|
||
|
/* JADX WARN: Multi-variable type inference failed */
|
||
|
public gdO(gdE<? extends T> gde, InterfaceC14894gbR<? super T, ? extends R> interfaceC14894gbR) {
|
||
|
C14957gcv.e(gde, "");
|
||
|
C14957gcv.e(interfaceC14894gbR, "");
|
||
|
this.e = gde;
|
||
|
this.b = interfaceC14894gbR;
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public static final class LWm implements Iterator<R>, InterfaceC14932gcO {
|
||
|
private final Iterator<T> c;
|
||
|
private gdO<T, R> e;
|
||
|
|
||
|
LWm(gdO<T, R> gdo) {
|
||
|
this.e = gdo;
|
||
|
this.c = gdo.e.e();
|
||
|
}
|
||
|
|
||
|
@Override // java.util.Iterator
|
||
|
public final boolean hasNext() {
|
||
|
return this.c.hasNext();
|
||
|
}
|
||
|
|
||
|
@Override // java.util.Iterator
|
||
|
public final R next() {
|
||
|
return (R) this.e.b.invoke(this.c.next());
|
||
|
}
|
||
|
|
||
|
@Override // java.util.Iterator
|
||
|
public final void remove() {
|
||
|
throw new UnsupportedOperationException("Operation is not supported for read-only collection");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.gdE
|
||
|
public final Iterator<R> e() {
|
||
|
return new LWm(this);
|
||
|
}
|
||
|
}
|