PatriciaTrie$a$a.smali

.class final Lorg/ardverk/collection/PatriciaTrie$a$a;
.super Lorg/ardverk/collection/AbstractPatriciaTrie$d;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lorg/ardverk/collection/PatriciaTrie$a;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x10
    name = "a"
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lorg/ardverk/collection/AbstractPatriciaTrie",
        "<TK;TV;>.d<",
        "Ljava/util/Map$Entry",
        "<TK;TV;>;>;"
    }
.end annotation


# instance fields
.field protected final a:Ljava/lang/Object;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "TK;"
        }
    .end annotation
.end field

.field protected f:Z

.field protected g:Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry",
            "<TK;TV;>;"
        }
    .end annotation
.end field

.field final synthetic h:Lorg/ardverk/collection/PatriciaTrie$a;


# direct methods
.method constructor <init>(Lorg/ardverk/collection/PatriciaTrie$a;Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;Ljava/lang/Object;)V
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry",
            "<TK;TV;>;TK;)V"
        }
    .end annotation

    iput-object p1, p0, Lorg/ardverk/collection/PatriciaTrie$a$a;->h:Lorg/ardverk/collection/PatriciaTrie$a;

    iget-object v0, p1, Lorg/ardverk/collection/PatriciaTrie$a;->a:Lorg/ardverk/collection/PatriciaTrie;

    invoke-direct {p0, v0}, Lorg/ardverk/collection/AbstractPatriciaTrie$d;-><init>(Lorg/ardverk/collection/AbstractPatriciaTrie;)V

    iput-object p2, p0, Lorg/ardverk/collection/PatriciaTrie$a$a;->g:Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;

    iget-object v0, p1, Lorg/ardverk/collection/PatriciaTrie$a;->a:Lorg/ardverk/collection/PatriciaTrie;

    invoke-virtual {v0, p2}, Lorg/ardverk/collection/PatriciaTrie;->followLeft(Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;)Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;

    move-result-object v0

    iput-object v0, p0, Lorg/ardverk/collection/PatriciaTrie$a$a;->c:Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;

    iput-object p3, p0, Lorg/ardverk/collection/PatriciaTrie$a$a;->a:Ljava/lang/Object;

    return-void
.end method


# virtual methods
.method public a()Ljava/util/Map$Entry;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/Map$Entry",
            "<TK;TV;>;"
        }
    .end annotation

    invoke-virtual {p0}, Lorg/ardverk/collection/PatriciaTrie$a$a;->b()Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;

    move-result-object v0

    iget-boolean v1, p0, Lorg/ardverk/collection/PatriciaTrie$a$a;->f:Z

    if-eqz v1, :cond_b

    const/4 v1, 0x0

    iput-object v1, p0, Lorg/ardverk/collection/PatriciaTrie$a$a;->c:Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;

    :cond_b
    return-object v0
.end method

.method protected a(Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;)Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry",
            "<TK;TV;>;)",
            "Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry",
            "<TK;TV;>;"
        }
    .end annotation

    iget-object v0, p0, Lorg/ardverk/collection/PatriciaTrie$a$a;->h:Lorg/ardverk/collection/PatriciaTrie$a;

    iget-object v0, v0, Lorg/ardverk/collection/PatriciaTrie$a;->a:Lorg/ardverk/collection/PatriciaTrie;

    iget-object v1, p0, Lorg/ardverk/collection/PatriciaTrie$a$a;->g:Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;

    # invokes: Lorg/ardverk/collection/PatriciaTrie;->nextEntryInSubtree(Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;)Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;
    invoke-static {v0, p1, v1}, Lorg/ardverk/collection/PatriciaTrie;->access$1000(Lorg/ardverk/collection/PatriciaTrie;Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;)Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;

    move-result-object v0

    return-object v0
.end method

.method public synthetic next()Ljava/lang/Object;
    .registers 2

    invoke-virtual {p0}, Lorg/ardverk/collection/PatriciaTrie$a$a;->a()Ljava/util/Map$Entry;

    move-result-object v0

    return-object v0
.end method

.method public remove()V
    .registers 6

    const/4 v1, 0x1

    const/4 v0, 0x0

    iget-object v2, p0, Lorg/ardverk/collection/PatriciaTrie$a$a;->g:Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;

    iget v2, v2, Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;->bitIndex:I

    iget-object v3, p0, Lorg/ardverk/collection/PatriciaTrie$a$a;->d:Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;

    iget-object v4, p0, Lorg/ardverk/collection/PatriciaTrie$a$a;->g:Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;

    if-ne v3, v4, :cond_d

    move v0, v1

    :cond_d
    invoke-super {p0}, Lorg/ardverk/collection/AbstractPatriciaTrie$d;->remove()V

    iget-object v3, p0, Lorg/ardverk/collection/PatriciaTrie$a$a;->g:Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;

    iget v3, v3, Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;->bitIndex:I

    if-ne v2, v3, :cond_18

    if-eqz v0, :cond_24

    :cond_18
    iget-object v0, p0, Lorg/ardverk/collection/PatriciaTrie$a$a;->h:Lorg/ardverk/collection/PatriciaTrie$a;

    iget-object v0, v0, Lorg/ardverk/collection/PatriciaTrie$a;->a:Lorg/ardverk/collection/PatriciaTrie;

    iget-object v2, p0, Lorg/ardverk/collection/PatriciaTrie$a$a;->a:Ljava/lang/Object;

    # invokes: Lorg/ardverk/collection/PatriciaTrie;->subtree(Ljava/lang/Object;)Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;
    invoke-static {v0, v2}, Lorg/ardverk/collection/PatriciaTrie;->access$900(Lorg/ardverk/collection/PatriciaTrie;Ljava/lang/Object;)Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;

    move-result-object v0

    iput-object v0, p0, Lorg/ardverk/collection/PatriciaTrie$a$a;->g:Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;

    :cond_24
    iget-object v0, p0, Lorg/ardverk/collection/PatriciaTrie$a$a;->h:Lorg/ardverk/collection/PatriciaTrie$a;

    iget-object v0, v0, Lorg/ardverk/collection/PatriciaTrie$a;->a:Lorg/ardverk/collection/PatriciaTrie;

    iget-object v2, p0, Lorg/ardverk/collection/PatriciaTrie$a$a;->a:Ljava/lang/Object;

    invoke-virtual {v0, v2}, Lorg/ardverk/collection/PatriciaTrie;->lengthInBits(Ljava/lang/Object;)I

    move-result v0

    iget-object v2, p0, Lorg/ardverk/collection/PatriciaTrie$a$a;->g:Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;

    iget v2, v2, Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;->bitIndex:I

    if-lt v0, v2, :cond_36

    iput-boolean v1, p0, Lorg/ardverk/collection/PatriciaTrie$a$a;->f:Z

    :cond_36
    return-void
.end method