apkfuckery/com.discord/smali_classes2/k0/j/c.smali

87 lines
1.7 KiB
Smali
Raw Normal View History

2020-09-08 08:16:32 +00:00
.class public final Lk0/j/c;
.super Ljava/lang/Object;
.source "Comparisons.kt"
2020-07-25 00:57:58 +00:00
# interfaces
2020-09-08 08:16:32 +00:00
.implements Ljava/util/Comparator;
2020-07-25 00:57:58 +00:00
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
2020-09-08 08:16:32 +00:00
"Ljava/util/Comparator<",
"Ljava/lang/Comparable<",
"-",
"Ljava/lang/Object;",
">;>;"
2020-07-25 00:57:58 +00:00
}
.end annotation
2020-09-08 08:16:32 +00:00
# static fields
.field public static final d:Lk0/j/c;
2020-07-25 00:57:58 +00:00
2020-09-08 08:16:32 +00:00
# direct methods
.method public static constructor <clinit>()V
.locals 1
2020-07-25 00:57:58 +00:00
2020-09-08 08:16:32 +00:00
new-instance v0, Lk0/j/c;
2020-07-25 00:57:58 +00:00
2020-09-08 08:16:32 +00:00
invoke-direct {v0}, Lk0/j/c;-><init>()V
2020-07-25 00:57:58 +00:00
2020-09-08 08:16:32 +00:00
sput-object v0, Lk0/j/c;->d:Lk0/j/c;
2020-07-25 00:57:58 +00:00
2020-09-08 08:16:32 +00:00
return-void
2020-07-25 00:57:58 +00:00
.end method
2020-09-08 08:16:32 +00:00
.method public constructor <init>()V
2020-07-25 00:57:58 +00:00
.locals 0
2020-09-08 08:16:32 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-07-25 00:57:58 +00:00
2020-09-08 08:16:32 +00:00
return-void
2020-07-25 00:57:58 +00:00
.end method
2020-09-08 08:16:32 +00:00
# virtual methods
.method public compare(Ljava/lang/Object;Ljava/lang/Object;)I
.locals 1
2020-07-25 00:57:58 +00:00
2020-09-08 08:16:32 +00:00
check-cast p1, Ljava/lang/Comparable;
2020-07-25 00:57:58 +00:00
2020-09-08 08:16:32 +00:00
check-cast p2, Ljava/lang/Comparable;
2020-07-25 00:57:58 +00:00
2020-09-09 19:21:20 +00:00
const-string v0, "a"
2020-07-25 00:57:58 +00:00
2020-09-09 19:21:20 +00:00
invoke-static {p1, v0}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-25 00:57:58 +00:00
2020-09-09 19:21:20 +00:00
const-string v0, "b"
invoke-static {p2, v0}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-25 00:57:58 +00:00
2020-09-08 08:16:32 +00:00
invoke-interface {p1, p2}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
2020-07-25 00:57:58 +00:00
2020-09-08 08:16:32 +00:00
move-result p1
2020-07-25 00:57:58 +00:00
2020-09-08 08:16:32 +00:00
return p1
2020-07-25 00:57:58 +00:00
.end method
2020-09-08 08:16:32 +00:00
.method public final reversed()Ljava/util/Comparator;
2020-07-25 00:57:58 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
2020-09-08 08:16:32 +00:00
"Ljava/util/Comparator<",
"Ljava/lang/Comparable<",
"Ljava/lang/Object;",
">;>;"
2020-07-25 00:57:58 +00:00
}
.end annotation
2020-09-08 08:16:32 +00:00
sget-object v0, Lk0/j/d;->d:Lk0/j/d;
2020-07-25 00:57:58 +00:00
return-object v0
.end method