128 lines
3 KiB
Smali
128 lines
3 KiB
Smali
.class public final Landroidx/core/util/LongSparseArrayKt$valueIterator$1;
|
|
.super Ljava/lang/Object;
|
|
.source "LongSparseArray.kt"
|
|
|
|
# interfaces
|
|
.implements Ljava/util/Iterator;
|
|
.implements Lkotlin/jvm/internal/a/a;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Landroidx/core/util/LongSparseArrayKt;->valueIterator(Landroid/util/LongSparseArray;)Ljava/util/Iterator;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Object;",
|
|
"Ljava/util/Iterator<",
|
|
"TT;>;",
|
|
"Lkotlin/jvm/internal/a/a;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private index:I
|
|
|
|
.field final synthetic receiver$0:Landroid/util/LongSparseArray;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Landroid/util/LongSparseArray;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/util/LongSparseArray<",
|
|
"TT;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
iput-object p1, p0, Landroidx/core/util/LongSparseArrayKt$valueIterator$1;->receiver$0:Landroid/util/LongSparseArray;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final getIndex()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Landroidx/core/util/LongSparseArrayKt$valueIterator$1;->index:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final hasNext()Z
|
|
.locals 2
|
|
|
|
iget v0, p0, Landroidx/core/util/LongSparseArrayKt$valueIterator$1;->index:I
|
|
|
|
iget-object v1, p0, Landroidx/core/util/LongSparseArrayKt$valueIterator$1;->receiver$0:Landroid/util/LongSparseArray;
|
|
|
|
invoke-virtual {v1}, Landroid/util/LongSparseArray;->size()I
|
|
|
|
move-result v1
|
|
|
|
if-ge v0, v1, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final next()Ljava/lang/Object;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()TT;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/core/util/LongSparseArrayKt$valueIterator$1;->receiver$0:Landroid/util/LongSparseArray;
|
|
|
|
iget v1, p0, Landroidx/core/util/LongSparseArrayKt$valueIterator$1;->index:I
|
|
|
|
add-int/lit8 v2, v1, 0x1
|
|
|
|
iput v2, p0, Landroidx/core/util/LongSparseArrayKt$valueIterator$1;->index:I
|
|
|
|
invoke-virtual {v0, v1}, Landroid/util/LongSparseArray;->valueAt(I)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final remove()V
|
|
.locals 2
|
|
|
|
new-instance v0, Ljava/lang/UnsupportedOperationException;
|
|
|
|
const-string v1, "Operation is not supported for read-only collection"
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final setIndex(I)V
|
|
.locals 0
|
|
|
|
iput p1, p0, Landroidx/core/util/LongSparseArrayKt$valueIterator$1;->index:I
|
|
|
|
return-void
|
|
.end method
|