mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-25 16:42:30 -06:00
627 lines
21 KiB
Smali
627 lines
21 KiB
Smali
|
.class Lkotlin/collections/MapsKt__MapsJVMKt;
|
||
|
.super Lkotlin/collections/MapsKt__MapWithDefaultKt;
|
||
|
.source "MapsJVM.kt"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/SourceDebugExtension;
|
||
|
value = "SMAP\nMapsJVM.kt\nKotlin\n*S Kotlin\n*F\n+ 1 MapsJVM.kt\nkotlin/collections/MapsKt__MapsJVMKt\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,157:1\n1#2:158\n*E\n"
|
||
|
.end annotation
|
||
|
|
||
|
.annotation runtime Lkotlin/Metadata;
|
||
|
d1 = {
|
||
|
"\u0000d\n\u0000\n\u0002\u0010\u0008\n\u0000\n\u0002\u0010$\n\u0002\u0008\u0003\n\u0002\u0010%\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0005\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0011\n\u0000\n\u0002\u0010\u000f\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0002\u0008\u0004\u001a4\u0010\u0002\u001a\u000e\u0012\u0004\u0012\u0002H\u0004\u0012\u0004\u0012\u0002H\u00050\u0003\"\u0004\u0008\u0000\u0010\u0004\"\u0004\u0008\u0001\u0010\u00052\u0012\u0010\u0006\u001a\u000e\u0012\u0004\u0012\u0002H\u0004\u0012\u0004\u0012\u0002H\u00050\u0007H\u0001\u001aQ\u0010\u0008\u001a\u000e\u0012\u0004\u0012\u0002H\u0004\u0012\u0004\u0012\u0002H\u00050\u0003\"\u0004\u0008\u0000\u0010\u0004\"\u0004\u0008\u0001\u0010\u00052\u0006\u0010\t\u001a\u00020\u00012#\u0010\n\u001a\u001f\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0004\u0012\u0004\u0012\u0002H\u00050\u0007\u0012\u0004\u0012\u00020\u000c0\u000b\u00a2\u0006\u0002\u0008\rH\u0081\u0008\u00f8\u0001\u0000\u001aI\u0010\u0008\u001a\u000e\u0012\u0004\u0012\u0002H\u0004\u0012\u0004\u0012\u0002H\u00050\u0003\"\u0004\u0008\u0000\u0010\u0004\"\u0004\u0008\u0001\u0010\u00052#\u0010\n\u001a\u001f\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0004\u0012\u0004\u0012\u0002H\u00050\u0007\u0012\u0004\u0012\u00020\u000c0\u000b\u00a2\u0006\u0002\u0008\rH\u0081\u0008\u00f8\u0001\u0000\u001a \u0010\u000e\u001a\u000e\u0012\u0004\u0012\u0002H\u0004\u0012\u0004\u0012\u0002H\u00050\u0007\"\u0004\u0008\u0000\u0010\u0004\"\u0004\u0008\u0001\u0010\u0005H\u0001\u001a(\u0010\u000e\u001a\u000e\u0012\u0004\u0012\u0002H\u0004\u0012\u0004\u0012\u0002H\u00050\u0007\"\u0004\u0008\u0000\u0010\u0004\"\u0004\u0008\u0001\u0010\u00052\u0006\u0010\t\u001a\u00020\u0001H\u0001\u001a\u0010\u0010\u000f\u001a\u00020\u00012\u0006\u0010\u0010\u001a\u00020\u0001H\u0001\u001a2\u0010\u0011\u001a\u000e\u0012\u0004\u0012\u0002H\u0004\u0012\u0004\u0012\u0002H\u00050\u0003\"\u0004\u0008\u0000\u0010\u0004\"\u0004\u0008\u0001\u0010\u00052\u0012\u0010\u0012\u001a\u000e\u0012\u0004\u0012\u0002H\u0004\u0012\u0004\u0012\u0002H\u00050\u0013\u001aa\u0010\u0014\u001a\u000e\u0012\u0004\u0012\u0002H\u0004\u0012\u0004\u0012\u0002H\u00050\u0015\"\u0004\u0008\u0000\u0010\u0004\"\u0004\u0008\u0001\u0010\u00052\u000e\u0010\u0016\u001a\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00040\u00172*\u0010\u0018\u001a\u0016\u0012\u0012\u0008\u0001\u0012\u000e\u0012\u0004\u0012\u0002H\u0004\u0012\u0004\u0012\u0002H\u00050\u00130\u0019\"\u000e\u0012\u0004\u0012\u0002H\u0004\u0012\u0004\u0012\u0002H\u00050\u0013H\u0007\u00a2\u0006\u0002\u0010\u001a\u001aY\u0010\u0014\u001a\u000e\u0012\u0004\u0012\u0002H\u0004\u0012\u0004\u0012\u0002H\u00050\u0015\"\u000e\u0008\u0000\u0010\u0004*\u0008\u0012\u0004\u0012\u0002H\u00040\u001b\"\u0004\u0008\u0001\u0010\u00052*\u0010\u0018\u001a\u0016\u0012\u0012\u0008\u0001\u0012\u000e\u0012\u0004\u0012\u0002H\u0004\u0012\u0004\u0012\u0002H\u00050\u00130\u0019\"\u000e\u0012\u0004\u0012\u0002H\u0004\u0012\u0004\u0012\u0002H\u00050\u0013\u00a2\u0006\u0002\u0010\u001c\u001aC\u0010\u001d\u001a\u0002H\u0005\"\u0004\u0008\u0000\u0010\u0004\"\u0004\u0008\u0001\u0010\u0005*\u000e\u0012\u0004\u0012\u0002H\u0004\u0012\u0004\u0012\u0002H\u00050\u001e2\u0006\u0010\u001f\u001a\u0002H\u00042\u000c\u0010 \u001a\u0008\u0012\u0004\u0012\u0002H\u00050!H\u0086\u0008\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\"\u001a\u0019\u0010#\u001a\u00020$*\u000e\u0012\u0004\u0012\u00020%\u0012\u0004\u0012\u00020%0\u0003H\u0087\u0008\u001a2\u0010&\u001a\u000e\u0012\u0004\u0012\u0002H\u0004\u0012\u0004\u0012\u0002H\u00050\u0003\"\u0004\u0008\u0000\u0010\u0004\"\u0004\u0008\u0001\u0010\u0005*\u0010\u0012\u0006\u0008\u0001\u0012\u0002H\u0004\u0012\u0004\u0012\u0002H\u00050\u0003H\u0000\u001a1\u0010\'\u001a\u000e\u0012\u0004\u0012\u0002H\u0004\u0012\u0004\u0012\u0002H\u00050\u0003\"\u0004\u0008\u0000\u0010\u0004\"\u0004\u0008\u0001\u0010\u0005*\u000e\u0012\u
|
||
|
}
|
||
|
d2 = {
|
||
|
"INT_MAX_POWER_OF_TWO",
|
||
|
"",
|
||
|
"build",
|
||
|
"",
|
||
|
"K",
|
||
|
"V",
|
||
|
"builder",
|
||
|
"",
|
||
|
"buildMapInternal",
|
||
|
"capacity",
|
||
|
"builderAction",
|
||
|
"Lkotlin/Function1;",
|
||
|
"",
|
||
|
"Lkotlin/ExtensionFunctionType;",
|
||
|
"createMapBuilder",
|
||
|
"mapCapacity",
|
||
|
"expectedSize",
|
||
|
"mapOf",
|
||
|
"pair",
|
||
|
"Lkotlin/Pair;",
|
||
|
"sortedMapOf",
|
||
|
"Ljava/util/SortedMap;",
|
||
|
"comparator",
|
||
|
"Ljava/util/Comparator;",
|
||
|
"pairs",
|
||
|
"",
|
||
|
"(Ljava/util/Comparator;[Lkotlin/Pair;)Ljava/util/SortedMap;",
|
||
|
"",
|
||
|
"([Lkotlin/Pair;)Ljava/util/SortedMap;",
|
||
|
"getOrPut",
|
||
|
"Ljava/util/concurrent/ConcurrentMap;",
|
||
|
"key",
|
||
|
"defaultValue",
|
||
|
"Lkotlin/Function0;",
|
||
|
"(Ljava/util/concurrent/ConcurrentMap;Ljava/lang/Object;Lkotlin/jvm/functions/Function0;)Ljava/lang/Object;",
|
||
|
"toProperties",
|
||
|
"Ljava/util/Properties;",
|
||
|
"",
|
||
|
"toSingletonMap",
|
||
|
"toSingletonMapOrSelf",
|
||
|
"toSortedMap",
|
||
|
"kotlin-stdlib"
|
||
|
}
|
||
|
k = 0x5
|
||
|
mv = {
|
||
|
0x1,
|
||
|
0x9,
|
||
|
0x0
|
||
|
}
|
||
|
xi = 0x31
|
||
|
xs = "kotlin/collections/MapsKt"
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# static fields
|
||
|
.field private static final INT_MAX_POWER_OF_TWO:I = 0x40000000
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>()V
|
||
|
.locals 0
|
||
|
|
||
|
invoke-direct {p0}, Lkotlin/collections/MapsKt__MapWithDefaultKt;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public static final build(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, "builder"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 57
|
||
|
check-cast p0, Lkotlin/collections/builders/MapBuilder;
|
||
|
|
||
|
invoke-virtual {p0}, Lkotlin/collections/builders/MapBuilder;->build()Ljava/util/Map;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final buildMapInternal(ILkotlin/jvm/functions/Function1;)Ljava/util/Map;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<K:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"V:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(I",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-",
|
||
|
"Ljava/util/Map<",
|
||
|
"TK;TV;>;",
|
||
|
"Lkotlin/Unit;",
|
||
|
">;)",
|
||
|
"Ljava/util/Map<",
|
||
|
"TK;TV;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "builderAction"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 39
|
||
|
invoke-static {p0}, Lkotlin/collections/MapsKt;->createMapBuilder(I)Ljava/util/Map;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-interface {p1, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
invoke-static {p0}, Lkotlin/collections/MapsKt;->build(Ljava/util/Map;)Ljava/util/Map;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final buildMapInternal(Lkotlin/jvm/functions/Function1;)Ljava/util/Map;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<K:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"V:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-",
|
||
|
"Ljava/util/Map<",
|
||
|
"TK;TV;>;",
|
||
|
"Lkotlin/Unit;",
|
||
|
">;)",
|
||
|
"Ljava/util/Map<",
|
||
|
"TK;TV;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "builderAction"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 32
|
||
|
invoke-static {}, Lkotlin/collections/MapsKt;->createMapBuilder()Ljava/util/Map;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p0, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
invoke-static {v0}, Lkotlin/collections/MapsKt;->build(Ljava/util/Map;)Ljava/util/Map;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final createMapBuilder()Ljava/util/Map;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<K:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"V:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">()",
|
||
|
"Ljava/util/Map<",
|
||
|
"TK;TV;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.line 45
|
||
|
new-instance v0, Lkotlin/collections/builders/MapBuilder;
|
||
|
|
||
|
invoke-direct {v0}, Lkotlin/collections/builders/MapBuilder;-><init>()V
|
||
|
|
||
|
check-cast v0, Ljava/util/Map;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final createMapBuilder(I)Ljava/util/Map;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<K:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"V:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(I)",
|
||
|
"Ljava/util/Map<",
|
||
|
"TK;TV;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.line 51
|
||
|
new-instance v0, Lkotlin/collections/builders/MapBuilder;
|
||
|
|
||
|
invoke-direct {v0, p0}, Lkotlin/collections/builders/MapBuilder;-><init>(I)V
|
||
|
|
||
|
check-cast v0, Ljava/util/Map;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final getOrPut(Ljava/util/concurrent/ConcurrentMap;Ljava/lang/Object;Lkotlin/jvm/functions/Function0;)Ljava/lang/Object;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<K:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"V:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Ljava/util/concurrent/ConcurrentMap<",
|
||
|
"TK;TV;>;TK;",
|
||
|
"Lkotlin/jvm/functions/Function0<",
|
||
|
"+TV;>;)TV;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "defaultValue"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 72
|
||
|
invoke-interface {p0, p1}, Ljava/util/concurrent/ConcurrentMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
if-nez v0, :cond_1
|
||
|
|
||
|
.line 73
|
||
|
invoke-interface {p2}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p2
|
||
|
|
||
|
invoke-interface {p0, p1, p2}, Ljava/util/concurrent/ConcurrentMap;->putIfAbsent(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
if-nez p0, :cond_0
|
||
|
|
||
|
move-object v0, p2
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
move-object v0, p0
|
||
|
|
||
|
:cond_1
|
||
|
:goto_0
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final mapCapacity(I)I
|
||
|
.locals 1
|
||
|
|
||
|
if-gez p0, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 v0, 0x3
|
||
|
|
||
|
if-ge p0, v0, :cond_1
|
||
|
|
||
|
add-int/lit8 p0, p0, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
const/high16 v0, 0x40000000 # 2.0f
|
||
|
|
||
|
if-ge p0, v0, :cond_2
|
||
|
|
||
|
int-to-float p0, p0
|
||
|
|
||
|
const/high16 v0, 0x3f400000 # 0.75f
|
||
|
|
||
|
div-float/2addr p0, v0
|
||
|
|
||
|
const/high16 v0, 0x3f800000 # 1.0f
|
||
|
|
||
|
add-float/2addr p0, v0
|
||
|
|
||
|
float-to-int p0, p0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
const p0, 0x7fffffff
|
||
|
|
||
|
:goto_0
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final mapOf(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/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 26
|
||
|
invoke-virtual {p0}, Lkotlin/Pair;->getFirst()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {p0}, Lkotlin/Pair;->getSecond()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, "singletonMap(...)"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final varargs sortedMapOf(Ljava/util/Comparator;[Lkotlin/Pair;)Ljava/util/SortedMap;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<K:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"V:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Ljava/util/Comparator<",
|
||
|
"-TK;>;[",
|
||
|
"Lkotlin/Pair<",
|
||
|
"+TK;+TV;>;)",
|
||
|
"Ljava/util/SortedMap<",
|
||
|
"TK;TV;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "comparator"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "pairs"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 120
|
||
|
new-instance v0, Ljava/util/TreeMap;
|
||
|
|
||
|
invoke-direct {v0, p0}, Ljava/util/TreeMap;-><init>(Ljava/util/Comparator;)V
|
||
|
|
||
|
move-object p0, v0
|
||
|
|
||
|
check-cast p0, Ljava/util/Map;
|
||
|
|
||
|
invoke-static {p0, p1}, Lkotlin/collections/MapsKt;->putAll(Ljava/util/Map;[Lkotlin/Pair;)V
|
||
|
|
||
|
check-cast v0, Ljava/util/SortedMap;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final varargs sortedMapOf([Lkotlin/Pair;)Ljava/util/SortedMap;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<K::",
|
||
|
"Ljava/lang/Comparable<",
|
||
|
"-TK;>;V:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">([",
|
||
|
"Lkotlin/Pair<",
|
||
|
"+TK;+TV;>;)",
|
||
|
"Ljava/util/SortedMap<",
|
||
|
"TK;TV;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "pairs"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 108
|
||
|
new-instance v0, Ljava/util/TreeMap;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/util/TreeMap;-><init>()V
|
||
|
|
||
|
move-object v1, v0
|
||
|
|
||
|
check-cast v1, Ljava/util/Map;
|
||
|
|
||
|
invoke-static {v1, p0}, Lkotlin/collections/MapsKt;->putAll(Ljava/util/Map;[Lkotlin/Pair;)V
|
||
|
|
||
|
check-cast v0, Ljava/util/SortedMap;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method private static final toProperties(Ljava/util/Map;)Ljava/util/Properties;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/util/Map<",
|
||
|
"Ljava/lang/String;",
|
||
|
"Ljava/lang/String;",
|
||
|
">;)",
|
||
|
"Ljava/util/Properties;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 130
|
||
|
new-instance v0, Ljava/util/Properties;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/util/Properties;-><init>()V
|
||
|
|
||
|
invoke-virtual {v0, p0}, Ljava/util/Properties;->putAll(Ljava/util/Map;)V
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final toSingletonMap(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>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 139
|
||
|
invoke-interface {p0}, Ljava/util/Map;->entrySet()Ljava/util/Set;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
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
|
||
|
|
||
|
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, "with(...)"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final toSingletonMapOrSelf(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>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 135
|
||
|
invoke-static {p0}, Lkotlin/collections/MapsKt;->toSingletonMap(Ljava/util/Map;)Ljava/util/Map;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.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>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 87
|
||
|
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
|
||
|
|
||
|
.method public static final toSortedMap(Ljava/util/Map;Ljava/util/Comparator;)Ljava/util/SortedMap;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<K:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"V:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Ljava/util/Map<",
|
||
|
"+TK;+TV;>;",
|
||
|
"Ljava/util/Comparator<",
|
||
|
"-TK;>;)",
|
||
|
"Ljava/util/SortedMap<",
|
||
|
"TK;TV;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "comparator"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 97
|
||
|
new-instance v0, Ljava/util/TreeMap;
|
||
|
|
||
|
invoke-direct {v0, p1}, Ljava/util/TreeMap;-><init>(Ljava/util/Comparator;)V
|
||
|
|
||
|
invoke-virtual {v0, p0}, Ljava/util/TreeMap;->putAll(Ljava/util/Map;)V
|
||
|
|
||
|
check-cast v0, Ljava/util/SortedMap;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|