Rabbit-R1/switch port/smali/smali_classes3/kotlin/UIntArray$Iterator.smali
2024-05-21 17:08:36 -04:00

170 lines
3.9 KiB
Smali

.class final Lkotlin/UIntArray$Iterator;
.super Ljava/lang/Object;
.source "UIntArray.kt"
# interfaces
.implements Ljava/util/Iterator;
.implements Lkotlin/jvm/internal/markers/KMappedMarker;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lkotlin/UIntArray;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1a
name = "Iterator"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/util/Iterator<",
"Lkotlin/UInt;",
">;",
"Lkotlin/jvm/internal/markers/KMappedMarker;"
}
.end annotation
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000$\n\u0002\u0018\u0002\n\u0002\u0010(\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0015\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0000\n\u0002\u0010\u000b\n\u0002\u0008\u0004\u0008\u0002\u0018\u00002\u0008\u0012\u0004\u0012\u00020\u00020\u0001B\r\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u00a2\u0006\u0002\u0010\u0005J\t\u0010\u0008\u001a\u00020\tH\u0096\u0002J\u0013\u0010\n\u001a\u00020\u0002H\u0096\u0002\u00f8\u0001\u0000\u00a2\u0006\u0004\u0008\u000b\u0010\u000cR\u000e\u0010\u0003\u001a\u00020\u0004X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0006\u001a\u00020\u0007X\u0082\u000e\u00a2\u0006\u0002\n\u0000\u0082\u0002\u0004\n\u0002\u0008!\u00a8\u0006\r"
}
d2 = {
"Lkotlin/UIntArray$Iterator;",
"",
"Lkotlin/UInt;",
"array",
"",
"([I)V",
"index",
"",
"hasNext",
"",
"next",
"next-pVg5ArA",
"()I",
"kotlin-stdlib"
}
k = 0x1
mv = {
0x1,
0x9,
0x0
}
xi = 0x30
.end annotation
# instance fields
.field private final array:[I
.field private index:I
# direct methods
.method public constructor <init>([I)V
.locals 1
const-string v0, "array"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 46
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lkotlin/UIntArray$Iterator;->array:[I
return-void
.end method
# virtual methods
.method public hasNext()Z
.locals 1
iget v0, p0, Lkotlin/UIntArray$Iterator;->index:I
iget-object p0, p0, Lkotlin/UIntArray$Iterator;->array:[I
.line 48
array-length p0, p0
if-ge v0, p0, :cond_0
const/4 p0, 0x1
goto :goto_0
:cond_0
const/4 p0, 0x0
:goto_0
return p0
.end method
.method public bridge synthetic next()Ljava/lang/Object;
.locals 0
.line 46
invoke-virtual {p0}, Lkotlin/UIntArray$Iterator;->next-pVg5ArA()I
move-result p0
invoke-static {p0}, Lkotlin/UInt;->box-impl(I)Lkotlin/UInt;
move-result-object p0
return-object p0
.end method
.method public next-pVg5ArA()I
.locals 3
iget v0, p0, Lkotlin/UIntArray$Iterator;->index:I
iget-object v1, p0, Lkotlin/UIntArray$Iterator;->array:[I
.line 49
array-length v2, v1
if-ge v0, v2, :cond_0
add-int/lit8 v2, v0, 0x1
iput v2, p0, Lkotlin/UIntArray$Iterator;->index:I
aget p0, v1, v0
invoke-static {p0}, Lkotlin/UInt;->constructor-impl(I)I
move-result p0
return p0
:cond_0
new-instance v0, Ljava/util/NoSuchElementException;
iget p0, p0, Lkotlin/UIntArray$Iterator;->index:I
invoke-static {p0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
move-result-object p0
invoke-direct {v0, p0}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public remove()V
.locals 1
new-instance p0, Ljava/lang/UnsupportedOperationException;
const-string v0, "Operation is not supported for read-only collection"
invoke-direct {p0, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p0
.end method