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

40 lines
897 B
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
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;
}
}