granularity level: instruction
.class public Landroidx/core/util/Pair;
.super Ljava/lang/Object;
.source "Pair.java"
.annotation system Ldalvik/annotation/Signature;
value = {
"<F:",
"Ljava/lang/Object;",
"S:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;"
}
.end annotation
.field public final first:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TF;"
}
.end annotation
.end field
.field public final second:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TS;"
}
.end annotation
.end field
.method public constructor <init>(Ljava/lang/Object;Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(TF;TS;)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/core/util/Pair;->first:Ljava/lang/Object;
iput-object p2, p0, Landroidx/core/util/Pair;->second:Ljava/lang/Object;
return-void
.end method
.method public static create(Ljava/lang/Object;Ljava/lang/Object;)Landroidx/core/util/Pair;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<A:",
"Ljava/lang/Object;",
"B:",
"Ljava/lang/Object;",
">(TA;TB;)",
"Landroidx/core/util/Pair<",
"TA;TB;>;"
}
.end annotation
new-instance v0, Landroidx/core/util/Pair;
invoke-direct {v0, p0, p1}, Landroidx/core/util/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
return-object v0
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 3
instance-of v0, p1, Landroidx/core/util/Pair;
const/4 v1, 0x0
if-nez v0, :cond_0
return v1
:cond_0
check-cast p1, Landroidx/core/util/Pair;
iget-object v0, p1, Landroidx/core/util/Pair;->first:Ljava/lang/Object;
iget-object v2, p0, Landroidx/core/util/Pair;->first:Ljava/lang/Object;
invoke-static {v0, v2}, Landroidx/core/util/ObjectsCompat;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_1
iget-object p1, p1, Landroidx/core/util/Pair;->second:Ljava/lang/Object;
iget-object v0, p0, Landroidx/core/util/Pair;->second:Ljava/lang/Object;
invoke-static {p1, v0}, Landroidx/core/util/ObjectsCompat;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_1
const/4 v1, 0x1
:cond_1
return v1
.end method
.method public hashCode()I
.locals 3
iget-object v0, p0, Landroidx/core/util/Pair;->first: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, Landroidx/core/util/Pair;->second: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 toString()Ljava/lang/String;
.locals 2
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "Pair{"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Landroidx/core/util/Pair;->first:Ljava/lang/Object;
invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, " "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Landroidx/core/util/Pair;->second:Ljava/lang/Object;
invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, "}"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method