apkfuckery/com.discord/smali_classes2/kotlin/Pair.smali
2020-02-20 20:33:18 +01:00

223 lines
4.6 KiB
Smali

.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 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
.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;
invoke-static {v0, v1}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
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;
invoke-static {v0, p1}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
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 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
.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
invoke-static {v0}, Le/e/b/a/a;->a(C)Ljava/lang/StringBuilder;
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