2020-11-12 02:11:44 +00:00
|
|
|
.class public final Landroidx/collection/SparseArrayKt$keyIterator$1;
|
2020-11-30 22:35:21 +00:00
|
|
|
.super Lx/h/o;
|
2020-11-12 02:11:44 +00:00
|
|
|
.source "SparseArray.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
2020-11-30 22:35:21 +00:00
|
|
|
value = Landroidx/collection/SparseArrayKt;->keyIterator(Landroidx/collection/SparseArrayCompat;)Lx/h/o;
|
2020-11-12 02:11:44 +00:00
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final synthetic $this_keyIterator:Landroidx/collection/SparseArrayCompat;
|
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
.field private index:I
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Landroidx/collection/SparseArrayCompat;)V
|
|
|
|
.locals 0
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Landroidx/collection/SparseArrayCompat<",
|
|
|
|
"TT;>;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
iput-object p1, p0, Landroidx/collection/SparseArrayKt$keyIterator$1;->$this_keyIterator:Landroidx/collection/SparseArrayCompat;
|
|
|
|
|
2020-11-30 22:35:21 +00:00
|
|
|
invoke-direct {p0}, Lx/h/o;-><init>()V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final getIndex()I
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget v0, p0, Landroidx/collection/SparseArrayKt$keyIterator$1;->index:I
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public hasNext()Z
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget v0, p0, Landroidx/collection/SparseArrayKt$keyIterator$1;->index:I
|
|
|
|
|
|
|
|
iget-object v1, p0, Landroidx/collection/SparseArrayKt$keyIterator$1;->$this_keyIterator:Landroidx/collection/SparseArrayCompat;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Landroidx/collection/SparseArrayCompat;->size()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-ge v0, v1, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public nextInt()I
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Landroidx/collection/SparseArrayKt$keyIterator$1;->$this_keyIterator:Landroidx/collection/SparseArrayCompat;
|
|
|
|
|
|
|
|
iget v1, p0, Landroidx/collection/SparseArrayKt$keyIterator$1;->index:I
|
|
|
|
|
|
|
|
add-int/lit8 v2, v1, 0x1
|
|
|
|
|
|
|
|
iput v2, p0, Landroidx/collection/SparseArrayKt$keyIterator$1;->index:I
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Landroidx/collection/SparseArrayCompat;->keyAt(I)I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final setIndex(I)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput p1, p0, Landroidx/collection/SparseArrayKt$keyIterator$1;->index:I
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|