348 lines
8.1 KiB
Smali
348 lines
8.1 KiB
Smali
.class public Lkotlin/a/ae;
|
|
.super Lkotlin/a/ad;
|
|
.source "Maps.kt"
|
|
|
|
|
|
# direct methods
|
|
.method public static final a(Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<K:",
|
|
"Ljava/lang/Object;",
|
|
"V:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/Map<",
|
|
"+TK;+TV;>;",
|
|
"Ljava/util/Map<",
|
|
"+TK;+TV;>;)",
|
|
"Ljava/util/Map<",
|
|
"TK;TV;>;"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$plus"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "map"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Ljava/util/LinkedHashMap;
|
|
|
|
invoke-direct {v0, p0}, Ljava/util/LinkedHashMap;-><init>(Ljava/util/Map;)V
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/LinkedHashMap;->putAll(Ljava/util/Map;)V
|
|
|
|
check-cast v0, Ljava/util/Map;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final a(Ljava/util/Map;Lkotlin/Pair;)Ljava/util/Map;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<K:",
|
|
"Ljava/lang/Object;",
|
|
"V:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/Map<",
|
|
"+TK;+TV;>;",
|
|
"Lkotlin/Pair<",
|
|
"+TK;+TV;>;)",
|
|
"Ljava/util/Map<",
|
|
"TK;TV;>;"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$plus"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "pair"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-interface {p0}, Ljava/util/Map;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-static {p1}, Lkotlin/a/ab;->a(Lkotlin/Pair;)Ljava/util/Map;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
new-instance v0, Ljava/util/LinkedHashMap;
|
|
|
|
invoke-direct {v0, p0}, Ljava/util/LinkedHashMap;-><init>(Ljava/util/Map;)V
|
|
|
|
iget-object p0, p1, Lkotlin/Pair;->first:Ljava/lang/Object;
|
|
|
|
iget-object p1, p1, Lkotlin/Pair;->second:Ljava/lang/Object;
|
|
|
|
invoke-virtual {v0, p0, p1}, Ljava/util/LinkedHashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
check-cast v0, Ljava/util/Map;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final varargs a([Lkotlin/Pair;)Ljava/util/Map;
|
|
.locals 2
|
|
.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, "pairs"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
array-length v0, p0
|
|
|
|
if-lez v0, :cond_0
|
|
|
|
new-instance v0, Ljava/util/LinkedHashMap;
|
|
|
|
array-length v1, p0
|
|
|
|
invoke-static {v1}, Lkotlin/a/ab;->cT(I)I
|
|
|
|
move-result v1
|
|
|
|
invoke-direct {v0, v1}, Ljava/util/LinkedHashMap;-><init>(I)V
|
|
|
|
check-cast v0, Ljava/util/Map;
|
|
|
|
invoke-static {p0, v0}, Lkotlin/a/ab;->a([Lkotlin/Pair;Ljava/util/Map;)Ljava/util/Map;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
invoke-static {}, Lkotlin/a/ab;->emptyMap()Ljava/util/Map;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final a([Lkotlin/Pair;Ljava/util/Map;)Ljava/util/Map;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<K:",
|
|
"Ljava/lang/Object;",
|
|
"V:",
|
|
"Ljava/lang/Object;",
|
|
"M::",
|
|
"Ljava/util/Map<",
|
|
"-TK;-TV;>;>([",
|
|
"Lkotlin/Pair<",
|
|
"+TK;+TV;>;TM;)TM;"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$toMap"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "destination"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-static {p1, p0}, Lkotlin/a/ab;->a(Ljava/util/Map;[Lkotlin/Pair;)V
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public static final a(Ljava/util/Map;[Lkotlin/Pair;)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<K:",
|
|
"Ljava/lang/Object;",
|
|
"V:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/Map<",
|
|
"-TK;-TV;>;[",
|
|
"Lkotlin/Pair<",
|
|
"+TK;+TV;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$putAll"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "pairs"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
array-length v0, p1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_0
|
|
|
|
aget-object v2, p1, v1
|
|
|
|
iget-object v3, v2, Lkotlin/Pair;->first:Ljava/lang/Object;
|
|
|
|
iget-object v2, v2, Lkotlin/Pair;->second:Ljava/lang/Object;
|
|
|
|
invoke-interface {p0, v3, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final varargs b([Lkotlin/Pair;)Ljava/util/Map;
|
|
.locals 2
|
|
.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, "pairs"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Ljava/util/LinkedHashMap;
|
|
|
|
array-length v1, p0
|
|
|
|
invoke-static {v1}, Lkotlin/a/ab;->cT(I)I
|
|
|
|
move-result v1
|
|
|
|
invoke-direct {v0, v1}, Ljava/util/LinkedHashMap;-><init>(I)V
|
|
|
|
check-cast v0, Ljava/util/Map;
|
|
|
|
invoke-static {v0, p0}, Lkotlin/a/ab;->a(Ljava/util/Map;[Lkotlin/Pair;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final cT(I)I
|
|
.locals 1
|
|
|
|
const/4 v0, 0x3
|
|
|
|
if-ge p0, v0, :cond_0
|
|
|
|
add-int/lit8 p0, p0, 0x1
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
const/high16 v0, 0x40000000 # 2.0f
|
|
|
|
if-ge p0, v0, :cond_1
|
|
|
|
div-int/lit8 v0, p0, 0x3
|
|
|
|
add-int/2addr p0, v0
|
|
|
|
return p0
|
|
|
|
:cond_1
|
|
const p0, 0x7fffffff
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final emptyMap()Ljava/util/Map;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<K:",
|
|
"Ljava/lang/Object;",
|
|
"V:",
|
|
"Ljava/lang/Object;",
|
|
">()",
|
|
"Ljava/util/Map<",
|
|
"TK;TV;>;"
|
|
}
|
|
.end annotation
|
|
|
|
sget-object v0, Lkotlin/a/y;->beW:Lkotlin/a/y;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast v0, Ljava/util/Map;
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
new-instance v0, Lkotlin/r;
|
|
|
|
const-string v1, "null cannot be cast to non-null type kotlin.collections.Map<K, V>"
|
|
|
|
invoke-direct {v0, v1}, Lkotlin/r;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final q(Ljava/util/Map;)Ljava/util/Map;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<K:",
|
|
"Ljava/lang/Object;",
|
|
"V:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/Map<",
|
|
"+TK;+TV;>;)",
|
|
"Ljava/util/Map<",
|
|
"TK;TV;>;"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$toMutableMap"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Ljava/util/LinkedHashMap;
|
|
|
|
invoke-direct {v0, p0}, Ljava/util/LinkedHashMap;-><init>(Ljava/util/Map;)V
|
|
|
|
check-cast v0, Ljava/util/Map;
|
|
|
|
return-object v0
|
|
.end method
|