216 lines
5.2 KiB
Smali
216 lines
5.2 KiB
Smali
.class Lcom/badlogic/gdx/utils/ObjectIntMap$MapIterator;
|
|
.super Ljava/lang/Object;
|
|
.source "ObjectIntMap.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/badlogic/gdx/utils/ObjectIntMap;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0xa
|
|
name = "MapIterator"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<K:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public a:Z
|
|
|
|
.field final b:Lcom/badlogic/gdx/utils/ObjectIntMap;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/badlogic/gdx/utils/ObjectIntMap<",
|
|
"TK;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field c:I
|
|
|
|
.field d:I
|
|
|
|
.field e:Z
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/badlogic/gdx/utils/ObjectIntMap;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/badlogic/gdx/utils/ObjectIntMap<",
|
|
"TK;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 632
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 630
|
|
iput-boolean v0, p0, Lcom/badlogic/gdx/utils/ObjectIntMap$MapIterator;->e:Z
|
|
|
|
.line 633
|
|
iput-object p1, p0, Lcom/badlogic/gdx/utils/ObjectIntMap$MapIterator;->b:Lcom/badlogic/gdx/utils/ObjectIntMap;
|
|
|
|
.line 634
|
|
invoke-virtual {p0}, Lcom/badlogic/gdx/utils/ObjectIntMap$MapIterator;->c()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public c()V
|
|
.locals 1
|
|
|
|
const/4 v0, -0x1
|
|
|
|
.line 638
|
|
iput v0, p0, Lcom/badlogic/gdx/utils/ObjectIntMap$MapIterator;->d:I
|
|
|
|
.line 639
|
|
iput v0, p0, Lcom/badlogic/gdx/utils/ObjectIntMap$MapIterator;->c:I
|
|
|
|
.line 640
|
|
invoke-virtual {p0}, Lcom/badlogic/gdx/utils/ObjectIntMap$MapIterator;->d()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method d()V
|
|
.locals 4
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 644
|
|
iput-boolean v0, p0, Lcom/badlogic/gdx/utils/ObjectIntMap$MapIterator;->a:Z
|
|
|
|
.line 645
|
|
iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectIntMap$MapIterator;->b:Lcom/badlogic/gdx/utils/ObjectIntMap;
|
|
|
|
iget-object v0, v0, Lcom/badlogic/gdx/utils/ObjectIntMap;->b:[Ljava/lang/Object;
|
|
|
|
.line 646
|
|
iget-object v1, p0, Lcom/badlogic/gdx/utils/ObjectIntMap$MapIterator;->b:Lcom/badlogic/gdx/utils/ObjectIntMap;
|
|
|
|
iget v1, v1, Lcom/badlogic/gdx/utils/ObjectIntMap;->d:I
|
|
|
|
iget-object v2, p0, Lcom/badlogic/gdx/utils/ObjectIntMap$MapIterator;->b:Lcom/badlogic/gdx/utils/ObjectIntMap;
|
|
|
|
iget v2, v2, Lcom/badlogic/gdx/utils/ObjectIntMap;->e:I
|
|
|
|
add-int/2addr v1, v2
|
|
|
|
:cond_0
|
|
iget v2, p0, Lcom/badlogic/gdx/utils/ObjectIntMap$MapIterator;->c:I
|
|
|
|
const/4 v3, 0x1
|
|
|
|
add-int/2addr v2, v3
|
|
|
|
iput v2, p0, Lcom/badlogic/gdx/utils/ObjectIntMap$MapIterator;->c:I
|
|
|
|
if-ge v2, v1, :cond_1
|
|
|
|
.line 647
|
|
iget v2, p0, Lcom/badlogic/gdx/utils/ObjectIntMap$MapIterator;->c:I
|
|
|
|
aget-object v2, v0, v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 648
|
|
iput-boolean v3, p0, Lcom/badlogic/gdx/utils/ObjectIntMap$MapIterator;->a:Z
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public remove()V
|
|
.locals 3
|
|
|
|
.line 655
|
|
iget v0, p0, Lcom/badlogic/gdx/utils/ObjectIntMap$MapIterator;->d:I
|
|
|
|
if-ltz v0, :cond_1
|
|
|
|
.line 656
|
|
iget v0, p0, Lcom/badlogic/gdx/utils/ObjectIntMap$MapIterator;->d:I
|
|
|
|
iget-object v1, p0, Lcom/badlogic/gdx/utils/ObjectIntMap$MapIterator;->b:Lcom/badlogic/gdx/utils/ObjectIntMap;
|
|
|
|
iget v1, v1, Lcom/badlogic/gdx/utils/ObjectIntMap;->d:I
|
|
|
|
if-lt v0, v1, :cond_0
|
|
|
|
.line 657
|
|
iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectIntMap$MapIterator;->b:Lcom/badlogic/gdx/utils/ObjectIntMap;
|
|
|
|
iget v1, p0, Lcom/badlogic/gdx/utils/ObjectIntMap$MapIterator;->d:I
|
|
|
|
invoke-virtual {v0, v1}, Lcom/badlogic/gdx/utils/ObjectIntMap;->a(I)V
|
|
|
|
.line 658
|
|
iget v0, p0, Lcom/badlogic/gdx/utils/ObjectIntMap$MapIterator;->d:I
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
iput v0, p0, Lcom/badlogic/gdx/utils/ObjectIntMap$MapIterator;->c:I
|
|
|
|
.line 659
|
|
invoke-virtual {p0}, Lcom/badlogic/gdx/utils/ObjectIntMap$MapIterator;->d()V
|
|
|
|
goto :goto_0
|
|
|
|
.line 661
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectIntMap$MapIterator;->b:Lcom/badlogic/gdx/utils/ObjectIntMap;
|
|
|
|
iget-object v0, v0, Lcom/badlogic/gdx/utils/ObjectIntMap;->b:[Ljava/lang/Object;
|
|
|
|
iget v1, p0, Lcom/badlogic/gdx/utils/ObjectIntMap$MapIterator;->d:I
|
|
|
|
const/4 v2, 0x0
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
:goto_0
|
|
const/4 v0, -0x1
|
|
|
|
.line 663
|
|
iput v0, p0, Lcom/badlogic/gdx/utils/ObjectIntMap$MapIterator;->d:I
|
|
|
|
.line 664
|
|
iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectIntMap$MapIterator;->b:Lcom/badlogic/gdx/utils/ObjectIntMap;
|
|
|
|
iget v1, v0, Lcom/badlogic/gdx/utils/ObjectIntMap;->a:I
|
|
|
|
add-int/lit8 v1, v1, -0x1
|
|
|
|
iput v1, v0, Lcom/badlogic/gdx/utils/ObjectIntMap;->a:I
|
|
|
|
return-void
|
|
|
|
.line 655
|
|
:cond_1
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
const-string v1, "next must be called before remove."
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|