104 lines
2.8 KiB
Java
104 lines
2.8 KiB
Java
|
package o;
|
||
|
|
||
|
import java.util.Iterator;
|
||
|
import java.util.NoSuchElementException;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class GEP<T> implements Iterator<T> {
|
||
|
private boolean a;
|
||
|
private boolean b;
|
||
|
private T c;
|
||
|
private final Iterator<? extends T> d;
|
||
|
private final Jel<? super T> e;
|
||
|
|
||
|
public GEP(Iterator<? extends T> it, Jel<? super T> jel) {
|
||
|
this.d = it;
|
||
|
this.e = jel;
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:12:0x0020, code lost:
|
||
|
|
||
|
r3.a = false;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:14:0x0027, code lost:
|
||
|
|
||
|
return r3.a;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:2:0x0002, code lost:
|
||
|
|
||
|
if (r3.b == false) goto L4;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:4:0x000b, code lost:
|
||
|
|
||
|
if (r3.d.hasNext() == false) goto L14;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:5:0x000d, code lost:
|
||
|
|
||
|
r0 = r3.d.next();
|
||
|
r3.c = r0;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:6:0x001b, code lost:
|
||
|
|
||
|
if (r3.e.e(r0) == false) goto L15;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:8:0x001d, code lost:
|
||
|
|
||
|
r3.a = true;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:9:0x0023, code lost:
|
||
|
|
||
|
r3.b = true;
|
||
|
*/
|
||
|
@Override // java.util.Iterator
|
||
|
/*
|
||
|
Code decompiled incorrectly, please refer to instructions dump.
|
||
|
To view partially-correct add '--show-bad-code' argument
|
||
|
*/
|
||
|
public final boolean hasNext() {
|
||
|
/*
|
||
|
r3 = this;
|
||
|
boolean r0 = r3.b
|
||
|
if (r0 != 0) goto L25
|
||
|
L4:
|
||
|
java.util.Iterator<? extends T> r0 = r3.d
|
||
|
boolean r0 = r0.hasNext()
|
||
|
r1 = 1
|
||
|
if (r0 == 0) goto L20
|
||
|
java.util.Iterator<? extends T> r0 = r3.d
|
||
|
java.lang.Object r0 = r0.next()
|
||
|
r3.c = r0
|
||
|
o.Jel<? super T> r2 = r3.e
|
||
|
boolean r0 = r2.e(r0)
|
||
|
if (r0 == 0) goto L4
|
||
|
r3.a = r1
|
||
|
goto L23
|
||
|
L20:
|
||
|
r0 = 0
|
||
|
r3.a = r0
|
||
|
L23:
|
||
|
r3.b = r1
|
||
|
L25:
|
||
|
boolean r0 = r3.a
|
||
|
return r0
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: o.GEP.hasNext():boolean");
|
||
|
}
|
||
|
|
||
|
@Override // java.util.Iterator
|
||
|
public final T next() {
|
||
|
if (!this.b) {
|
||
|
this.a = hasNext();
|
||
|
}
|
||
|
if (!this.a) {
|
||
|
throw new NoSuchElementException();
|
||
|
}
|
||
|
this.b = false;
|
||
|
return this.c;
|
||
|
}
|
||
|
|
||
|
@Override // java.util.Iterator
|
||
|
public final void remove() {
|
||
|
throw new UnsupportedOperationException("remove not supported");
|
||
|
}
|
||
|
}
|