87 lines
1.7 KiB
Smali
87 lines
1.7 KiB
Smali
|
.class public final Lz/j/d;
|
||
|
.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
|
||
|
.field public static final d:Lz/j/d;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public static constructor <clinit>()V
|
||
|
.locals 1
|
||
|
|
||
|
new-instance v0, Lz/j/d;
|
||
|
|
||
|
invoke-direct {v0}, Lz/j/d;-><init>()V
|
||
|
|
||
|
sput-object v0, Lz/j/d;->d:Lz/j/d;
|
||
|
|
||
|
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-string v0, "a"
|
||
|
|
||
|
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "b"
|
||
|
|
||
|
invoke-static {p2, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
invoke-interface {p2, p1}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
return p1
|
||
|
.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
|
||
|
|
||
|
sget-object v0, Lz/j/c;->d:Lz/j/c;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|