92 lines
2.2 KiB
Smali
92 lines
2.2 KiB
Smali
.class public final Landroidx/core/util/SparseBooleanArrayKt$valueIterator$1;
|
|
.super Ly/q/f;
|
|
.source "SparseBooleanArray.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Landroidx/core/util/SparseBooleanArrayKt;->valueIterator(Landroid/util/SparseBooleanArray;)Ly/q/f;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $this_valueIterator:Landroid/util/SparseBooleanArray;
|
|
|
|
.field public index:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/util/SparseBooleanArray;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Landroidx/core/util/SparseBooleanArrayKt$valueIterator$1;->$this_valueIterator:Landroid/util/SparseBooleanArray;
|
|
|
|
invoke-direct {p0}, Ly/q/f;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final getIndex()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Landroidx/core/util/SparseBooleanArrayKt$valueIterator$1;->index:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public hasNext()Z
|
|
.locals 2
|
|
|
|
iget v0, p0, Landroidx/core/util/SparseBooleanArrayKt$valueIterator$1;->index:I
|
|
|
|
iget-object v1, p0, Landroidx/core/util/SparseBooleanArrayKt$valueIterator$1;->$this_valueIterator:Landroid/util/SparseBooleanArray;
|
|
|
|
invoke-virtual {v1}, Landroid/util/SparseBooleanArray;->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 nextBoolean()Z
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Landroidx/core/util/SparseBooleanArrayKt$valueIterator$1;->$this_valueIterator:Landroid/util/SparseBooleanArray;
|
|
|
|
iget v1, p0, Landroidx/core/util/SparseBooleanArrayKt$valueIterator$1;->index:I
|
|
|
|
add-int/lit8 v2, v1, 0x1
|
|
|
|
iput v2, p0, Landroidx/core/util/SparseBooleanArrayKt$valueIterator$1;->index:I
|
|
|
|
invoke-virtual {v0, v1}, Landroid/util/SparseBooleanArray;->valueAt(I)Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final setIndex(I)V
|
|
.locals 0
|
|
|
|
iput p1, p0, Landroidx/core/util/SparseBooleanArrayKt$valueIterator$1;->index:I
|
|
|
|
return-void
|
|
.end method
|