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