75 lines
1.8 KiB
Smali
75 lines
1.8 KiB
Smali
.class public final Landroidx/collection/ArrayMapKt;
|
|
.super Ljava/lang/Object;
|
|
.source "ArrayMap.kt"
|
|
|
|
|
|
# direct methods
|
|
.method public static final arrayMapOf()Landroidx/collection/ArrayMap;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<K:",
|
|
"Ljava/lang/Object;",
|
|
"V:",
|
|
"Ljava/lang/Object;",
|
|
">()",
|
|
"Landroidx/collection/ArrayMap<",
|
|
"TK;TV;>;"
|
|
}
|
|
.end annotation
|
|
|
|
new-instance v0, Landroidx/collection/ArrayMap;
|
|
|
|
invoke-direct {v0}, Landroidx/collection/ArrayMap;-><init>()V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final varargs arrayMapOf([Lkotlin/Pair;)Landroidx/collection/ArrayMap;
|
|
.locals 5
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<K:",
|
|
"Ljava/lang/Object;",
|
|
"V:",
|
|
"Ljava/lang/Object;",
|
|
">([",
|
|
"Lkotlin/Pair<",
|
|
"+TK;+TV;>;)",
|
|
"Landroidx/collection/ArrayMap<",
|
|
"TK;TV;>;"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "pairs"
|
|
|
|
invoke-static {p0, v0}, Lc0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Landroidx/collection/ArrayMap;
|
|
|
|
array-length v1, p0
|
|
|
|
invoke-direct {v0, v1}, Landroidx/collection/ArrayMap;-><init>(I)V
|
|
|
|
array-length v1, p0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v1, :cond_0
|
|
|
|
aget-object v3, p0, v2
|
|
|
|
iget-object v4, v3, Lkotlin/Pair;->first:Ljava/lang/Object;
|
|
|
|
iget-object v3, v3, Lkotlin/Pair;->second:Ljava/lang/Object;
|
|
|
|
invoke-interface {v0, v4, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-object v0
|
|
.end method
|