2020-03-27 22:23:51 +00:00
|
|
|
.class public final Ly/r/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "Comparisons.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Ljava/util/Comparator;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"Ljava/util/Comparator<",
|
|
|
|
"Ljava/lang/Comparable<",
|
|
|
|
"-",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
2020-03-27 22:23:51 +00:00
|
|
|
.field public static final d:Ly/r/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public static constructor <clinit>()V
|
|
|
|
.locals 1
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance v0, Ly/r/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {v0}, Ly/r/c;-><init>()V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sput-object v0, Ly/r/c;->d:Ly/r/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.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 {p1, p2}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
return p1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "b"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p1, "a"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final reversed()Ljava/util/Comparator;
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"()",
|
|
|
|
"Ljava/util/Comparator<",
|
|
|
|
"Ljava/lang/Comparable<",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v0, Ly/r/d;->d:Ly/r/d;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|