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

224 lines
4.6 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +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
2019-12-06 03:29:40 +00:00
.field public final first:Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"TA;"
}
.end annotation
.end field
2019-12-06 03:29:40 +00:00
.field public final second:Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
.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
2019-10-09 23:16:36 +00:00
.method public final component1()Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()TA;"
}
.end annotation
iget-object v0, p0, Lkotlin/Pair;->first:Ljava/lang/Object;
return-object v0
.end method
.method public final component2()Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()TB;"
}
.end annotation
iget-object v0, p0, Lkotlin/Pair;->second:Ljava/lang/Object;
return-object v0
.end method
2019-12-06 03:29:40 +00:00
.method public equals(Ljava/lang/Object;)Z
2019-07-24 11:27:29 +00:00
.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-04-11 15:34:05 +00:00
invoke-static {v0, v1}, Lz/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2019-07-24 11:27:29 +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-04-11 15:34:05 +00:00
invoke-static {v0, p1}, Lz/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2019-07-24 11:27:29 +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
2019-10-09 23:16:36 +00:00
.method public final getFirst()Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()TA;"
}
.end annotation
iget-object v0, p0, Lkotlin/Pair;->first:Ljava/lang/Object;
return-object v0
.end method
.method public final getSecond()Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()TB;"
}
.end annotation
iget-object v0, p0, Lkotlin/Pair;->second:Ljava/lang/Object;
return-object v0
.end method
2019-12-06 03:29:40 +00:00
.method public hashCode()I
2019-07-24 11:27:29 +00:00
.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
2019-12-06 03:29:40 +00:00
.method public toString()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
.locals 2
2019-12-06 03:29:40 +00:00
const/16 v0, 0x28
2019-07-24 11:27:29 +00:00
2020-04-11 15:34:05 +00:00
invoke-static {v0}, Lf/e/b/a/a;->a(C)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
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