apkfuckery/com.discord/smali_classes2/kotlin/a/ak.smali

93 lines
1.9 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public Lkotlin/a/ak;
.super Lkotlin/a/aj;
2019-02-04 20:29:01 +00:00
.source "Sets.kt"
2019-02-04 20:08:30 +00:00
# direct methods
2019-05-03 18:53:54 +00:00
.method public static final e(Ljava/util/Set;)Ljava/util/Set;
.locals 2
2019-02-04 20:08:30 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Set<",
"+TT;>;)",
"Ljava/util/Set<",
"TT;>;"
}
.end annotation
2019-05-03 18:53:54 +00:00
const-string v0, "$this$optimizeReadOnlySet"
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
invoke-interface {p0}, Ljava/util/Set;->size()I
move-result v0
2019-05-03 18:53:54 +00:00
if-eqz v0, :cond_1
const/4 v1, 0x1
if-eq v0, v1, :cond_0
2019-02-04 20:08:30 +00:00
return-object p0
2019-05-03 18:53:54 +00:00
:cond_0
2019-02-04 20:08:30 +00:00
invoke-interface {p0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object p0
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object p0
2019-05-04 02:59:52 +00:00
invoke-static {p0}, Lkotlin/a/ai;->aW(Ljava/lang/Object;)Ljava/util/Set;
2019-02-04 20:08:30 +00:00
move-result-object p0
return-object p0
2019-05-03 18:53:54 +00:00
:cond_1
2019-06-01 02:00:00 +00:00
sget-object p0, Lkotlin/a/z;->bfh:Lkotlin/a/z;
2019-02-04 20:08:30 +00:00
check-cast p0, Ljava/util/Set;
return-object p0
.end method
2019-03-08 06:19:26 +00:00
2019-06-01 02:00:00 +00:00
.method public static final varargs m([Ljava/lang/Object;)Ljava/util/Set;
2019-03-08 06:19:26 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">([TT;)",
"Ljava/util/Set<",
"TT;>;"
}
.end annotation
const-string v0, "elements"
2019-05-22 23:20:16 +00:00
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-03-08 06:19:26 +00:00
array-length v0, p0
if-lez v0, :cond_0
2019-06-01 02:00:00 +00:00
invoke-static {p0}, Lkotlin/a/g;->h([Ljava/lang/Object;)Ljava/util/Set;
2019-03-08 06:19:26 +00:00
move-result-object p0
return-object p0
:cond_0
2019-06-01 02:00:00 +00:00
sget-object p0, Lkotlin/a/z;->bfh:Lkotlin/a/z;
2019-03-08 06:19:26 +00:00
check-cast p0, Ljava/util/Set;
return-object p0
.end method