i.smali
.class public final Lcom/google/gson/i;
.super Lcom/google/gson/l;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Iterable;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/gson/l;",
"Ljava/lang/Iterable<",
"Lcom/google/gson/l;",
">;"
}
.end annotation
# instance fields
.field private final a:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lcom/google/gson/l;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>()V
.registers 2
.line 39
invoke-direct {p0}, Lcom/google/gson/l;-><init>()V
.line 40
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
iput-object v0, p0, Lcom/google/gson/i;->a:Ljava/util/List;
return-void
.end method
.method public constructor <init>(I)V
.registers 3
.line 43
invoke-direct {p0}, Lcom/google/gson/l;-><init>()V
.line 44
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0, p1}, Ljava/util/ArrayList;-><init>(I)V
iput-object v0, p0, Lcom/google/gson/i;->a:Ljava/util/List;
return-void
.end method
# virtual methods
.method public final a()Ljava/lang/Number;
.registers 3
.line 207
iget-object v0, p0, Lcom/google/gson/i;->a:Ljava/util/List;
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v0
const/4 v1, 0x1
if-ne v0, v1, :cond_17
.line 208
iget-object v0, p0, Lcom/google/gson/i;->a:Ljava/util/List;
const/4 v1, 0x0
invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/google/gson/l;
invoke-virtual {v0}, Lcom/google/gson/l;->a()Ljava/lang/Number;
move-result-object v0
return-object v0
.line 210
:cond_17
new-instance v0, Ljava/lang/IllegalStateException;
invoke-direct {v0}, Ljava/lang/IllegalStateException;-><init>()V
throw v0
.end method
.method public final a(Lcom/google/gson/l;)V
.registers 3
if-nez p1, :cond_4
.line 106
sget-object p1, Lcom/google/gson/m;->a:Lcom/google/gson/m;
.line 108
:cond_4
iget-object v0, p0, Lcom/google/gson/i;->a:Ljava/util/List;
invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
return-void
.end method
.method public final b()Ljava/lang/String;
.registers 3
.line 223
iget-object v0, p0, Lcom/google/gson/i;->a:Ljava/util/List;
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v0
const/4 v1, 0x1
if-ne v0, v1, :cond_17
.line 224
iget-object v0, p0, Lcom/google/gson/i;->a:Ljava/util/List;
const/4 v1, 0x0
invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/google/gson/l;
invoke-virtual {v0}, Lcom/google/gson/l;->b()Ljava/lang/String;
move-result-object v0
return-object v0
.line 226
:cond_17
new-instance v0, Ljava/lang/IllegalStateException;
invoke-direct {v0}, Ljava/lang/IllegalStateException;-><init>()V
throw v0
.end method
.method public final c()D
.registers 3
.line 239
iget-object v0, p0, Lcom/google/gson/i;->a:Ljava/util/List;
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v0
const/4 v1, 0x1
if-ne v0, v1, :cond_17
.line 240
iget-object v0, p0, Lcom/google/gson/i;->a:Ljava/util/List;
const/4 v1, 0x0
invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/google/gson/l;
invoke-virtual {v0}, Lcom/google/gson/l;->c()D
move-result-wide v0
return-wide v0
.line 242
:cond_17
new-instance v0, Ljava/lang/IllegalStateException;
invoke-direct {v0}, Ljava/lang/IllegalStateException;-><init>()V
throw v0
.end method
.method public final d()J
.registers 3
.line 305
iget-object v0, p0, Lcom/google/gson/i;->a:Ljava/util/List;
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v0
const/4 v1, 0x1
if-ne v0, v1, :cond_17
.line 306
iget-object v0, p0, Lcom/google/gson/i;->a:Ljava/util/List;
const/4 v1, 0x0
invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/google/gson/l;
invoke-virtual {v0}, Lcom/google/gson/l;->d()J
move-result-wide v0
return-wide v0
.line 308
:cond_17
new-instance v0, Ljava/lang/IllegalStateException;
invoke-direct {v0}, Ljava/lang/IllegalStateException;-><init>()V
throw v0
.end method
.method public final e()I
.registers 3
.line 321
iget-object v0, p0, Lcom/google/gson/i;->a:Ljava/util/List;
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v0
const/4 v1, 0x1
if-ne v0, v1, :cond_17
.line 322
iget-object v0, p0, Lcom/google/gson/i;->a:Ljava/util/List;
const/4 v1, 0x0
invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/google/gson/l;
invoke-virtual {v0}, Lcom/google/gson/l;->e()I
move-result v0
return v0
.line 324
:cond_17
new-instance v0, Ljava/lang/IllegalStateException;
invoke-direct {v0}, Ljava/lang/IllegalStateException;-><init>()V
throw v0
.end method
.method public final equals(Ljava/lang/Object;)Z
.registers 3
if-eq p1, p0, :cond_15
.line 377
instance-of v0, p1, Lcom/google/gson/i;
if-eqz v0, :cond_13
check-cast p1, Lcom/google/gson/i;
iget-object p1, p1, Lcom/google/gson/i;->a:Ljava/util/List;
iget-object v0, p0, Lcom/google/gson/i;->a:Ljava/util/List;
invoke-interface {p1, v0}, Ljava/util/List;->equals(Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_13
goto :goto_15
:cond_13
const/4 p1, 0x0
return p1
:cond_15
:goto_15
const/4 p1, 0x1
return p1
.end method
.method public final f()Z
.registers 3
.line 369
iget-object v0, p0, Lcom/google/gson/i;->a:Ljava/util/List;
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v0
const/4 v1, 0x1
if-ne v0, v1, :cond_17
.line 370
iget-object v0, p0, Lcom/google/gson/i;->a:Ljava/util/List;
const/4 v1, 0x0
invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/google/gson/l;
invoke-virtual {v0}, Lcom/google/gson/l;->f()Z
move-result v0
return v0
.line 372
:cond_17
new-instance v0, Ljava/lang/IllegalStateException;
invoke-direct {v0}, Ljava/lang/IllegalStateException;-><init>()V
throw v0
.end method
.method public final hashCode()I
.registers 2
.line 382
iget-object v0, p0, Lcom/google/gson/i;->a:Ljava/util/List;
invoke-interface {v0}, Ljava/util/List;->hashCode()I
move-result v0
return v0
.end method
.method public final iterator()Ljava/util/Iterator;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Iterator<",
"Lcom/google/gson/l;",
">;"
}
.end annotation
.line 182
iget-object v0, p0, Lcom/google/gson/i;->a:Ljava/util/List;
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v0
return-object v0
.end method