apkfuckery/com.discord/smali_classes2/kotlin/Pair.smali

172 lines
3.5 KiB
Smali
Raw Normal View History

2020-05-17 12:40:10 +00:00
.class public final Lkotlin/Pair;
.super Ljava/lang/Object;
.source "Tuples.kt"
# interfaces
.implements Ljava/io/Serializable;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<A:",
"Ljava/lang/Object;",
"B:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Ljava/io/Serializable;"
}
.end annotation
# instance fields
.field public final first:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TA;"
}
.end annotation
.end field
.field public final second:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TB;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/lang/Object;Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(TA;TB;)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lkotlin/Pair;->first:Ljava/lang/Object;
iput-object p2, p0, Lkotlin/Pair;->second:Ljava/lang/Object;
return-void
.end method
# virtual methods
.method public equals(Ljava/lang/Object;)Z
.locals 2
if-eq p0, p1, :cond_1
instance-of v0, p1, Lkotlin/Pair;
if-eqz v0, :cond_0
check-cast p1, Lkotlin/Pair;
iget-object v0, p0, Lkotlin/Pair;->first:Ljava/lang/Object;
iget-object v1, p1, Lkotlin/Pair;->first:Ljava/lang/Object;
2020-07-25 00:57:58 +00:00
invoke-static {v0, v1}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2020-05-17 12:40:10 +00:00
move-result v0
if-eqz v0, :cond_0
iget-object v0, p0, Lkotlin/Pair;->second:Ljava/lang/Object;
iget-object p1, p1, Lkotlin/Pair;->second:Ljava/lang/Object;
2020-07-25 00:57:58 +00:00
invoke-static {v0, p1}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2020-05-17 12:40:10 +00:00
move-result p1
if-eqz p1, :cond_0
goto :goto_0
:cond_0
const/4 p1, 0x0
return p1
:cond_1
:goto_0
const/4 p1, 0x1
return p1
.end method
.method public hashCode()I
.locals 3
iget-object v0, p0, Lkotlin/Pair;->first:Ljava/lang/Object;
const/4 v1, 0x0
if-eqz v0, :cond_0
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
move-result v0
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
mul-int/lit8 v0, v0, 0x1f
iget-object v2, p0, Lkotlin/Pair;->second:Ljava/lang/Object;
if-eqz v2, :cond_1
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
move-result v1
:cond_1
add-int/2addr v0, v1
return v0
.end method
.method public toString()Ljava/lang/String;
.locals 2
const/16 v0, 0x28
2020-07-14 22:43:59 +00:00
invoke-static {v0}, Lf/e/b/a/a;->B(C)Ljava/lang/StringBuilder;
2020-05-17 12:40:10 +00:00
move-result-object v0
iget-object v1, p0, Lkotlin/Pair;->first: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, Lkotlin/Pair;->second:Ljava/lang/Object;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const/16 v1, 0x29
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method