i.smali

.class Ld/a/a/i;
.super Ljava/lang/Object;
.source "JythonSequenceModel.java"

# interfaces
.implements Lfreemarker/template/G;


# instance fields
.field a:I

.field private final synthetic b:Ld/a/a/j;


# direct methods
.method constructor <init>(Ld/a/a/j;)V
    .registers 2

    .line 1
    iput-object p1, p0, Ld/a/a/i;->b:Ld/a/a/j;

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

    const/4 p1, 0x0

    .line 2
    iput p1, p0, Ld/a/a/i;->a:I

    return-void
.end method


# virtual methods
.method public hasNext()Z
    .registers 3
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lfreemarker/template/TemplateModelException;
        }
    .end annotation

    .line 1
    iget v0, p0, Ld/a/a/i;->a:I

    iget-object v1, p0, Ld/a/a/i;->b:Ld/a/a/j;

    invoke-virtual {v1}, Ld/a/a/j;->size()I

    move-result v1

    if-ge v0, v1, :cond_c

    const/4 v0, 0x1

    goto :goto_d

    :cond_c
    const/4 v0, 0x0

    :goto_d
    return v0
.end method

.method public next()Lfreemarker/template/E;
    .registers 4
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lfreemarker/template/TemplateModelException;
        }
    .end annotation

    .line 1
    iget-object v0, p0, Ld/a/a/i;->b:Ld/a/a/j;

    iget v1, p0, Ld/a/a/i;->a:I

    add-int/lit8 v2, v1, 0x1

    iput v2, p0, Ld/a/a/i;->a:I

    invoke-virtual {v0, v1}, Ld/a/a/j;->get(I)Lfreemarker/template/E;

    move-result-object v0

    return-object v0
.end method