apkfuckery/com.discord/smali/kotlin/a/r.smali
2019-07-29 22:14:17 +02:00

71 lines
1.6 KiB
Smali

.class public Lkotlin/a/r;
.super Lkotlin/a/q;
.source "MutableCollectionsJVM.kt"
# direct methods
.method public static final a(Ljava/util/List;Ljava/util/Comparator;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/List<",
"TT;>;",
"Ljava/util/Comparator<",
"-TT;>;)V"
}
.end annotation
const-string v0, "$this$sortWith"
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "comparator"
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
invoke-interface {p0}, Ljava/util/List;->size()I
move-result v0
const/4 v1, 0x1
if-le v0, v1, :cond_0
invoke-static {p0, p1}, Ljava/util/Collections;->sort(Ljava/util/List;Ljava/util/Comparator;)V
:cond_0
return-void
.end method
.method public static final sort(Ljava/util/List;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Ljava/lang/Comparable<",
"-TT;>;>(",
"Ljava/util/List<",
"TT;>;)V"
}
.end annotation
const-string v0, "$this$sort"
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
invoke-interface {p0}, Ljava/util/List;->size()I
move-result v0
const/4 v1, 0x1
if-le v0, v1, :cond_0
invoke-static {p0}, Ljava/util/Collections;->sort(Ljava/util/List;)V
:cond_0
return-void
.end method