apkfuckery/com.discord/smali/kotlin/a/r.smali

71 lines
1.6 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public Lkotlin/a/r;
.super Lkotlin/a/q;
# 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, "receiver$0"
invoke-static {p0, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "comparator"
invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->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, "receiver$0"
invoke-static {p0, v0}, Lkotlin/jvm/internal/j;->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