315 lines
8.3 KiB
Smali
315 lines
8.3 KiB
Smali
.class public Lcom/badlogic/gdx/utils/OrderedSet;
|
|
.super Lcom/badlogic/gdx/utils/ObjectSet;
|
|
.source "OrderedSet.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/badlogic/gdx/utils/OrderedSet$OrderedSetIterator;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Lcom/badlogic/gdx/utils/ObjectSet<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final e:Lcom/badlogic/gdx/utils/Array;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/badlogic/gdx/utils/Array<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field f:Lcom/badlogic/gdx/utils/OrderedSet$OrderedSetIterator;
|
|
|
|
.field g:Lcom/badlogic/gdx/utils/OrderedSet$OrderedSetIterator;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
.line 29
|
|
invoke-direct {p0}, Lcom/badlogic/gdx/utils/ObjectSet;-><init>()V
|
|
|
|
.line 30
|
|
new-instance v0, Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-direct {v0}, Lcom/badlogic/gdx/utils/Array;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/badlogic/gdx/utils/OrderedSet;->e:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Ljava/lang/String;)Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 116
|
|
iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedSet;->e:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/badlogic/gdx/utils/Array;->a(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public a()V
|
|
.locals 1
|
|
|
|
.line 76
|
|
iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedSet;->e:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-virtual {v0}, Lcom/badlogic/gdx/utils/Array;->d()V
|
|
|
|
.line 77
|
|
invoke-super {p0}, Lcom/badlogic/gdx/utils/ObjectSet;->a()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Ljava/lang/Object;)Z
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(TT;)Z"
|
|
}
|
|
.end annotation
|
|
|
|
.line 50
|
|
invoke-super {p0, p1}, Lcom/badlogic/gdx/utils/ObjectSet;->a(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
|
|
.line 51
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedSet;->e:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/badlogic/gdx/utils/Array;->a(Ljava/lang/Object;)V
|
|
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public synthetic b()Lcom/badlogic/gdx/utils/ObjectSet$ObjectSetIterator;
|
|
.locals 1
|
|
|
|
.line 25
|
|
invoke-virtual {p0}, Lcom/badlogic/gdx/utils/OrderedSet;->c()Lcom/badlogic/gdx/utils/OrderedSet$OrderedSetIterator;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public b(Ljava/lang/Object;)Z
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(TT;)Z"
|
|
}
|
|
.end annotation
|
|
|
|
.line 66
|
|
iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedSet;->e:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-virtual {v0, p1, v1}, Lcom/badlogic/gdx/utils/Array;->c(Ljava/lang/Object;Z)Z
|
|
|
|
.line 67
|
|
invoke-super {p0, p1}, Lcom/badlogic/gdx/utils/ObjectSet;->b(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public c()Lcom/badlogic/gdx/utils/OrderedSet$OrderedSetIterator;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Lcom/badlogic/gdx/utils/OrderedSet$OrderedSetIterator<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 85
|
|
iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedSet;->f:Lcom/badlogic/gdx/utils/OrderedSet$OrderedSetIterator;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 86
|
|
new-instance v0, Lcom/badlogic/gdx/utils/OrderedSet$OrderedSetIterator;
|
|
|
|
invoke-direct {v0, p0}, Lcom/badlogic/gdx/utils/OrderedSet$OrderedSetIterator;-><init>(Lcom/badlogic/gdx/utils/OrderedSet;)V
|
|
|
|
iput-object v0, p0, Lcom/badlogic/gdx/utils/OrderedSet;->f:Lcom/badlogic/gdx/utils/OrderedSet$OrderedSetIterator;
|
|
|
|
.line 87
|
|
new-instance v0, Lcom/badlogic/gdx/utils/OrderedSet$OrderedSetIterator;
|
|
|
|
invoke-direct {v0, p0}, Lcom/badlogic/gdx/utils/OrderedSet$OrderedSetIterator;-><init>(Lcom/badlogic/gdx/utils/OrderedSet;)V
|
|
|
|
iput-object v0, p0, Lcom/badlogic/gdx/utils/OrderedSet;->g:Lcom/badlogic/gdx/utils/OrderedSet$OrderedSetIterator;
|
|
|
|
.line 89
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedSet;->f:Lcom/badlogic/gdx/utils/OrderedSet$OrderedSetIterator;
|
|
|
|
iget-boolean v0, v0, Lcom/badlogic/gdx/utils/OrderedSet$OrderedSetIterator;->e:Z
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 90
|
|
iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedSet;->f:Lcom/badlogic/gdx/utils/OrderedSet$OrderedSetIterator;
|
|
|
|
invoke-virtual {v0}, Lcom/badlogic/gdx/utils/OrderedSet$OrderedSetIterator;->a()V
|
|
|
|
.line 91
|
|
iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedSet;->f:Lcom/badlogic/gdx/utils/OrderedSet$OrderedSetIterator;
|
|
|
|
iput-boolean v2, v0, Lcom/badlogic/gdx/utils/OrderedSet$OrderedSetIterator;->e:Z
|
|
|
|
.line 92
|
|
iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedSet;->g:Lcom/badlogic/gdx/utils/OrderedSet$OrderedSetIterator;
|
|
|
|
iput-boolean v1, v0, Lcom/badlogic/gdx/utils/OrderedSet$OrderedSetIterator;->e:Z
|
|
|
|
.line 93
|
|
iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedSet;->f:Lcom/badlogic/gdx/utils/OrderedSet$OrderedSetIterator;
|
|
|
|
return-object v0
|
|
|
|
.line 95
|
|
:cond_1
|
|
iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedSet;->g:Lcom/badlogic/gdx/utils/OrderedSet$OrderedSetIterator;
|
|
|
|
invoke-virtual {v0}, Lcom/badlogic/gdx/utils/OrderedSet$OrderedSetIterator;->a()V
|
|
|
|
.line 96
|
|
iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedSet;->g:Lcom/badlogic/gdx/utils/OrderedSet$OrderedSetIterator;
|
|
|
|
iput-boolean v2, v0, Lcom/badlogic/gdx/utils/OrderedSet$OrderedSetIterator;->e:Z
|
|
|
|
.line 97
|
|
iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedSet;->f:Lcom/badlogic/gdx/utils/OrderedSet$OrderedSetIterator;
|
|
|
|
iput-boolean v1, v0, Lcom/badlogic/gdx/utils/OrderedSet$OrderedSetIterator;->e:Z
|
|
|
|
.line 98
|
|
iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedSet;->g:Lcom/badlogic/gdx/utils/OrderedSet$OrderedSetIterator;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public synthetic iterator()Ljava/util/Iterator;
|
|
.locals 1
|
|
|
|
.line 25
|
|
invoke-virtual {p0}, Lcom/badlogic/gdx/utils/OrderedSet;->c()Lcom/badlogic/gdx/utils/OrderedSet$OrderedSetIterator;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 4
|
|
|
|
.line 102
|
|
iget v0, p0, Lcom/badlogic/gdx/utils/OrderedSet;->a:I
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-string v0, "{}"
|
|
|
|
return-object v0
|
|
|
|
.line 103
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedSet;->e:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
iget-object v0, v0, Lcom/badlogic/gdx/utils/Array;->a:[Ljava/lang/Object;
|
|
|
|
.line 104
|
|
new-instance v1, Lcom/badlogic/gdx/utils/StringBuilder;
|
|
|
|
const/16 v2, 0x20
|
|
|
|
invoke-direct {v1, v2}, Lcom/badlogic/gdx/utils/StringBuilder;-><init>(I)V
|
|
|
|
const/16 v2, 0x7b
|
|
|
|
.line 105
|
|
invoke-virtual {v1, v2}, Lcom/badlogic/gdx/utils/StringBuilder;->b(C)Lcom/badlogic/gdx/utils/StringBuilder;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
.line 106
|
|
aget-object v2, v0, v2
|
|
|
|
invoke-virtual {v1, v2}, Lcom/badlogic/gdx/utils/StringBuilder;->a(Ljava/lang/Object;)Lcom/badlogic/gdx/utils/StringBuilder;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
.line 107
|
|
:goto_0
|
|
iget v3, p0, Lcom/badlogic/gdx/utils/OrderedSet;->a:I
|
|
|
|
if-ge v2, v3, :cond_1
|
|
|
|
const-string v3, ", "
|
|
|
|
.line 108
|
|
invoke-virtual {v1, v3}, Lcom/badlogic/gdx/utils/StringBuilder;->b(Ljava/lang/String;)Lcom/badlogic/gdx/utils/StringBuilder;
|
|
|
|
.line 109
|
|
aget-object v3, v0, v2
|
|
|
|
invoke-virtual {v1, v3}, Lcom/badlogic/gdx/utils/StringBuilder;->a(Ljava/lang/Object;)Lcom/badlogic/gdx/utils/StringBuilder;
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/16 v0, 0x7d
|
|
|
|
.line 111
|
|
invoke-virtual {v1, v0}, Lcom/badlogic/gdx/utils/StringBuilder;->b(C)Lcom/badlogic/gdx/utils/StringBuilder;
|
|
|
|
.line 112
|
|
invoke-virtual {v1}, Lcom/badlogic/gdx/utils/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|