Rabbit-R1/switch port/smali/smali_classes3/kotlin/collections/builders/MapBuilder$Itr.smali
2024-05-21 17:08:36 -04:00

315 lines
9.4 KiB
Smali

.class public Lkotlin/collections/builders/MapBuilder$Itr;
.super Ljava/lang/Object;
.source "MapBuilder.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lkotlin/collections/builders/MapBuilder;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Itr"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;"
}
.end annotation
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nMapBuilder.kt\nKotlin\n*S Kotlin\n*F\n+ 1 MapBuilder.kt\nkotlin/collections/builders/MapBuilder$Itr\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,727:1\n1#2:728\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000.\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0002\u0008\u000b\n\u0002\u0010\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u000b\n\u0002\u0008\u0004\u0008\u0010\u0018\u0000*\u0004\u0008\u0002\u0010\u0001*\u0004\u0008\u0003\u0010\u00022\u00020\u0003B\u0019\u0012\u0012\u0010\u0004\u001a\u000e\u0012\u0004\u0012\u00028\u0002\u0012\u0004\u0012\u00028\u00030\u0005\u00a2\u0006\u0002\u0010\u0006J\r\u0010\u0013\u001a\u00020\u0014H\u0000\u00a2\u0006\u0002\u0008\u0015J\u0006\u0010\u0016\u001a\u00020\u0017J\r\u0010\u0018\u001a\u00020\u0014H\u0000\u00a2\u0006\u0002\u0008\u0019J\u0006\u0010\u001a\u001a\u00020\u0014R\u000e\u0010\u0007\u001a\u00020\u0008X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u001a\u0010\t\u001a\u00020\u0008X\u0080\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\u0008\n\u0010\u000b\"\u0004\u0008\u000c\u0010\rR\u001a\u0010\u000e\u001a\u00020\u0008X\u0080\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\u0008\u000f\u0010\u000b\"\u0004\u0008\u0010\u0010\rR \u0010\u0004\u001a\u000e\u0012\u0004\u0012\u00028\u0002\u0012\u0004\u0012\u00028\u00030\u0005X\u0080\u0004\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0011\u0010\u0012\u00a8\u0006\u001b"
}
d2 = {
"Lkotlin/collections/builders/MapBuilder$Itr;",
"K",
"V",
"",
"map",
"Lkotlin/collections/builders/MapBuilder;",
"(Lkotlin/collections/builders/MapBuilder;)V",
"expectedModCount",
"",
"index",
"getIndex$kotlin_stdlib",
"()I",
"setIndex$kotlin_stdlib",
"(I)V",
"lastIndex",
"getLastIndex$kotlin_stdlib",
"setLastIndex$kotlin_stdlib",
"getMap$kotlin_stdlib",
"()Lkotlin/collections/builders/MapBuilder;",
"checkForComodification",
"",
"checkForComodification$kotlin_stdlib",
"hasNext",
"",
"initNext",
"initNext$kotlin_stdlib",
"remove",
"kotlin-stdlib"
}
k = 0x1
mv = {
0x1,
0x9,
0x0
}
xi = 0x30
.end annotation
# instance fields
.field private expectedModCount:I
.field private index:I
.field private lastIndex:I
.field private final map:Lkotlin/collections/builders/MapBuilder;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/collections/builders/MapBuilder<",
"TK;TV;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lkotlin/collections/builders/MapBuilder;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/collections/builders/MapBuilder<",
"TK;TV;>;)V"
}
.end annotation
const-string v0, "map"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 495
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lkotlin/collections/builders/MapBuilder$Itr;->map:Lkotlin/collections/builders/MapBuilder;
const/4 v0, -0x1
iput v0, p0, Lkotlin/collections/builders/MapBuilder$Itr;->lastIndex:I
.line 500
invoke-static {p1}, Lkotlin/collections/builders/MapBuilder;->access$getModCount$p(Lkotlin/collections/builders/MapBuilder;)I
move-result p1
iput p1, p0, Lkotlin/collections/builders/MapBuilder$Itr;->expectedModCount:I
.line 503
invoke-virtual {p0}, Lkotlin/collections/builders/MapBuilder$Itr;->initNext$kotlin_stdlib()V
return-void
.end method
# virtual methods
.method public final checkForComodification$kotlin_stdlib()V
.locals 1
iget-object v0, p0, Lkotlin/collections/builders/MapBuilder$Itr;->map:Lkotlin/collections/builders/MapBuilder;
.line 523
invoke-static {v0}, Lkotlin/collections/builders/MapBuilder;->access$getModCount$p(Lkotlin/collections/builders/MapBuilder;)I
move-result v0
iget p0, p0, Lkotlin/collections/builders/MapBuilder$Itr;->expectedModCount:I
if-ne v0, p0, :cond_0
return-void
.line 524
:cond_0
new-instance p0, Ljava/util/ConcurrentModificationException;
invoke-direct {p0}, Ljava/util/ConcurrentModificationException;-><init>()V
throw p0
.end method
.method public final getIndex$kotlin_stdlib()I
.locals 0
iget p0, p0, Lkotlin/collections/builders/MapBuilder$Itr;->index:I
return p0
.end method
.method public final getLastIndex$kotlin_stdlib()I
.locals 0
iget p0, p0, Lkotlin/collections/builders/MapBuilder$Itr;->lastIndex:I
return p0
.end method
.method public final getMap$kotlin_stdlib()Lkotlin/collections/builders/MapBuilder;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lkotlin/collections/builders/MapBuilder<",
"TK;TV;>;"
}
.end annotation
iget-object p0, p0, Lkotlin/collections/builders/MapBuilder$Itr;->map:Lkotlin/collections/builders/MapBuilder;
return-object p0
.end method
.method public final hasNext()Z
.locals 1
iget v0, p0, Lkotlin/collections/builders/MapBuilder$Itr;->index:I
iget-object p0, p0, Lkotlin/collections/builders/MapBuilder$Itr;->map:Lkotlin/collections/builders/MapBuilder;
.line 511
invoke-static {p0}, Lkotlin/collections/builders/MapBuilder;->access$getLength$p(Lkotlin/collections/builders/MapBuilder;)I
move-result 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 final initNext$kotlin_stdlib()V
.locals 2
:goto_0
iget v0, p0, Lkotlin/collections/builders/MapBuilder$Itr;->index:I
iget-object v1, p0, Lkotlin/collections/builders/MapBuilder$Itr;->map:Lkotlin/collections/builders/MapBuilder;
.line 507
invoke-static {v1}, Lkotlin/collections/builders/MapBuilder;->access$getLength$p(Lkotlin/collections/builders/MapBuilder;)I
move-result v1
if-ge v0, v1, :cond_0
iget-object v0, p0, Lkotlin/collections/builders/MapBuilder$Itr;->map:Lkotlin/collections/builders/MapBuilder;
invoke-static {v0}, Lkotlin/collections/builders/MapBuilder;->access$getPresenceArray$p(Lkotlin/collections/builders/MapBuilder;)[I
move-result-object v0
iget v1, p0, Lkotlin/collections/builders/MapBuilder$Itr;->index:I
aget v0, v0, v1
if-gez v0, :cond_0
add-int/lit8 v1, v1, 0x1
iput v1, p0, Lkotlin/collections/builders/MapBuilder$Itr;->index:I
goto :goto_0
:cond_0
return-void
.end method
.method public final remove()V
.locals 3
.line 514
invoke-virtual {p0}, Lkotlin/collections/builders/MapBuilder$Itr;->checkForComodification$kotlin_stdlib()V
iget v0, p0, Lkotlin/collections/builders/MapBuilder$Itr;->lastIndex:I
const/4 v1, -0x1
if-eq v0, v1, :cond_0
iget-object v0, p0, Lkotlin/collections/builders/MapBuilder$Itr;->map:Lkotlin/collections/builders/MapBuilder;
.line 516
invoke-virtual {v0}, Lkotlin/collections/builders/MapBuilder;->checkIsMutable$kotlin_stdlib()V
iget-object v0, p0, Lkotlin/collections/builders/MapBuilder$Itr;->map:Lkotlin/collections/builders/MapBuilder;
iget v2, p0, Lkotlin/collections/builders/MapBuilder$Itr;->lastIndex:I
.line 517
invoke-static {v0, v2}, Lkotlin/collections/builders/MapBuilder;->access$removeKeyAt(Lkotlin/collections/builders/MapBuilder;I)V
iput v1, p0, Lkotlin/collections/builders/MapBuilder$Itr;->lastIndex:I
iget-object v0, p0, Lkotlin/collections/builders/MapBuilder$Itr;->map:Lkotlin/collections/builders/MapBuilder;
.line 519
invoke-static {v0}, Lkotlin/collections/builders/MapBuilder;->access$getModCount$p(Lkotlin/collections/builders/MapBuilder;)I
move-result v0
iput v0, p0, Lkotlin/collections/builders/MapBuilder$Itr;->expectedModCount:I
return-void
.line 515
:cond_0
new-instance p0, Ljava/lang/IllegalStateException;
const-string v0, "Call next() before removing element from the iterator."
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public final setIndex$kotlin_stdlib(I)V
.locals 0
iput p1, p0, Lkotlin/collections/builders/MapBuilder$Itr;->index:I
return-void
.end method
.method public final setLastIndex$kotlin_stdlib(I)V
.locals 0
iput p1, p0, Lkotlin/collections/builders/MapBuilder$Itr;->lastIndex:I
return-void
.end method