You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.1 KiB
50 lines
1.1 KiB
package p048p1;
|
|
|
|
import java.util.NoSuchElementException;
|
|
import p009c1.AbstractC0515t;
|
|
|
|
/* renamed from: p1.b */
|
|
/* loaded from: classes.dex */
|
|
public final class C1539b extends AbstractC0515t {
|
|
|
|
/* renamed from: d */
|
|
public final int f3426d;
|
|
|
|
/* renamed from: e */
|
|
public final int f3427e;
|
|
|
|
/* renamed from: f */
|
|
public boolean f3428f;
|
|
|
|
/* renamed from: g */
|
|
public int f3429g;
|
|
|
|
public C1539b(int i, int i2, int i3) {
|
|
this.f3426d = i3;
|
|
this.f3427e = i2;
|
|
boolean z = true;
|
|
if (i3 <= 0 ? i < i2 : i > i2) {
|
|
z = false;
|
|
}
|
|
this.f3428f = z;
|
|
this.f3429g = z ? i : i2;
|
|
}
|
|
|
|
@Override // java.util.Iterator
|
|
public boolean hasNext() {
|
|
return this.f3428f;
|
|
}
|
|
|
|
@Override // p009c1.AbstractC0515t
|
|
public int nextInt() {
|
|
int i = this.f3429g;
|
|
if (i != this.f3427e) {
|
|
this.f3429g = this.f3426d + i;
|
|
} else if (!this.f3428f) {
|
|
throw new NoSuchElementException();
|
|
} else {
|
|
this.f3428f = false;
|
|
}
|
|
return i;
|
|
}
|
|
} |