.class public Lcom/badlogic/gdx/utils/OrderedMap;
.super Lcom/badlogic/gdx/utils/ObjectMap;
.source "OrderedMap.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/badlogic/gdx/utils/OrderedMap$OrderedMapValues;,
        Lcom/badlogic/gdx/utils/OrderedMap$OrderedMapKeys;,
        Lcom/badlogic/gdx/utils/OrderedMap$OrderedMapEntries;
    }
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "<K:",
        "Ljava/lang/Object;",
        "V:",
        "Ljava/lang/Object;",
        ">",
        "Lcom/badlogic/gdx/utils/ObjectMap<",
        "TK;TV;>;"
    }
.end annotation


# instance fields
.field final f:Lcom/badlogic/gdx/utils/Array;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/badlogic/gdx/utils/Array<",
            "TK;>;"
        }
    .end annotation
.end field

.field private g:Lcom/badlogic/gdx/utils/ObjectMap$Entries;

.field private h:Lcom/badlogic/gdx/utils/ObjectMap$Entries;

.field private i:Lcom/badlogic/gdx/utils/ObjectMap$Values;

.field private j:Lcom/badlogic/gdx/utils/ObjectMap$Values;

.field private k:Lcom/badlogic/gdx/utils/ObjectMap$Keys;

.field private l:Lcom/badlogic/gdx/utils/ObjectMap$Keys;


# direct methods
.method public constructor <init>()V
    .locals 1

    .line 32
    invoke-direct {p0}, Lcom/badlogic/gdx/utils/ObjectMap;-><init>()V

    .line 33
    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/OrderedMap;->f:Lcom/badlogic/gdx/utils/Array;

    return-void
.end method

.method public constructor <init>(I)V
    .locals 1

    .line 37
    invoke-direct {p0, p1}, Lcom/badlogic/gdx/utils/ObjectMap;-><init>(I)V

    .line 38
    new-instance p1, Lcom/badlogic/gdx/utils/Array;

    iget v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->d:I

    invoke-direct {p1, v0}, Lcom/badlogic/gdx/utils/Array;-><init>(I)V

    iput-object p1, p0, Lcom/badlogic/gdx/utils/OrderedMap;->f:Lcom/badlogic/gdx/utils/Array;

    return-void
.end method


# virtual methods
.method public a(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TK;TV;)TV;"
        }
    .end annotation

    .line 52
    invoke-virtual {p0, p1}, Lcom/badlogic/gdx/utils/OrderedMap;->d(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->f:Lcom/badlogic/gdx/utils/Array;

    invoke-virtual {v0, p1}, Lcom/badlogic/gdx/utils/Array;->a(Ljava/lang/Object;)V

    .line 53
    :cond_0
    invoke-super {p0, p1, p2}, Lcom/badlogic/gdx/utils/ObjectMap;->a(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    return-object p1
.end method

.method public a()V
    .locals 1

    .line 67
    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->f:Lcom/badlogic/gdx/utils/Array;

    invoke-virtual {v0}, Lcom/badlogic/gdx/utils/Array;->d()V

    .line 68
    invoke-super {p0}, Lcom/badlogic/gdx/utils/ObjectMap;->a()V

    return-void
.end method

.method public b()Lcom/badlogic/gdx/utils/ObjectMap$Entries;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Lcom/badlogic/gdx/utils/ObjectMap$Entries<",
            "TK;TV;>;"
        }
    .end annotation

    .line 76
    invoke-virtual {p0}, Lcom/badlogic/gdx/utils/OrderedMap;->c()Lcom/badlogic/gdx/utils/ObjectMap$Entries;

    move-result-object v0

    return-object v0
.end method

.method public b(Ljava/lang/Object;)Ljava/lang/Object;
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TK;)TV;"
        }
    .end annotation

    .line 57
    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->f: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 58
    invoke-super {p0, p1}, Lcom/badlogic/gdx/utils/ObjectMap;->b(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    return-object p1
.end method

.method public c()Lcom/badlogic/gdx/utils/ObjectMap$Entries;
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Lcom/badlogic/gdx/utils/ObjectMap$Entries<",
            "TK;TV;>;"
        }
    .end annotation

    .line 82
    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->g:Lcom/badlogic/gdx/utils/ObjectMap$Entries;

    if-nez v0, :cond_0

    .line 83
    new-instance v0, Lcom/badlogic/gdx/utils/OrderedMap$OrderedMapEntries;

    invoke-direct {v0, p0}, Lcom/badlogic/gdx/utils/OrderedMap$OrderedMapEntries;-><init>(Lcom/badlogic/gdx/utils/OrderedMap;)V

    iput-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->g:Lcom/badlogic/gdx/utils/ObjectMap$Entries;

    .line 84
    new-instance v0, Lcom/badlogic/gdx/utils/OrderedMap$OrderedMapEntries;

    invoke-direct {v0, p0}, Lcom/badlogic/gdx/utils/OrderedMap$OrderedMapEntries;-><init>(Lcom/badlogic/gdx/utils/OrderedMap;)V

    iput-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->h:Lcom/badlogic/gdx/utils/ObjectMap$Entries;

    .line 86
    :cond_0
    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->g:Lcom/badlogic/gdx/utils/ObjectMap$Entries;

    iget-boolean v0, v0, Lcom/badlogic/gdx/utils/ObjectMap$Entries;->f:Z

    const/4 v1, 0x0

    const/4 v2, 0x1

    if-nez v0, :cond_1

    .line 87
    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->g:Lcom/badlogic/gdx/utils/ObjectMap$Entries;

    invoke-virtual {v0}, Lcom/badlogic/gdx/utils/ObjectMap$Entries;->c()V

    .line 88
    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->g:Lcom/badlogic/gdx/utils/ObjectMap$Entries;

    iput-boolean v2, v0, Lcom/badlogic/gdx/utils/ObjectMap$Entries;->f:Z

    .line 89
    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->h:Lcom/badlogic/gdx/utils/ObjectMap$Entries;

    iput-boolean v1, v0, Lcom/badlogic/gdx/utils/ObjectMap$Entries;->f:Z

    .line 90
    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->g:Lcom/badlogic/gdx/utils/ObjectMap$Entries;

    return-object v0

    .line 92
    :cond_1
    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->h:Lcom/badlogic/gdx/utils/ObjectMap$Entries;

    invoke-virtual {v0}, Lcom/badlogic/gdx/utils/ObjectMap$Entries;->c()V

    .line 93
    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->h:Lcom/badlogic/gdx/utils/ObjectMap$Entries;

    iput-boolean v2, v0, Lcom/badlogic/gdx/utils/ObjectMap$Entries;->f:Z

    .line 94
    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->g:Lcom/badlogic/gdx/utils/ObjectMap$Entries;

    iput-boolean v1, v0, Lcom/badlogic/gdx/utils/ObjectMap$Entries;->f:Z

    .line 95
    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->h:Lcom/badlogic/gdx/utils/ObjectMap$Entries;

    return-object v0
.end method

.method public d()Lcom/badlogic/gdx/utils/ObjectMap$Values;
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Lcom/badlogic/gdx/utils/ObjectMap$Values<",
            "TV;>;"
        }
    .end annotation

    .line 101
    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->i:Lcom/badlogic/gdx/utils/ObjectMap$Values;

    if-nez v0, :cond_0

    .line 102
    new-instance v0, Lcom/badlogic/gdx/utils/OrderedMap$OrderedMapValues;

    invoke-direct {v0, p0}, Lcom/badlogic/gdx/utils/OrderedMap$OrderedMapValues;-><init>(Lcom/badlogic/gdx/utils/OrderedMap;)V

    iput-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->i:Lcom/badlogic/gdx/utils/ObjectMap$Values;

    .line 103
    new-instance v0, Lcom/badlogic/gdx/utils/OrderedMap$OrderedMapValues;

    invoke-direct {v0, p0}, Lcom/badlogic/gdx/utils/OrderedMap$OrderedMapValues;-><init>(Lcom/badlogic/gdx/utils/OrderedMap;)V

    iput-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->j:Lcom/badlogic/gdx/utils/ObjectMap$Values;

    .line 105
    :cond_0
    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->i:Lcom/badlogic/gdx/utils/ObjectMap$Values;

    iget-boolean v0, v0, Lcom/badlogic/gdx/utils/ObjectMap$Values;->f:Z

    const/4 v1, 0x0

    const/4 v2, 0x1

    if-nez v0, :cond_1

    .line 106
    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->i:Lcom/badlogic/gdx/utils/ObjectMap$Values;

    invoke-virtual {v0}, Lcom/badlogic/gdx/utils/ObjectMap$Values;->c()V

    .line 107
    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->i:Lcom/badlogic/gdx/utils/ObjectMap$Values;

    iput-boolean v2, v0, Lcom/badlogic/gdx/utils/ObjectMap$Values;->f:Z

    .line 108
    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->j:Lcom/badlogic/gdx/utils/ObjectMap$Values;

    iput-boolean v1, v0, Lcom/badlogic/gdx/utils/ObjectMap$Values;->f:Z

    .line 109
    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->i:Lcom/badlogic/gdx/utils/ObjectMap$Values;

    return-object v0

    .line 111
    :cond_1
    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->j:Lcom/badlogic/gdx/utils/ObjectMap$Values;

    invoke-virtual {v0}, Lcom/badlogic/gdx/utils/ObjectMap$Values;->c()V

    .line 112
    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->j:Lcom/badlogic/gdx/utils/ObjectMap$Values;

    iput-boolean v2, v0, Lcom/badlogic/gdx/utils/ObjectMap$Values;->f:Z

    .line 113
    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->i:Lcom/badlogic/gdx/utils/ObjectMap$Values;

    iput-boolean v1, v0, Lcom/badlogic/gdx/utils/ObjectMap$Values;->f:Z

    .line 114
    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->j:Lcom/badlogic/gdx/utils/ObjectMap$Values;

    return-object v0
.end method

.method public e()Lcom/badlogic/gdx/utils/ObjectMap$Keys;
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Lcom/badlogic/gdx/utils/ObjectMap$Keys<",
            "TK;>;"
        }
    .end annotation

    .line 120
    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->k:Lcom/badlogic/gdx/utils/ObjectMap$Keys;

    if-nez v0, :cond_0

    .line 121
    new-instance v0, Lcom/badlogic/gdx/utils/OrderedMap$OrderedMapKeys;

    invoke-direct {v0, p0}, Lcom/badlogic/gdx/utils/OrderedMap$OrderedMapKeys;-><init>(Lcom/badlogic/gdx/utils/OrderedMap;)V

    iput-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->k:Lcom/badlogic/gdx/utils/ObjectMap$Keys;

    .line 122
    new-instance v0, Lcom/badlogic/gdx/utils/OrderedMap$OrderedMapKeys;

    invoke-direct {v0, p0}, Lcom/badlogic/gdx/utils/OrderedMap$OrderedMapKeys;-><init>(Lcom/badlogic/gdx/utils/OrderedMap;)V

    iput-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->l:Lcom/badlogic/gdx/utils/ObjectMap$Keys;

    .line 124
    :cond_0
    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->k:Lcom/badlogic/gdx/utils/ObjectMap$Keys;

    iget-boolean v0, v0, Lcom/badlogic/gdx/utils/ObjectMap$Keys;->f:Z

    const/4 v1, 0x0

    const/4 v2, 0x1

    if-nez v0, :cond_1

    .line 125
    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->k:Lcom/badlogic/gdx/utils/ObjectMap$Keys;

    invoke-virtual {v0}, Lcom/badlogic/gdx/utils/ObjectMap$Keys;->c()V

    .line 126
    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->k:Lcom/badlogic/gdx/utils/ObjectMap$Keys;

    iput-boolean v2, v0, Lcom/badlogic/gdx/utils/ObjectMap$Keys;->f:Z

    .line 127
    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->l:Lcom/badlogic/gdx/utils/ObjectMap$Keys;

    iput-boolean v1, v0, Lcom/badlogic/gdx/utils/ObjectMap$Keys;->f:Z

    .line 128
    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->k:Lcom/badlogic/gdx/utils/ObjectMap$Keys;

    return-object v0

    .line 130
    :cond_1
    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->l:Lcom/badlogic/gdx/utils/ObjectMap$Keys;

    invoke-virtual {v0}, Lcom/badlogic/gdx/utils/ObjectMap$Keys;->c()V

    .line 131
    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->l:Lcom/badlogic/gdx/utils/ObjectMap$Keys;

    iput-boolean v2, v0, Lcom/badlogic/gdx/utils/ObjectMap$Keys;->f:Z

    .line 132
    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->k:Lcom/badlogic/gdx/utils/ObjectMap$Keys;

    iput-boolean v1, v0, Lcom/badlogic/gdx/utils/ObjectMap$Keys;->f:Z

    .line 133
    iget-object v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->l:Lcom/badlogic/gdx/utils/ObjectMap$Keys;

    return-object v0
.end method

.method public synthetic iterator()Ljava/util/Iterator;
    .locals 1

    .line 25
    invoke-virtual {p0}, Lcom/badlogic/gdx/utils/OrderedMap;->b()Lcom/badlogic/gdx/utils/ObjectMap$Entries;

    move-result-object v0

    return-object v0
.end method

.method public toString()Ljava/lang/String;
    .locals 6

    .line 137
    iget v0, p0, Lcom/badlogic/gdx/utils/OrderedMap;->a:I

    if-nez v0, :cond_0

    const-string v0, "{}"

    return-object v0

    .line 138
    :cond_0
    new-instance v0, Lcom/badlogic/gdx/utils/StringBuilder;

    const/16 v1, 0x20

    invoke-direct {v0, v1}, Lcom/badlogic/gdx/utils/StringBuilder;-><init>(I)V

    const/16 v1, 0x7b

    .line 139
    invoke-virtual {v0, v1}, Lcom/badlogic/gdx/utils/StringBuilder;->b(C)Lcom/badlogic/gdx/utils/StringBuilder;

    .line 140
    iget-object v1, p0, Lcom/badlogic/gdx/utils/OrderedMap;->f:Lcom/badlogic/gdx/utils/Array;

    const/4 v2, 0x0

    .line 141
    iget v3, v1, Lcom/badlogic/gdx/utils/Array;->b:I

    :goto_0
    if-ge v2, v3, :cond_2

    .line 142
    invoke-virtual {v1, v2}, Lcom/badlogic/gdx/utils/Array;->a(I)Ljava/lang/Object;

    move-result-object v4

    if-lez v2, :cond_1

    const-string v5, ", "

    .line 143
    invoke-virtual {v0, v5}, Lcom/badlogic/gdx/utils/StringBuilder;->b(Ljava/lang/String;)Lcom/badlogic/gdx/utils/StringBuilder;

    .line 144
    :cond_1
    invoke-virtual {v0, v4}, Lcom/badlogic/gdx/utils/StringBuilder;->a(Ljava/lang/Object;)Lcom/badlogic/gdx/utils/StringBuilder;

    const/16 v5, 0x3d

    .line 145
    invoke-virtual {v0, v5}, Lcom/badlogic/gdx/utils/StringBuilder;->b(C)Lcom/badlogic/gdx/utils/StringBuilder;

    .line 146
    invoke-virtual {p0, v4}, Lcom/badlogic/gdx/utils/OrderedMap;->a(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    invoke-virtual {v0, v4}, Lcom/badlogic/gdx/utils/StringBuilder;->a(Ljava/lang/Object;)Lcom/badlogic/gdx/utils/StringBuilder;

    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    :cond_2
    const/16 v1, 0x7d

    .line 148
    invoke-virtual {v0, v1}, Lcom/badlogic/gdx/utils/StringBuilder;->b(C)Lcom/badlogic/gdx/utils/StringBuilder;

    .line 149
    invoke-virtual {v0}, Lcom/badlogic/gdx/utils/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method
