PatriciaTrie$b.smali

.class Lorg/ardverk/collection/PatriciaTrie$b;
.super Lorg/ardverk/collection/PatriciaTrie$e;


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

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = "b"
.end annotation


# instance fields
.field final synthetic a:Lorg/ardverk/collection/PatriciaTrie;

.field private final b:Ljava/lang/Object;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "TK;"
        }
    .end annotation
.end field

.field private c:Ljava/lang/Object;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "TK;"
        }
    .end annotation
.end field

.field private d:Ljava/lang/Object;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "TK;"
        }
    .end annotation
.end field

.field private e:I

.field private g:I


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

    const/4 v1, -0x1

    const/4 v0, 0x0

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

    invoke-direct {p0, p1, v0}, Lorg/ardverk/collection/PatriciaTrie$e;-><init>(Lorg/ardverk/collection/PatriciaTrie;Lorg/ardverk/collection/PatriciaTrie$1;)V

    iput-object v0, p0, Lorg/ardverk/collection/PatriciaTrie$b;->c:Ljava/lang/Object;

    iput-object v0, p0, Lorg/ardverk/collection/PatriciaTrie$b;->d:Ljava/lang/Object;

    iput v1, p0, Lorg/ardverk/collection/PatriciaTrie$b;->e:I

    iput v1, p0, Lorg/ardverk/collection/PatriciaTrie$b;->g:I

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

    return-void
.end method

.method synthetic constructor <init>(Lorg/ardverk/collection/PatriciaTrie;Ljava/lang/Object;Lorg/ardverk/collection/PatriciaTrie$1;)V
    .registers 4

    invoke-direct {p0, p1, p2}, Lorg/ardverk/collection/PatriciaTrie$b;-><init>(Lorg/ardverk/collection/PatriciaTrie;Ljava/lang/Object;)V

    return-void
.end method

.method static synthetic a(Lorg/ardverk/collection/PatriciaTrie$b;)I
    .registers 2

    invoke-direct {p0}, Lorg/ardverk/collection/PatriciaTrie$b;->f()I

    move-result v0

    return v0
.end method

.method static synthetic b(Lorg/ardverk/collection/PatriciaTrie$b;)Ljava/lang/Object;
    .registers 2

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

    return-object v0
.end method

.method private f()I
    .registers 6

    const/4 v2, 0x0

    iget v0, p0, Lorg/ardverk/collection/PatriciaTrie$b;->g:I

    const/4 v1, -0x1

    if-eq v0, v1, :cond_e

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

    iget v0, v0, Lorg/ardverk/collection/PatriciaTrie;->modCount:I

    iget v1, p0, Lorg/ardverk/collection/PatriciaTrie$b;->e:I

    if-eq v0, v1, :cond_7d

    :cond_e
    invoke-virtual {p0}, Lorg/ardverk/collection/PatriciaTrie$b;->entrySet()Ljava/util/Set;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v3

    const/4 v0, 0x0

    iput v0, p0, Lorg/ardverk/collection/PatriciaTrie$b;->g:I

    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_8a

    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/Map$Entry;

    const/4 v1, 0x1

    iput v1, p0, Lorg/ardverk/collection/PatriciaTrie$b;->g:I

    move-object v1, v0

    :goto_29
    if-nez v1, :cond_58

    move-object v0, v2

    :goto_2c
    iput-object v0, p0, Lorg/ardverk/collection/PatriciaTrie$b;->c:Ljava/lang/Object;

    iget-object v0, p0, Lorg/ardverk/collection/PatriciaTrie$b;->c:Ljava/lang/Object;

    if-eqz v0, :cond_40

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

    move-object v0, v1

    check-cast v0, Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;

    # invokes: Lorg/ardverk/collection/PatriciaTrie;->previousEntry(Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;)Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;
    invoke-static {v4, v0}, Lorg/ardverk/collection/PatriciaTrie;->access$500(Lorg/ardverk/collection/PatriciaTrie;Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;)Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;

    move-result-object v0

    if-nez v0, :cond_5d

    move-object v0, v2

    :goto_3e
    iput-object v0, p0, Lorg/ardverk/collection/PatriciaTrie$b;->c:Ljava/lang/Object;

    :cond_40
    iget-object v0, p0, Lorg/ardverk/collection/PatriciaTrie$b;->c:Ljava/lang/Object;

    iput-object v0, p0, Lorg/ardverk/collection/PatriciaTrie$b;->d:Ljava/lang/Object;

    move-object v0, v1

    :goto_45
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_62

    iget v0, p0, Lorg/ardverk/collection/PatriciaTrie$b;->g:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lorg/ardverk/collection/PatriciaTrie$b;->g:I

    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/Map$Entry;

    goto :goto_45

    :cond_58
    invoke-interface {v1}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;

    move-result-object v0

    goto :goto_2c

    :cond_5d
    invoke-virtual {v0}, Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;->getKey()Ljava/lang/Object;

    move-result-object v0

    goto :goto_3e

    :cond_62
    if-nez v0, :cond_80

    move-object v1, v2

    :goto_65
    iput-object v1, p0, Lorg/ardverk/collection/PatriciaTrie$b;->d:Ljava/lang/Object;

    iget-object v1, p0, Lorg/ardverk/collection/PatriciaTrie$b;->d:Ljava/lang/Object;

    if-eqz v1, :cond_77

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

    check-cast v0, Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;

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

    move-result-object v0

    if-nez v0, :cond_85

    :goto_75
    iput-object v2, p0, Lorg/ardverk/collection/PatriciaTrie$b;->d:Ljava/lang/Object;

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

    iget v0, v0, Lorg/ardverk/collection/PatriciaTrie;->modCount:I

    iput v0, p0, Lorg/ardverk/collection/PatriciaTrie$b;->e:I

    :cond_7d
    iget v0, p0, Lorg/ardverk/collection/PatriciaTrie$b;->g:I

    return v0

    :cond_80
    invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;

    move-result-object v1

    goto :goto_65

    :cond_85
    invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;

    move-result-object v2

    goto :goto_75

    :cond_8a
    move-object v1, v2

    goto :goto_29
.end method


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

    new-instance v0, Lorg/ardverk/collection/PatriciaTrie$a;

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

    invoke-direct {v0, v1, p0}, Lorg/ardverk/collection/PatriciaTrie$a;-><init>(Lorg/ardverk/collection/PatriciaTrie;Lorg/ardverk/collection/PatriciaTrie$b;)V

    return-object v0
.end method

.method protected a(Ljava/lang/Object;ZLjava/lang/Object;Z)Ljava/util/SortedMap;
    .registers 11
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TK;ZTK;Z)",
            "Ljava/util/SortedMap",
            "<TK;TV;>;"
        }
    .end annotation

    new-instance v0, Lorg/ardverk/collection/PatriciaTrie$c;

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

    move-object v2, p1

    move v3, p2

    move-object v4, p3

    move v5, p4

    invoke-direct/range {v0 .. v5}, Lorg/ardverk/collection/PatriciaTrie$c;-><init>(Lorg/ardverk/collection/PatriciaTrie;Ljava/lang/Object;ZLjava/lang/Object;Z)V

    return-object v0
.end method

.method protected a(Ljava/lang/Object;)Z
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TK;)Z"
        }
    .end annotation

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

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

    # invokes: Lorg/ardverk/collection/PatriciaTrie;->isPrefix(Ljava/lang/Object;Ljava/lang/Object;)Z
    invoke-static {v0, p1, v1}, Lorg/ardverk/collection/PatriciaTrie;->access$600(Lorg/ardverk/collection/PatriciaTrie;Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v0

    return v0
.end method

.method protected a(Ljava/lang/Object;Z)Z
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TK;Z)Z"
        }
    .end annotation

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

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

    # invokes: Lorg/ardverk/collection/PatriciaTrie;->isPrefix(Ljava/lang/Object;Ljava/lang/Object;)Z
    invoke-static {v0, p1, v1}, Lorg/ardverk/collection/PatriciaTrie;->access$600(Lorg/ardverk/collection/PatriciaTrie;Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v0

    return v0
.end method

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

    iget-object v0, p0, Lorg/ardverk/collection/PatriciaTrie$b;->c:Ljava/lang/Object;

    return-object v0
.end method

.method protected b(Ljava/lang/Object;)Z
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TK;)Z"
        }
    .end annotation

    invoke-virtual {p0, p1}, Lorg/ardverk/collection/PatriciaTrie$b;->a(Ljava/lang/Object;)Z

    move-result v0

    return v0
.end method

.method protected b(Ljava/lang/Object;Z)Z
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TK;Z)Z"
        }
    .end annotation

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

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

    # invokes: Lorg/ardverk/collection/PatriciaTrie;->isPrefix(Ljava/lang/Object;Ljava/lang/Object;)Z
    invoke-static {v0, p1, v1}, Lorg/ardverk/collection/PatriciaTrie;->access$600(Lorg/ardverk/collection/PatriciaTrie;Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v0

    return v0
.end method

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

    iget-object v0, p0, Lorg/ardverk/collection/PatriciaTrie$b;->d:Ljava/lang/Object;

    return-object v0
.end method

.method public d()Z
    .registers 2

    const/4 v0, 0x0

    return v0
.end method

.method public e()Z
    .registers 2

    const/4 v0, 0x0

    return v0
.end method

.method public firstKey()Ljava/lang/Object;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()TK;"
        }
    .end annotation

    invoke-direct {p0}, Lorg/ardverk/collection/PatriciaTrie$b;->f()I

    iget-object v0, p0, Lorg/ardverk/collection/PatriciaTrie$b;->c:Ljava/lang/Object;

    if-nez v0, :cond_26

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

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

    move-result-object v0

    move-object v1, v0

    :goto_e
    if-eqz v1, :cond_30

    invoke-interface {v1}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;

    move-result-object v0

    :goto_14
    if-eqz v1, :cond_20

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

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

    # invokes: Lorg/ardverk/collection/PatriciaTrie;->isPrefix(Ljava/lang/Object;Ljava/lang/Object;)Z
    invoke-static {v1, v0, v2}, Lorg/ardverk/collection/PatriciaTrie;->access$600(Lorg/ardverk/collection/PatriciaTrie;Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_32

    :cond_20
    new-instance v0, Ljava/util/NoSuchElementException;

    invoke-direct {v0}, Ljava/util/NoSuchElementException;-><init>()V

    throw v0

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

    iget-object v1, p0, Lorg/ardverk/collection/PatriciaTrie$b;->c:Ljava/lang/Object;

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

    move-result-object v0

    move-object v1, v0

    goto :goto_e

    :cond_30
    const/4 v0, 0x0

    goto :goto_14

    :cond_32
    return-object v0
.end method

.method public lastKey()Ljava/lang/Object;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()TK;"
        }
    .end annotation

    invoke-direct {p0}, Lorg/ardverk/collection/PatriciaTrie$b;->f()I

    iget-object v0, p0, Lorg/ardverk/collection/PatriciaTrie$b;->d:Ljava/lang/Object;

    if-nez v0, :cond_26

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

    # invokes: Lorg/ardverk/collection/PatriciaTrie;->lastEntry()Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;
    invoke-static {v0}, Lorg/ardverk/collection/PatriciaTrie;->access$300(Lorg/ardverk/collection/PatriciaTrie;)Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;

    move-result-object v0

    move-object v1, v0

    :goto_e
    if-eqz v1, :cond_30

    invoke-interface {v1}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;

    move-result-object v0

    :goto_14
    if-eqz v1, :cond_20

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

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

    # invokes: Lorg/ardverk/collection/PatriciaTrie;->isPrefix(Ljava/lang/Object;Ljava/lang/Object;)Z
    invoke-static {v1, v0, v2}, Lorg/ardverk/collection/PatriciaTrie;->access$600(Lorg/ardverk/collection/PatriciaTrie;Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_32

    :cond_20
    new-instance v0, Ljava/util/NoSuchElementException;

    invoke-direct {v0}, Ljava/util/NoSuchElementException;-><init>()V

    throw v0

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

    iget-object v1, p0, Lorg/ardverk/collection/PatriciaTrie$b;->d:Ljava/lang/Object;

    invoke-virtual {v0, v1}, Lorg/ardverk/collection/PatriciaTrie;->lowerEntry(Ljava/lang/Object;)Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;

    move-result-object v0

    move-object v1, v0

    goto :goto_e

    :cond_30
    const/4 v0, 0x0

    goto :goto_14

    :cond_32
    return-object v0
.end method