157 lines
3.6 KiB
Smali
157 lines
3.6 KiB
Smali
.class public Lcom/badlogic/gdx/utils/ObjectIntMap$Keys;
|
|
.super Lcom/badlogic/gdx/utils/ObjectIntMap$MapIterator;
|
|
.source "ObjectIntMap.java"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/Iterable;
|
|
.implements Ljava/util/Iterator;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/badlogic/gdx/utils/ObjectIntMap;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "Keys"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<K:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Lcom/badlogic/gdx/utils/ObjectIntMap$MapIterator<",
|
|
"TK;>;",
|
|
"Ljava/lang/Iterable<",
|
|
"TK;>;",
|
|
"Ljava/util/Iterator<",
|
|
"TK;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# virtual methods
|
|
.method public a()Lcom/badlogic/gdx/utils/ObjectIntMap$Keys;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Lcom/badlogic/gdx/utils/ObjectIntMap$Keys<",
|
|
"TK;>;"
|
|
}
|
|
.end annotation
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public bridge synthetic c()V
|
|
.locals 0
|
|
|
|
.line 729
|
|
invoke-super {p0}, Lcom/badlogic/gdx/utils/ObjectIntMap$MapIterator;->c()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public hasNext()Z
|
|
.locals 2
|
|
|
|
.line 735
|
|
iget-boolean v0, p0, Lcom/badlogic/gdx/utils/ObjectIntMap$Keys;->e:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 736
|
|
iget-boolean v0, p0, Lcom/badlogic/gdx/utils/ObjectIntMap$Keys;->a:Z
|
|
|
|
return v0
|
|
|
|
.line 735
|
|
:cond_0
|
|
new-instance v0, Lcom/badlogic/gdx/utils/GdxRuntimeException;
|
|
|
|
const-string v1, "#iterator() cannot be used nested."
|
|
|
|
invoke-direct {v0, v1}, Lcom/badlogic/gdx/utils/GdxRuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public synthetic iterator()Ljava/util/Iterator;
|
|
.locals 1
|
|
|
|
.line 729
|
|
invoke-virtual {p0}, Lcom/badlogic/gdx/utils/ObjectIntMap$Keys;->a()Lcom/badlogic/gdx/utils/ObjectIntMap$Keys;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public next()Ljava/lang/Object;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()TK;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 740
|
|
iget-boolean v0, p0, Lcom/badlogic/gdx/utils/ObjectIntMap$Keys;->a:Z
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 741
|
|
iget-boolean v0, p0, Lcom/badlogic/gdx/utils/ObjectIntMap$Keys;->e:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 742
|
|
iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectIntMap$Keys;->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$Keys;->c:I
|
|
|
|
aget-object v0, v0, v1
|
|
|
|
.line 743
|
|
iget v1, p0, Lcom/badlogic/gdx/utils/ObjectIntMap$Keys;->c:I
|
|
|
|
iput v1, p0, Lcom/badlogic/gdx/utils/ObjectIntMap$Keys;->d:I
|
|
|
|
.line 744
|
|
invoke-virtual {p0}, Lcom/badlogic/gdx/utils/ObjectIntMap$Keys;->d()V
|
|
|
|
return-object v0
|
|
|
|
.line 741
|
|
:cond_0
|
|
new-instance v0, Lcom/badlogic/gdx/utils/GdxRuntimeException;
|
|
|
|
const-string v1, "#iterator() cannot be used nested."
|
|
|
|
invoke-direct {v0, v1}, Lcom/badlogic/gdx/utils/GdxRuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
.line 740
|
|
:cond_1
|
|
new-instance v0, Ljava/util/NoSuchElementException;
|
|
|
|
invoke-direct {v0}, Ljava/util/NoSuchElementException;-><init>()V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public remove()V
|
|
.locals 0
|
|
|
|
.line 768
|
|
invoke-super {p0}, Lcom/badlogic/gdx/utils/ObjectIntMap$MapIterator;->remove()V
|
|
|
|
return-void
|
|
.end method
|