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

50 lines
1.3 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.Iterator;
/* loaded from: classes6.dex */
public final class gdC<T> implements gdE<C14852gaK<? extends T>> {
final gdE<T> d;
/* JADX WARN: Multi-variable type inference failed */
public gdC(gdE<? extends T> gde) {
C14957gcv.e(gde, "");
this.d = gde;
}
/* loaded from: classes6.dex */
public static final class Sts implements Iterator<C14852gaK<? extends T>>, InterfaceC14932gcO {
private int a;
private final Iterator<T> e;
Sts(gdC<T> gdc) {
this.e = gdc.d.e();
}
@Override // java.util.Iterator
public final boolean hasNext() {
return this.e.hasNext();
}
@Override // java.util.Iterator
public final /* synthetic */ Object next() {
int i = this.a;
this.a = i + 1;
if (i >= 0) {
return new C14852gaK(i, this.e.next());
}
throw new ArithmeticException("Index overflow has happened.");
}
@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<C14852gaK<T>> e() {
return new Sts(this);
}
}