PatriciaTrie$a$b.smali

.class final Lorg/ardverk/collection/PatriciaTrie$a$b;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/util/Iterator;


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

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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Ljava/util/Iterator",
        "<",
        "Ljava/util/Map$Entry",
        "<TK;TV;>;>;"
    }
.end annotation


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

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

.field private c:I


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

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

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

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

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

    return-void
.end method


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

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

    if-eqz v0, :cond_a

    new-instance v0, Ljava/util/NoSuchElementException;

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

    throw v0

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

    add-int/lit8 v0, v0, 0x1

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

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

    return-object v0
.end method

.method public hasNext()Z
    .registers 2

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

    if-nez v0, :cond_6

    const/4 v0, 0x1

    :goto_5
    return v0

    :cond_6
    const/4 v0, 0x0

    goto :goto_5
.end method

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

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

    move-result-object v0

    return-object v0
.end method

.method public remove()V
    .registers 3

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

    const/4 v1, 0x1

    if-eq v0, v1, :cond_b

    new-instance v0, Ljava/lang/IllegalStateException;

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

    throw v0

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

    add-int/lit8 v0, v0, 0x1

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

    iget-object v0, p0, Lorg/ardverk/collection/PatriciaTrie$a$b;->a: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$b;->b:Lorg/ardverk/collection/AbstractPatriciaTrie$TrieEntry;

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

    return-void
.end method