109 lines
1.5 KiB
Smali
109 lines
1.5 KiB
Smali
.class public final Lw/x/b;
|
|
.super Lw/q/r;
|
|
.source "ProgressionIterators.kt"
|
|
|
|
|
|
# instance fields
|
|
.field public final d:I
|
|
|
|
.field public e:Z
|
|
|
|
.field public f:I
|
|
|
|
.field public final g:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(III)V
|
|
.locals 2
|
|
|
|
invoke-direct {p0}, Lw/q/r;-><init>()V
|
|
|
|
iput p3, p0, Lw/x/b;->g:I
|
|
|
|
iput p2, p0, Lw/x/b;->d:I
|
|
|
|
iget p3, p0, Lw/x/b;->g:I
|
|
|
|
const/4 v0, 0x1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-lez p3, :cond_0
|
|
|
|
if-gt p1, p2, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
if-lt p1, p2, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
iput-boolean v0, p0, Lw/x/b;->e:Z
|
|
|
|
iget-boolean p2, p0, Lw/x/b;->e:Z
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
iget p1, p0, Lw/x/b;->d:I
|
|
|
|
:goto_1
|
|
iput p1, p0, Lw/x/b;->f:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public hasNext()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lw/x/b;->e:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public nextInt()I
|
|
.locals 2
|
|
|
|
iget v0, p0, Lw/x/b;->f:I
|
|
|
|
iget v1, p0, Lw/x/b;->d:I
|
|
|
|
if-ne v0, v1, :cond_1
|
|
|
|
iget-boolean v1, p0, Lw/x/b;->e:Z
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
iput-boolean v1, p0, Lw/x/b;->e:Z
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
new-instance v0, Ljava/util/NoSuchElementException;
|
|
|
|
invoke-direct {v0}, Ljava/util/NoSuchElementException;-><init>()V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
iget v1, p0, Lw/x/b;->g:I
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
iput v1, p0, Lw/x/b;->f:I
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|