h$a.smali

.class final Lcom/cm/a/a/h$a;
.super Ljava/lang/Object;
.source "MapCollections.java"

# interfaces
.implements Ljava/util/Iterator;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/cm/a/a/h;
.end annotation

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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "<T:",
        "Ljava/lang/Object;",
        ">",
        "Ljava/lang/Object;",
        "Ljava/util/Iterator",
        "<TT;>;"
    }
.end annotation


# instance fields
.field final a:I

.field b:I

.field c:I

.field d:Z

.field final synthetic e:Lcom/cm/a/a/h;


# direct methods
.method constructor <init>(Lcom/cm/a/a/h;I)V
    .registers 4

    .prologue
    .line 25
    iput-object p1, p0, Lcom/cm/a/a/h$a;->e:Lcom/cm/a/a/h;

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

    .line 23
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/cm/a/a/h$a;->d:Z

    .line 26
    iput p2, p0, Lcom/cm/a/a/h$a;->a:I

    .line 27
    invoke-virtual {p1}, Lcom/cm/a/a/h;->a()I

    move-result v0

    iput v0, p0, Lcom/cm/a/a/h$a;->b:I

    .line 28
    return-void
.end method


# virtual methods
.method public hasNext()Z
    .registers 3

    .prologue
    .line 32
    iget v0, p0, Lcom/cm/a/a/h$a;->c:I

    iget v1, p0, Lcom/cm/a/a/h$a;->b:I

    if-ge v0, v1, :cond_8

    const/4 v0, 0x1

    :goto_7
    return v0

    :cond_8
    const/4 v0, 0x0

    goto :goto_7
.end method

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

    .prologue
    .line 37
    iget-object v0, p0, Lcom/cm/a/a/h$a;->e:Lcom/cm/a/a/h;

    iget v1, p0, Lcom/cm/a/a/h$a;->c:I

    iget v2, p0, Lcom/cm/a/a/h$a;->a:I

    invoke-virtual {v0, v1, v2}, Lcom/cm/a/a/h;->a(II)Ljava/lang/Object;

    move-result-object v0

    .line 38
    iget v1, p0, Lcom/cm/a/a/h$a;->c:I

    add-int/lit8 v1, v1, 0x1

    iput v1, p0, Lcom/cm/a/a/h$a;->c:I

    .line 39
    const/4 v1, 0x1

    iput-boolean v1, p0, Lcom/cm/a/a/h$a;->d:Z

    .line 40
    return-object v0
.end method

.method public remove()V
    .registers 3

    .prologue
    .line 45
    iget-boolean v0, p0, Lcom/cm/a/a/h$a;->d:Z

    if-nez v0, :cond_a

    .line 46
    new-instance v0, Ljava/lang/IllegalStateException;

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

    throw v0

    .line 48
    :cond_a
    iget v0, p0, Lcom/cm/a/a/h$a;->c:I

    add-int/lit8 v0, v0, -0x1

    iput v0, p0, Lcom/cm/a/a/h$a;->c:I

    .line 49
    iget v0, p0, Lcom/cm/a/a/h$a;->b:I

    add-int/lit8 v0, v0, -0x1

    iput v0, p0, Lcom/cm/a/a/h$a;->b:I

    .line 50
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/cm/a/a/h$a;->d:Z

    .line 51
    iget-object v0, p0, Lcom/cm/a/a/h$a;->e:Lcom/cm/a/a/h;

    iget v1, p0, Lcom/cm/a/a/h$a;->c:I

    invoke-virtual {v0, v1}, Lcom/cm/a/a/h;->a(I)V

    .line 52
    return-void
.end method