2020-07-25 00:57:58 +00:00
|
|
|
.class public final Lj0/j/c;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "Comparisons.kt"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
# interfaces
|
2020-07-25 00:57:58 +00:00
|
|
|
.implements Ljava/util/Comparator;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/lang/Object;",
|
2020-07-25 00:57:58 +00:00
|
|
|
"Ljava/util/Comparator<",
|
|
|
|
"Ljava/lang/Comparable<",
|
|
|
|
"-",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">;>;"
|
2020-05-17 12:40:10 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
# static fields
|
|
|
|
.field public static final d:Lj0/j/c;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
# direct methods
|
|
|
|
.method public static constructor <clinit>()V
|
|
|
|
.locals 1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
new-instance v0, Lj0/j/c;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-direct {v0}, Lj0/j/c;-><init>()V
|
2020-07-20 19:00:44 +00:00
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
sput-object v0, Lj0/j/c;->d:Lj0/j/c;
|
2020-07-20 19:00:44 +00:00
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
return-void
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
.method public constructor <init>()V
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 0
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
return-void
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
# virtual methods
|
|
|
|
.method public compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
|
|
|
.locals 1
|
2020-07-20 19:00:44 +00:00
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
check-cast p1, Ljava/lang/Comparable;
|
2020-07-20 19:00:44 +00:00
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
check-cast p2, Ljava/lang/Comparable;
|
2020-07-20 19:00:44 +00:00
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
if-eqz p1, :cond_1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
if-eqz p2, :cond_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-interface {p1, p2}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
|
2020-07-20 19:00:44 +00:00
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
move-result p1
|
2020-07-20 19:00:44 +00:00
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
return p1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:cond_0
|
2020-07-25 00:57:58 +00:00
|
|
|
const-string p1, "b"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
throw v0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:cond_1
|
2020-07-25 00:57:58 +00:00
|
|
|
const-string p1, "a"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
throw v0
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
.method public final reversed()Ljava/util/Comparator;
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"()",
|
2020-07-25 00:57:58 +00:00
|
|
|
"Ljava/util/Comparator<",
|
|
|
|
"Ljava/lang/Comparable<",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">;>;"
|
2020-05-17 12:40:10 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
sget-object v0, Lj0/j/d;->d:Lj0/j/d;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|