You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
441 lines
11 KiB
441 lines
11 KiB
.class final Lcom/google/gson/internal/LinkedHashTreeMap$Node; |
|
.super Ljava/lang/Object; |
|
.source "LinkedHashTreeMap.java" |
|
|
|
# interfaces |
|
.implements Ljava/util/Map$Entry; |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingClass; |
|
value = Lcom/google/gson/internal/LinkedHashTreeMap; |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x18 |
|
name = "Node" |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">", |
|
"Ljava/lang/Object;", |
|
"Ljava/util/Map$Entry", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field final hash:I |
|
|
|
.field height:I |
|
|
|
.field final key:Ljava/lang/Object; |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"TK;" |
|
} |
|
.end annotation |
|
.end field |
|
|
|
.field left:Lcom/google/gson/internal/LinkedHashTreeMap$Node; |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"Lcom/google/gson/internal/LinkedHashTreeMap$Node", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
.end field |
|
|
|
.field next:Lcom/google/gson/internal/LinkedHashTreeMap$Node; |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"Lcom/google/gson/internal/LinkedHashTreeMap$Node", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
.end field |
|
|
|
.field parent:Lcom/google/gson/internal/LinkedHashTreeMap$Node; |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"Lcom/google/gson/internal/LinkedHashTreeMap$Node", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
.end field |
|
|
|
.field prev:Lcom/google/gson/internal/LinkedHashTreeMap$Node; |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"Lcom/google/gson/internal/LinkedHashTreeMap$Node", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
.end field |
|
|
|
.field right:Lcom/google/gson/internal/LinkedHashTreeMap$Node; |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"Lcom/google/gson/internal/LinkedHashTreeMap$Node", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
.end field |
|
|
|
.field value:Ljava/lang/Object; |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"TV;" |
|
} |
|
.end annotation |
|
.end field |
|
|
|
|
|
# direct methods |
|
.method constructor <init>()V |
|
.locals 1 |
|
|
|
.prologue |
|
.line 479 |
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V |
|
|
|
.line 480 |
|
const/4 v0, 0x0 |
|
|
|
iput-object v0, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->key:Ljava/lang/Object; |
|
|
|
.line 481 |
|
const/4 v0, -0x1 |
|
|
|
iput v0, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->hash:I |
|
|
|
.line 482 |
|
iput-object p0, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->prev:Lcom/google/gson/internal/LinkedHashTreeMap$Node; |
|
|
|
iput-object p0, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->next:Lcom/google/gson/internal/LinkedHashTreeMap$Node; |
|
|
|
.line 483 |
|
return-void |
|
.end method |
|
|
|
.method constructor <init>(Lcom/google/gson/internal/LinkedHashTreeMap$Node;Ljava/lang/Object;ILcom/google/gson/internal/LinkedHashTreeMap$Node;Lcom/google/gson/internal/LinkedHashTreeMap$Node;)V |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"(", |
|
"Lcom/google/gson/internal/LinkedHashTreeMap$Node", |
|
"<TK;TV;>;TK;I", |
|
"Lcom/google/gson/internal/LinkedHashTreeMap$Node", |
|
"<TK;TV;>;", |
|
"Lcom/google/gson/internal/LinkedHashTreeMap$Node", |
|
"<TK;TV;>;)V" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 486 |
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V |
|
|
|
.line 487 |
|
iput-object p1, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->parent:Lcom/google/gson/internal/LinkedHashTreeMap$Node; |
|
|
|
.line 488 |
|
iput-object p2, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->key:Ljava/lang/Object; |
|
|
|
.line 489 |
|
iput p3, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->hash:I |
|
|
|
.line 490 |
|
const/4 v0, 0x1 |
|
|
|
iput v0, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->height:I |
|
|
|
.line 491 |
|
iput-object p4, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->next:Lcom/google/gson/internal/LinkedHashTreeMap$Node; |
|
|
|
.line 492 |
|
iput-object p5, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->prev:Lcom/google/gson/internal/LinkedHashTreeMap$Node; |
|
|
|
.line 493 |
|
iput-object p0, p5, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->next:Lcom/google/gson/internal/LinkedHashTreeMap$Node; |
|
|
|
.line 494 |
|
iput-object p0, p4, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->prev:Lcom/google/gson/internal/LinkedHashTreeMap$Node; |
|
|
|
.line 495 |
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public equals(Ljava/lang/Object;)Z |
|
.locals 3 |
|
|
|
.prologue |
|
const/4 v0, 0x0 |
|
|
|
.line 513 |
|
instance-of v1, p1, Ljava/util/Map$Entry; |
|
|
|
if-eqz v1, :cond_0 |
|
|
|
.line 514 |
|
check-cast p1, Ljava/util/Map$Entry; |
|
|
|
.line 515 |
|
iget-object v1, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->key:Ljava/lang/Object; |
|
|
|
if-nez v1, :cond_1 |
|
|
|
invoke-interface {p1}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object; |
|
|
|
move-result-object v1 |
|
|
|
if-nez v1, :cond_0 |
|
|
|
:goto_0 |
|
iget-object v1, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->value:Ljava/lang/Object; |
|
|
|
if-nez v1, :cond_2 |
|
|
|
invoke-interface {p1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; |
|
|
|
move-result-object v1 |
|
|
|
if-nez v1, :cond_0 |
|
|
|
:goto_1 |
|
const/4 v0, 0x1 |
|
|
|
.line 518 |
|
:cond_0 |
|
return v0 |
|
|
|
.line 515 |
|
:cond_1 |
|
iget-object v1, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->key:Ljava/lang/Object; |
|
|
|
invoke-interface {p1}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object; |
|
|
|
move-result-object v2 |
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z |
|
|
|
move-result v1 |
|
|
|
if-eqz v1, :cond_0 |
|
|
|
goto :goto_0 |
|
|
|
:cond_2 |
|
iget-object v1, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->value:Ljava/lang/Object; |
|
|
|
invoke-interface {p1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; |
|
|
|
move-result-object v2 |
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z |
|
|
|
move-result v1 |
|
|
|
if-eqz v1, :cond_0 |
|
|
|
goto :goto_1 |
|
.end method |
|
|
|
.method public first()Lcom/google/gson/internal/LinkedHashTreeMap$Node; |
|
.locals 2 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"()", |
|
"Lcom/google/gson/internal/LinkedHashTreeMap$Node", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 534 |
|
.line 535 |
|
iget-object v0, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->left:Lcom/google/gson/internal/LinkedHashTreeMap$Node; |
|
|
|
.line 536 |
|
:goto_0 |
|
if-eqz v0, :cond_0 |
|
|
|
.line 538 |
|
iget-object v1, v0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->left:Lcom/google/gson/internal/LinkedHashTreeMap$Node; |
|
|
|
move-object p0, v0 |
|
|
|
move-object v0, v1 |
|
|
|
goto :goto_0 |
|
|
|
.line 540 |
|
:cond_0 |
|
return-object p0 |
|
.end method |
|
|
|
.method public getKey()Ljava/lang/Object; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"()TK;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 498 |
|
iget-object v0, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->key:Ljava/lang/Object; |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public getValue()Ljava/lang/Object; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"()TV;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 502 |
|
iget-object v0, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->value:Ljava/lang/Object; |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public hashCode()I |
|
.locals 3 |
|
|
|
.prologue |
|
const/4 v1, 0x0 |
|
|
|
.line 522 |
|
iget-object v0, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->key:Ljava/lang/Object; |
|
|
|
if-nez v0, :cond_0 |
|
|
|
move v0, v1 |
|
|
|
:goto_0 |
|
iget-object v2, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->value:Ljava/lang/Object; |
|
|
|
if-nez v2, :cond_1 |
|
|
|
:goto_1 |
|
xor-int/2addr v0, v1 |
|
|
|
return v0 |
|
|
|
:cond_0 |
|
iget-object v0, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->key:Ljava/lang/Object; |
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I |
|
|
|
move-result v0 |
|
|
|
goto :goto_0 |
|
|
|
:cond_1 |
|
iget-object v1, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->value:Ljava/lang/Object; |
|
|
|
invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I |
|
|
|
move-result v1 |
|
|
|
goto :goto_1 |
|
.end method |
|
|
|
.method public last()Lcom/google/gson/internal/LinkedHashTreeMap$Node; |
|
.locals 2 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"()", |
|
"Lcom/google/gson/internal/LinkedHashTreeMap$Node", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 547 |
|
.line 548 |
|
iget-object v0, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->right:Lcom/google/gson/internal/LinkedHashTreeMap$Node; |
|
|
|
.line 549 |
|
:goto_0 |
|
if-eqz v0, :cond_0 |
|
|
|
.line 551 |
|
iget-object v1, v0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->right:Lcom/google/gson/internal/LinkedHashTreeMap$Node; |
|
|
|
move-object p0, v0 |
|
|
|
move-object v0, v1 |
|
|
|
goto :goto_0 |
|
|
|
.line 553 |
|
:cond_0 |
|
return-object p0 |
|
.end method |
|
|
|
.method public setValue(Ljava/lang/Object;)Ljava/lang/Object; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"(TV;)TV;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 506 |
|
iget-object v0, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->value:Ljava/lang/Object; |
|
|
|
.line 507 |
|
iput-object p1, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->value:Ljava/lang/Object; |
|
|
|
.line 508 |
|
return-object v0 |
|
.end method |
|
|
|
.method public toString()Ljava/lang/String; |
|
.locals 2 |
|
|
|
.prologue |
|
.line 527 |
|
new-instance v0, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V |
|
|
|
iget-object v1, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->key:Ljava/lang/Object; |
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
const-string v1, "=" |
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v1, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->value:Ljava/lang/Object; |
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method
|
|
|