40 lines
897 B
Java
40 lines
897 B
Java
package o;
|
|
|
|
import java.util.NoSuchElementException;
|
|
|
|
/* renamed from: o.gdf, reason: case insensitive filesystem */
|
|
/* loaded from: classes6.dex */
|
|
public final class C14974gdf extends gaR {
|
|
private boolean a;
|
|
private final long b;
|
|
private long c;
|
|
private final long e;
|
|
|
|
public C14974gdf(long j, long j2, long j3) {
|
|
this.e = j3;
|
|
this.b = j2;
|
|
boolean z = j3 <= 0 ? j >= j2 : j <= j2;
|
|
this.a = z;
|
|
this.c = z ? j : j2;
|
|
}
|
|
|
|
@Override // o.gaR
|
|
public final long d() {
|
|
long j = this.c;
|
|
if (j != this.b) {
|
|
this.c = this.e + j;
|
|
} else {
|
|
if (!this.a) {
|
|
throw new NoSuchElementException();
|
|
}
|
|
this.a = false;
|
|
}
|
|
return j;
|
|
}
|
|
|
|
@Override // java.util.Iterator
|
|
public final boolean hasNext() {
|
|
return this.a;
|
|
}
|
|
}
|