2019-07-24 11:27:29 +00:00
|
|
|
.class public Lkotlin/a/af;
|
|
|
|
.super Lkotlin/a/ae;
|
2019-07-31 00:08:31 +00:00
|
|
|
.source "MapsJVM.kt"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final mapOf(Lkotlin/Pair;)Ljava/util/Map;
|
2019-07-31 00:08:31 +00:00
|
|
|
.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"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p0}, Lkotlin/Pair;->getFirst()Ljava/lang/Object;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lkotlin/Pair;->getSecond()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
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)"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final toSingletonMap(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-31 00:08:31 +00:00
|
|
|
"Ljava/util/Map<",
|
|
|
|
"TK;TV;>;"
|
2019-07-24 11:27:29 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
const-string v0, "$this$toSingletonMap"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/util/Map;->entrySet()Ljava/util/Set;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
invoke-interface {p0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +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-31 00:08:31 +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)"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
const-string v0, "with(entries.iterator().\u2026ingletonMap(key, value) }"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
return-object p0
|
|
|
|
.end method
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
.method public static final toSortedMap(Ljava/util/Map;)Ljava/util/SortedMap;
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<K::",
|
|
|
|
"Ljava/lang/Comparable<",
|
|
|
|
"-TK;>;V:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"+TK;+TV;>;)",
|
|
|
|
"Ljava/util/SortedMap<",
|
|
|
|
"TK;TV;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const-string v0, "$this$toSortedMap"
|
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
new-instance v0, Ljava/util/TreeMap;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0}, Ljava/util/TreeMap;-><init>(Ljava/util/Map;)V
|
|
|
|
|
|
|
|
check-cast v0, Ljava/util/SortedMap;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|