Rabbit-R1/switch port/smali/smali_classes3/kotlin/comparisons/NaturalOrderComparator.smali
2024-05-21 17:08:36 -04:00

140 lines
3.9 KiB
Smali

.class final Lkotlin/comparisons/NaturalOrderComparator;
.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
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000 \n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u000f\n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0002\u0008\u0004\u0008\u00c2\u0002\u0018\u00002\u001e\u0012\n\u0012\u0008\u0012\u0004\u0012\u00020\u00030\u00020\u0001j\u000e\u0012\n\u0012\u0008\u0012\u0004\u0012\u00020\u00030\u0002`\u0004B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0005J$\u0010\u0006\u001a\u00020\u00072\u000c\u0010\u0008\u001a\u0008\u0012\u0004\u0012\u00020\u00030\u00022\u000c\u0010\t\u001a\u0008\u0012\u0004\u0012\u00020\u00030\u0002H\u0016J\"\u0010\n\u001a\u001e\u0012\n\u0012\u0008\u0012\u0004\u0012\u00020\u00030\u00020\u0001j\u000e\u0012\n\u0012\u0008\u0012\u0004\u0012\u00020\u00030\u0002`\u0004\u00a8\u0006\u000b"
}
d2 = {
"Lkotlin/comparisons/NaturalOrderComparator;",
"Ljava/util/Comparator;",
"",
"",
"Lkotlin/Comparator;",
"()V",
"compare",
"",
"a",
"b",
"reversed",
"kotlin-stdlib"
}
k = 0x1
mv = {
0x1,
0x9,
0x0
}
xi = 0x30
.end annotation
# static fields
.field public static final INSTANCE:Lkotlin/comparisons/NaturalOrderComparator;
# direct methods
.method static constructor <clinit>()V
.locals 1
new-instance v0, Lkotlin/comparisons/NaturalOrderComparator;
invoke-direct {v0}, Lkotlin/comparisons/NaturalOrderComparator;-><init>()V
sput-object v0, Lkotlin/comparisons/NaturalOrderComparator;->INSTANCE:Lkotlin/comparisons/NaturalOrderComparator;
return-void
.end method
.method private constructor <init>()V
.locals 0
.line 317
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public compare(Ljava/lang/Comparable;Ljava/lang/Comparable;)I
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Comparable<",
"Ljava/lang/Object;",
">;",
"Ljava/lang/Comparable<",
"Ljava/lang/Object;",
">;)I"
}
.end annotation
const-string p0, "a"
invoke-static {p1, p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string p0, "b"
invoke-static {p2, p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 318
invoke-interface {p1, p2}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
move-result p0
return p0
.end method
.method public bridge synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
.locals 0
.line 317
check-cast p1, Ljava/lang/Comparable;
check-cast p2, Ljava/lang/Comparable;
invoke-virtual {p0, p1, p2}, Lkotlin/comparisons/NaturalOrderComparator;->compare(Ljava/lang/Comparable;Ljava/lang/Comparable;)I
move-result p0
return p0
.end method
.method public final reversed()Ljava/util/Comparator;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Comparator<",
"Ljava/lang/Comparable<",
"Ljava/lang/Object;",
">;>;"
}
.end annotation
.line 320
sget-object p0, Lkotlin/comparisons/ReverseOrderComparator;->INSTANCE:Lkotlin/comparisons/ReverseOrderComparator;
check-cast p0, Ljava/util/Comparator;
return-object p0
.end method