.class final Lcom/google/common/cache/LocalCache$WriteThroughEntry; .super Ljava/lang/Object; .source "LocalCache.java" # interfaces .implements Ljava/util/Map$Entry; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/google/common/cache/LocalCache; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x10 name = "WriteThroughEntry" .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/Object;", "Ljava/util/Map$Entry", ";" } .end annotation # instance fields .field final key:Ljava/lang/Object; .annotation system Ldalvik/annotation/Signature; value = { "TK;" } .end annotation .end field .field final synthetic this$0:Lcom/google/common/cache/LocalCache; .field value:Ljava/lang/Object; .annotation system Ldalvik/annotation/Signature; value = { "TV;" } .end annotation .end field # direct methods .method constructor (Lcom/google/common/cache/LocalCache;Ljava/lang/Object;Ljava/lang/Object;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(TK;TV;)V" } .end annotation .prologue .line 4382 iput-object p1, p0, Lcom/google/common/cache/LocalCache$WriteThroughEntry;->this$0:Lcom/google/common/cache/LocalCache; invoke-direct {p0}, Ljava/lang/Object;->()V .line 4383 iput-object p2, p0, Lcom/google/common/cache/LocalCache$WriteThroughEntry;->key:Ljava/lang/Object; .line 4384 iput-object p3, p0, Lcom/google/common/cache/LocalCache$WriteThroughEntry;->value:Ljava/lang/Object; .line 4385 return-void .end method # virtual methods .method public equals(Ljava/lang/Object;)Z .locals 3 .param p1 # Ljava/lang/Object; .annotation runtime Ljavax/annotation/Nullable; .end annotation .end param .prologue const/4 v0, 0x0 .line 4400 instance-of v1, p1, Ljava/util/Map$Entry; if-eqz v1, :cond_0 .line 4401 check-cast p1, Ljava/util/Map$Entry; .line 4402 iget-object v1, p0, Lcom/google/common/cache/LocalCache$WriteThroughEntry;->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 iget-object v1, p0, Lcom/google/common/cache/LocalCache$WriteThroughEntry;->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 const/4 v0, 0x1 .line 4404 :cond_0 return v0 .end method .method public getKey()Ljava/lang/Object; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()TK;" } .end annotation .prologue .line 4389 iget-object v0, p0, Lcom/google/common/cache/LocalCache$WriteThroughEntry;->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 4394 iget-object v0, p0, Lcom/google/common/cache/LocalCache$WriteThroughEntry;->value:Ljava/lang/Object; return-object v0 .end method .method public hashCode()I .locals 2 .prologue .line 4410 iget-object v0, p0, Lcom/google/common/cache/LocalCache$WriteThroughEntry;->key:Ljava/lang/Object; invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I move-result v0 iget-object v1, p0, Lcom/google/common/cache/LocalCache$WriteThroughEntry;->value:Ljava/lang/Object; invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I move-result v1 xor-int/2addr v0, v1 return v0 .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 4415 new-instance v0, Ljava/lang/UnsupportedOperationException; invoke-direct {v0}, Ljava/lang/UnsupportedOperationException;->()V throw v0 .end method .method public toString()Ljava/lang/String; .locals 2 .prologue .line 4422 new-instance v0, Ljava/lang/StringBuilder; invoke-direct {v0}, Ljava/lang/StringBuilder;->()V invoke-virtual {p0}, Lcom/google/common/cache/LocalCache$WriteThroughEntry;->getKey()Ljava/lang/Object; move-result-object v1 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 invoke-virtual {p0}, Lcom/google/common/cache/LocalCache$WriteThroughEntry;->getValue()Ljava/lang/Object; move-result-object v1 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