n.smali
.class final Lcom/google/firebase/database/collection/n;
.super Ljava/lang/Object;
# interfaces
.implements Ljava/util/Iterator;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/util/Iterator",
"<",
"Ljava/util/Map$Entry",
"<TK;TV;>;>;"
}
.end annotation
# instance fields
.field private bcr:I
.field private final synthetic bcs:I
.field private final synthetic bct:Lcom/google/firebase/database/collection/m;
.field private final synthetic zzf:Z
# direct methods
.method constructor <init>(Lcom/google/firebase/database/collection/m;IZ)V
.registers 5
iput-object p1, p0, Lcom/google/firebase/database/collection/n;->bct:Lcom/google/firebase/database/collection/m;
iput p2, p0, Lcom/google/firebase/database/collection/n;->bcs:I
iput-boolean p3, p0, Lcom/google/firebase/database/collection/n;->zzf:Z
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iget v0, p0, Lcom/google/firebase/database/collection/n;->bcs:I
iput v0, p0, Lcom/google/firebase/database/collection/n;->bcr:I
return-void
.end method
# virtual methods
.method public final hasNext()Z
.registers 5
const/4 v0, 0x1
const/4 v1, 0x0
iget-boolean v2, p0, Lcom/google/firebase/database/collection/n;->zzf:Z
if-eqz v2, :cond_d
iget v2, p0, Lcom/google/firebase/database/collection/n;->bcr:I
if-ltz v2, :cond_b
:cond_a
:goto_a
return v0
:cond_b
move v0, v1
goto :goto_a
:cond_d
iget v2, p0, Lcom/google/firebase/database/collection/n;->bcr:I
iget-object v3, p0, Lcom/google/firebase/database/collection/n;->bct:Lcom/google/firebase/database/collection/m;
invoke-static {v3}, Lcom/google/firebase/database/collection/m;->a(Lcom/google/firebase/database/collection/m;)[Ljava/lang/Object;
move-result-object v3
array-length v3, v3
if-lt v2, v3, :cond_a
move v0, v1
goto :goto_a
.end method
.method public final synthetic next()Ljava/lang/Object;
.registers 4
iget-object v0, p0, Lcom/google/firebase/database/collection/n;->bct:Lcom/google/firebase/database/collection/m;
invoke-static {v0}, Lcom/google/firebase/database/collection/m;->a(Lcom/google/firebase/database/collection/m;)[Ljava/lang/Object;
move-result-object v0
iget v1, p0, Lcom/google/firebase/database/collection/n;->bcr:I
aget-object v1, v0, v1
iget-object v0, p0, Lcom/google/firebase/database/collection/n;->bct:Lcom/google/firebase/database/collection/m;
invoke-static {v0}, Lcom/google/firebase/database/collection/m;->b(Lcom/google/firebase/database/collection/m;)[Ljava/lang/Object;
move-result-object v0
iget v2, p0, Lcom/google/firebase/database/collection/n;->bcr:I
aget-object v2, v0, v2
iget-boolean v0, p0, Lcom/google/firebase/database/collection/n;->zzf:Z
if-eqz v0, :cond_24
iget v0, p0, Lcom/google/firebase/database/collection/n;->bcr:I
add-int/lit8 v0, v0, -0x1
:goto_1c
iput v0, p0, Lcom/google/firebase/database/collection/n;->bcr:I
new-instance v0, Ljava/util/AbstractMap$SimpleImmutableEntry;
invoke-direct {v0, v1, v2}, Ljava/util/AbstractMap$SimpleImmutableEntry;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
return-object v0
:cond_24
iget v0, p0, Lcom/google/firebase/database/collection/n;->bcr:I
add-int/lit8 v0, v0, 0x1
goto :goto_1c
.end method
.method public final remove()V
.registers 3
new-instance v0, Ljava/lang/UnsupportedOperationException;
const-string v1, "Can\'t remove elements from ImmutableSortedMap"
invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw v0
.end method