123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384 |
- .class final Lcom/google/gson/internal/LinkedHashTreeMap$Node;
- .super Ljava/lang/Object;
- .source ""
- # 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
- invoke-direct {p0}, Ljava/lang/Object;-><init>()V
- const/4 v0, 0x0
- iput-object v0, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->key:Ljava/lang/Object;
- const/4 v0, -0x1
- iput v0, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->hash:I
- 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;
- 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 0
- .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
- invoke-direct {p0}, Ljava/lang/Object;-><init>()V
- iput-object p1, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->parent:Lcom/google/gson/internal/LinkedHashTreeMap$Node;
- iput-object p2, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->key:Ljava/lang/Object;
- iput p3, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->hash:I
- const/4 p1, 0x1
- iput p1, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->height:I
- iput-object p4, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->next:Lcom/google/gson/internal/LinkedHashTreeMap$Node;
- iput-object p5, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->prev:Lcom/google/gson/internal/LinkedHashTreeMap$Node;
- iput-object p0, p5, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->next:Lcom/google/gson/internal/LinkedHashTreeMap$Node;
- iput-object p0, p4, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->prev:Lcom/google/gson/internal/LinkedHashTreeMap$Node;
- return-void
- .end method
- # virtual methods
- .method public equals(Ljava/lang/Object;)Z
- .locals 3
- instance-of v0, p1, Ljava/util/Map$Entry;
- const/4 v1, 0x0
- if-eqz v0, :cond_2
- check-cast p1, Ljava/util/Map$Entry;
- iget-object v0, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->key:Ljava/lang/Object;
- if-nez v0, :cond_0
- invoke-interface {p1}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
- move-result-object v0
- if-nez v0, :cond_2
- goto :goto_0
- :cond_0
- invoke-interface {p1}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
- move-result-object v2
- invoke-virtual {v0, v2}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
- move-result v0
- if-eqz v0, :cond_2
- :goto_0
- iget-object v0, 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 p1
- if-nez v0, :cond_1
- if-nez p1, :cond_2
- goto :goto_1
- :cond_1
- invoke-virtual {v0, p1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
- move-result p1
- if-eqz p1, :cond_2
- :goto_1
- const/4 v1, 0x1
- :cond_2
- return v1
- .end method
- .method public first()Lcom/google/gson/internal/LinkedHashTreeMap$Node;
- .locals 3
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "()",
- "Lcom/google/gson/internal/LinkedHashTreeMap$Node<",
- "TK;TV;>;"
- }
- .end annotation
- iget-object v0, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->left:Lcom/google/gson/internal/LinkedHashTreeMap$Node;
- move-object v1, p0
- :goto_0
- if-eqz v0, :cond_0
- iget-object v1, v0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->left:Lcom/google/gson/internal/LinkedHashTreeMap$Node;
- move-object v2, v1
- move-object v1, v0
- move-object v0, v2
- goto :goto_0
- :cond_0
- return-object v1
- .end method
- .method public getKey()Ljava/lang/Object;
- .locals 1
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "()TK;"
- }
- .end annotation
- 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
- 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
- iget-object v0, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->key:Ljava/lang/Object;
- const/4 v1, 0x0
- if-nez v0, :cond_0
- const/4 v0, 0x0
- goto :goto_0
- :cond_0
- invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
- move-result v0
- :goto_0
- iget-object v2, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->value:Ljava/lang/Object;
- if-nez v2, :cond_1
- goto :goto_1
- :cond_1
- invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
- move-result v1
- :goto_1
- xor-int/2addr v0, v1
- return v0
- .end method
- .method public last()Lcom/google/gson/internal/LinkedHashTreeMap$Node;
- .locals 3
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "()",
- "Lcom/google/gson/internal/LinkedHashTreeMap$Node<",
- "TK;TV;>;"
- }
- .end annotation
- iget-object v0, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->right:Lcom/google/gson/internal/LinkedHashTreeMap$Node;
- move-object v1, p0
- :goto_0
- if-eqz v0, :cond_0
- iget-object v1, v0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->right:Lcom/google/gson/internal/LinkedHashTreeMap$Node;
- move-object v2, v1
- move-object v1, v0
- move-object v0, v2
- goto :goto_0
- :cond_0
- return-object v1
- .end method
- .method public setValue(Ljava/lang/Object;)Ljava/lang/Object;
- .locals 1
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "(TV;)TV;"
- }
- .end annotation
- iget-object v0, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->value:Ljava/lang/Object;
- iput-object p1, p0, Lcom/google/gson/internal/LinkedHashTreeMap$Node;->value:Ljava/lang/Object;
- return-object v0
- .end method
- .method public toString()Ljava/lang/String;
- .locals 2
- 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;
- const-string v1, "="
- invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
- 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;
- invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
- move-result-object v0
- return-object v0
- .end method
|