g.smali
.class public final Lcom/google/firebase/database/collection/g;
.super Lcom/google/firebase/database/collection/k;
# annotations
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">",
"Lcom/google/firebase/database/collection/k",
"<TK;TV;>;"
}
.end annotation
# instance fields
.field private size:I
# direct methods
.method constructor <init>(Ljava/lang/Object;Ljava/lang/Object;Lcom/google/firebase/database/collection/LLRBNode;Lcom/google/firebase/database/collection/LLRBNode;)V
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(TK;TV;",
"Lcom/google/firebase/database/collection/LLRBNode",
"<TK;TV;>;",
"Lcom/google/firebase/database/collection/LLRBNode",
"<TK;TV;>;)V"
}
.end annotation
invoke-direct {p0, p1, p2, p3, p4}, Lcom/google/firebase/database/collection/k;-><init>(Ljava/lang/Object;Ljava/lang/Object;Lcom/google/firebase/database/collection/LLRBNode;Lcom/google/firebase/database/collection/LLRBNode;)V
const/4 v0, -0x1
iput v0, p0, Lcom/google/firebase/database/collection/g;->size:I
return-void
.end method
# virtual methods
.method protected final a(Ljava/lang/Object;Ljava/lang/Object;Lcom/google/firebase/database/collection/LLRBNode;Lcom/google/firebase/database/collection/LLRBNode;)Lcom/google/firebase/database/collection/k;
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(TK;TV;",
"Lcom/google/firebase/database/collection/LLRBNode",
"<TK;TV;>;",
"Lcom/google/firebase/database/collection/LLRBNode",
"<TK;TV;>;)",
"Lcom/google/firebase/database/collection/k",
"<TK;TV;>;"
}
.end annotation
.prologue
.line 0
if-nez p1, :cond_4
.line 3000
iget-object p1, p0, Lcom/google/firebase/database/collection/k;->bck:Ljava/lang/Object;
.line 0
:cond_4
if-nez p2, :cond_8
.line 4000
iget-object p2, p0, Lcom/google/firebase/database/collection/k;->value:Ljava/lang/Object;
.line 0
:cond_8
if-nez p3, :cond_c
.line 5000
iget-object p3, p0, Lcom/google/firebase/database/collection/k;->bcl:Lcom/google/firebase/database/collection/LLRBNode;
.line 0
:cond_c
if-nez p4, :cond_10
.line 6000
iget-object p4, p0, Lcom/google/firebase/database/collection/k;->bcm:Lcom/google/firebase/database/collection/LLRBNode;
.line 0
:cond_10
new-instance v0, Lcom/google/firebase/database/collection/g;
invoke-direct {v0, p1, p2, p3, p4}, Lcom/google/firebase/database/collection/g;-><init>(Ljava/lang/Object;Ljava/lang/Object;Lcom/google/firebase/database/collection/LLRBNode;Lcom/google/firebase/database/collection/LLRBNode;)V
return-object v0
.end method
.method final a(Lcom/google/firebase/database/collection/LLRBNode;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/firebase/database/collection/LLRBNode",
"<TK;TV;>;)V"
}
.end annotation
iget v0, p0, Lcom/google/firebase/database/collection/g;->size:I
const/4 v1, -0x1
if-eq v0, v1, :cond_d
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "Can\'t set left after using size"
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
:cond_d
invoke-super {p0, p1}, Lcom/google/firebase/database/collection/k;->a(Lcom/google/firebase/database/collection/LLRBNode;)V
return-void
.end method
.method public final size()I
.registers 3
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
.prologue
.line 0
iget v0, p0, Lcom/google/firebase/database/collection/g;->size:I
const/4 v1, -0x1
if-ne v0, v1, :cond_16
.line 1000
iget-object v0, p0, Lcom/google/firebase/database/collection/k;->bcl:Lcom/google/firebase/database/collection/LLRBNode;
.line 0
invoke-interface {v0}, Lcom/google/firebase/database/collection/LLRBNode;->size()I
move-result v0
add-int/lit8 v0, v0, 0x1
.line 2000
iget-object v1, p0, Lcom/google/firebase/database/collection/k;->bcm:Lcom/google/firebase/database/collection/LLRBNode;
.line 0
invoke-interface {v1}, Lcom/google/firebase/database/collection/LLRBNode;->size()I
move-result v1
add-int/2addr v0, v1
iput v0, p0, Lcom/google/firebase/database/collection/g;->size:I
:cond_16
iget v0, p0, Lcom/google/firebase/database/collection/g;->size:I
return v0
.end method
.method protected final zh()Lcom/google/firebase/database/collection/LLRBNode$Color;
.registers 2
sget-object v0, Lcom/google/firebase/database/collection/LLRBNode$Color;->zzo:Lcom/google/firebase/database/collection/LLRBNode$Color;
return-object v0
.end method
.method public final zi()Z
.registers 2
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
const/4 v0, 0x0
return v0
.end method