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

98 lines
2.7 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public Lkotlin/a/af;
.super Lkotlin/a/ae;
2019-07-27 00:12:07 +00:00
.source "MapsJVM.kt"
2019-07-24 11:27:29 +00:00
# direct methods
2019-07-27 00:12:07 +00:00
.method public static final a(Lkotlin/Pair;)Ljava/util/Map;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(",
"Lkotlin/Pair<",
"+TK;+TV;>;)",
"Ljava/util/Map<",
"TK;TV;>;"
}
.end annotation
const-string v0, "pair"
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Lkotlin/Pair;->first:Ljava/lang/Object;
iget-object p0, p0, Lkotlin/Pair;->second:Ljava/lang/Object;
invoke-static {v0, p0}, Ljava/util/Collections;->singletonMap(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map;
move-result-object p0
const-string v0, "java.util.Collections.si\u2026(pair.first, pair.second)"
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.end method
.method public static final q(Ljava/util/Map;)Ljava/util/Map;
2019-07-24 11:27:29 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Map<",
"+TK;+TV;>;)",
2019-07-27 00:12:07 +00:00
"Ljava/util/Map<",
"TK;TV;>;"
2019-07-24 11:27:29 +00:00
}
.end annotation
2019-07-27 00:12:07 +00:00
const-string v0, "$this$toSingletonMap"
2019-07-24 11:27:29 +00:00
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
invoke-interface {p0}, Ljava/util/Map;->entrySet()Ljava/util/Set;
move-result-object p0
2019-07-27 00:12:07 +00:00
invoke-interface {p0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
2019-07-24 11:27:29 +00:00
2019-07-27 00:12:07 +00:00
move-result-object p0
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
move-result-object p0
2019-07-27 00:12:07 +00:00
check-cast p0, Ljava/util/Map$Entry;
invoke-interface {p0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
move-result-object v0
invoke-interface {p0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object p0
invoke-static {v0, p0}, Ljava/util/Collections;->singletonMap(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map;
move-result-object p0
const-string v0, "java.util.Collections.singletonMap(key, value)"
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "with(entries.iterator().\u2026ingletonMap(key, value) }"
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
return-object p0
.end method