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.
263 lines
6.6 KiB
263 lines
6.6 KiB
.class Lcom/google/common/collect/Maps$ValueDifferenceImpl; |
|
.super Ljava/lang/Object; |
|
.source "Maps.java" |
|
|
|
# interfaces |
|
.implements Lcom/google/common/collect/MapDifference$ValueDifference; |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingClass; |
|
value = Lcom/google/common/collect/Maps; |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x8 |
|
name = "ValueDifferenceImpl" |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<V:", |
|
"Ljava/lang/Object;", |
|
">", |
|
"Ljava/lang/Object;", |
|
"Lcom/google/common/collect/MapDifference$ValueDifference", |
|
"<TV;>;" |
|
} |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field private final left:Ljava/lang/Object; |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"TV;" |
|
} |
|
.end annotation |
|
.end field |
|
|
|
.field private final right:Ljava/lang/Object; |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"TV;" |
|
} |
|
.end annotation |
|
.end field |
|
|
|
|
|
# direct methods |
|
.method private constructor <init>(Ljava/lang/Object;Ljava/lang/Object;)V |
|
.locals 0 |
|
.param p1 # Ljava/lang/Object; |
|
.annotation runtime Ljavax/annotation/Nullable; |
|
.end annotation |
|
.end param |
|
.param p2 # Ljava/lang/Object; |
|
.annotation runtime Ljavax/annotation/Nullable; |
|
.end annotation |
|
.end param |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"(TV;TV;)V" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 538 |
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V |
|
|
|
.line 539 |
|
iput-object p1, p0, Lcom/google/common/collect/Maps$ValueDifferenceImpl;->left:Ljava/lang/Object; |
|
|
|
.line 540 |
|
iput-object p2, p0, Lcom/google/common/collect/Maps$ValueDifferenceImpl;->right:Ljava/lang/Object; |
|
|
|
.line 541 |
|
return-void |
|
.end method |
|
|
|
.method static create(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/MapDifference$ValueDifference; |
|
.locals 1 |
|
.param p0 # Ljava/lang/Object; |
|
.annotation runtime Ljavax/annotation/Nullable; |
|
.end annotation |
|
.end param |
|
.param p1 # Ljava/lang/Object; |
|
.annotation runtime Ljavax/annotation/Nullable; |
|
.end annotation |
|
.end param |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<V:", |
|
"Ljava/lang/Object;", |
|
">(TV;TV;)", |
|
"Lcom/google/common/collect/MapDifference$ValueDifference", |
|
"<TV;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 535 |
|
new-instance v0, Lcom/google/common/collect/Maps$ValueDifferenceImpl; |
|
|
|
invoke-direct {v0, p0, p1}, Lcom/google/common/collect/Maps$ValueDifferenceImpl;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V |
|
|
|
return-object v0 |
|
.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 554 |
|
instance-of v1, p1, Lcom/google/common/collect/MapDifference$ValueDifference; |
|
|
|
if-eqz v1, :cond_0 |
|
|
|
.line 555 |
|
check-cast p1, Lcom/google/common/collect/MapDifference$ValueDifference; |
|
|
|
.line 557 |
|
iget-object v1, p0, Lcom/google/common/collect/Maps$ValueDifferenceImpl;->left:Ljava/lang/Object; |
|
|
|
invoke-interface {p1}, Lcom/google/common/collect/MapDifference$ValueDifference;->leftValue()Ljava/lang/Object; |
|
|
|
move-result-object v2 |
|
|
|
invoke-static {v1, v2}, Lcom/google/common/base/Objects;->equal(Ljava/lang/Object;Ljava/lang/Object;)Z |
|
|
|
move-result v1 |
|
|
|
if-eqz v1, :cond_0 |
|
|
|
iget-object v1, p0, Lcom/google/common/collect/Maps$ValueDifferenceImpl;->right:Ljava/lang/Object; |
|
|
|
invoke-interface {p1}, Lcom/google/common/collect/MapDifference$ValueDifference;->rightValue()Ljava/lang/Object; |
|
|
|
move-result-object v2 |
|
|
|
invoke-static {v1, v2}, Lcom/google/common/base/Objects;->equal(Ljava/lang/Object;Ljava/lang/Object;)Z |
|
|
|
move-result v1 |
|
|
|
if-eqz v1, :cond_0 |
|
|
|
const/4 v0, 0x1 |
|
|
|
.line 560 |
|
:cond_0 |
|
return v0 |
|
.end method |
|
|
|
.method public hashCode()I |
|
.locals 3 |
|
|
|
.prologue |
|
.line 564 |
|
const/4 v0, 0x2 |
|
|
|
new-array v0, v0, [Ljava/lang/Object; |
|
|
|
const/4 v1, 0x0 |
|
|
|
iget-object v2, p0, Lcom/google/common/collect/Maps$ValueDifferenceImpl;->left:Ljava/lang/Object; |
|
|
|
aput-object v2, v0, v1 |
|
|
|
const/4 v1, 0x1 |
|
|
|
iget-object v2, p0, Lcom/google/common/collect/Maps$ValueDifferenceImpl;->right:Ljava/lang/Object; |
|
|
|
aput-object v2, v0, v1 |
|
|
|
invoke-static {v0}, Lcom/google/common/base/Objects;->hashCode([Ljava/lang/Object;)I |
|
|
|
move-result v0 |
|
|
|
return v0 |
|
.end method |
|
|
|
.method public leftValue()Ljava/lang/Object; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"()TV;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 545 |
|
iget-object v0, p0, Lcom/google/common/collect/Maps$ValueDifferenceImpl;->left:Ljava/lang/Object; |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public rightValue()Ljava/lang/Object; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"()TV;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 550 |
|
iget-object v0, p0, Lcom/google/common/collect/Maps$ValueDifferenceImpl;->right:Ljava/lang/Object; |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public toString()Ljava/lang/String; |
|
.locals 2 |
|
|
|
.prologue |
|
.line 568 |
|
new-instance v0, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V |
|
|
|
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/common/collect/Maps$ValueDifferenceImpl;->left: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/common/collect/Maps$ValueDifferenceImpl;->right: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 |
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method
|
|
|