40 lines
916 B
Java
40 lines
916 B
Java
|
package o;
|
||
|
|
||
|
import java.util.NoSuchElementException;
|
||
|
|
||
|
/* renamed from: o.gdd, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class C14972gdd extends AbstractC14853gaL {
|
||
|
private int a;
|
||
|
private boolean b;
|
||
|
private final int d;
|
||
|
private final int e;
|
||
|
|
||
|
public C14972gdd(int i, int i2, int i3) {
|
||
|
this.d = i3;
|
||
|
this.e = i2;
|
||
|
boolean z = i3 <= 0 ? i >= i2 : i <= i2;
|
||
|
this.b = z;
|
||
|
this.a = z ? i : i2;
|
||
|
}
|
||
|
|
||
|
@Override // o.AbstractC14853gaL
|
||
|
public final int a() {
|
||
|
int i = this.a;
|
||
|
if (i != this.e) {
|
||
|
this.a = this.d + i;
|
||
|
} else {
|
||
|
if (!this.b) {
|
||
|
throw new NoSuchElementException();
|
||
|
}
|
||
|
this.b = false;
|
||
|
}
|
||
|
return i;
|
||
|
}
|
||
|
|
||
|
@Override // java.util.Iterator
|
||
|
public final boolean hasNext() {
|
||
|
return this.b;
|
||
|
}
|
||
|
}
|