changed repo structure
This commit is contained in:
@@ -0,0 +1,284 @@
|
||||
.class Lkotlin/collections/GroupingKt__GroupingJVMKt;
|
||||
.super Ljava/lang/Object;
|
||||
.source "GroupingJVM.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/SourceDebugExtension;
|
||||
value = "SMAP\nGroupingJVM.kt\nKotlin\n*S Kotlin\n*F\n+ 1 GroupingJVM.kt\nkotlin/collections/GroupingKt__GroupingJVMKt\n+ 2 Grouping.kt\nkotlin/collections/GroupingKt__GroupingKt\n+ 3 fake.kt\nkotlin/jvm/internal/FakeKt\n+ 4 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,52:1\n143#2:53\n80#2,4:54\n85#2:59\n1#3:58\n1855#4,2:60\n*S KotlinDebug\n*F\n+ 1 GroupingJVM.kt\nkotlin/collections/GroupingKt__GroupingJVMKt\n*L\n22#1:53\n22#1:54,4\n22#1:59\n48#1:60,2\n*E\n"
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u0000&\n\u0000\n\u0002\u0010$\n\u0000\n\u0002\u0010\u0008\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010%\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0010&\n\u0000\u001a0\u0010\u0000\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u00020\u00030\u0001\"\u0004\u0008\u0000\u0010\u0004\"\u0004\u0008\u0001\u0010\u0002*\u000e\u0012\u0004\u0012\u0002H\u0004\u0012\u0004\u0012\u0002H\u00020\u0005H\u0007\u001aZ\u0010\u0006\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00080\u0007\"\u0004\u0008\u0000\u0010\u0002\"\u0004\u0008\u0001\u0010\t\"\u0004\u0008\u0002\u0010\u0008*\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\t0\u00072\u001e\u0010\n\u001a\u001a\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\t0\u000c\u0012\u0004\u0012\u0002H\u00080\u000bH\u0081\u0008\u00f8\u0001\u0000\u0082\u0002\u0007\n\u0005\u0008\u009920\u0001\u00a8\u0006\r"
|
||||
}
|
||||
d2 = {
|
||||
"eachCount",
|
||||
"",
|
||||
"K",
|
||||
"",
|
||||
"T",
|
||||
"Lkotlin/collections/Grouping;",
|
||||
"mapValuesInPlace",
|
||||
"",
|
||||
"R",
|
||||
"V",
|
||||
"f",
|
||||
"Lkotlin/Function1;",
|
||||
"",
|
||||
"kotlin-stdlib"
|
||||
}
|
||||
k = 0x5
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x31
|
||||
xs = "kotlin/collections/GroupingKt"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static final eachCount(Lkotlin/collections/Grouping;)Ljava/util/Map;
|
||||
.locals 6
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
"K:",
|
||||
"Ljava/lang/Object;",
|
||||
">(",
|
||||
"Lkotlin/collections/Grouping<",
|
||||
"TT;+TK;>;)",
|
||||
"Ljava/util/Map<",
|
||||
"TK;",
|
||||
"Ljava/lang/Integer;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "<this>"
|
||||
|
||||
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
.line 22
|
||||
new-instance v0, Ljava/util/LinkedHashMap;
|
||||
|
||||
invoke-direct {v0}, Ljava/util/LinkedHashMap;-><init>()V
|
||||
|
||||
check-cast v0, Ljava/util/Map;
|
||||
|
||||
.line 54
|
||||
invoke-interface {p0}, Lkotlin/collections/Grouping;->sourceIterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
:goto_0
|
||||
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v2
|
||||
|
||||
if-eqz v2, :cond_2
|
||||
|
||||
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
.line 55
|
||||
invoke-interface {p0, v2}, Lkotlin/collections/Grouping;->keyOf(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
.line 56
|
||||
invoke-interface {v0, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
const/4 v4, 0x1
|
||||
|
||||
if-nez v3, :cond_0
|
||||
|
||||
.line 57
|
||||
invoke-interface {v0, v2}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v5
|
||||
|
||||
if-nez v5, :cond_0
|
||||
|
||||
move v5, v4
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_0
|
||||
const/4 v5, 0x0
|
||||
|
||||
:goto_1
|
||||
if-eqz v5, :cond_1
|
||||
|
||||
.line 23
|
||||
new-instance v3, Lkotlin/jvm/internal/Ref$IntRef;
|
||||
|
||||
invoke-direct {v3}, Lkotlin/jvm/internal/Ref$IntRef;-><init>()V
|
||||
|
||||
.line 53
|
||||
:cond_1
|
||||
check-cast v3, Lkotlin/jvm/internal/Ref$IntRef;
|
||||
|
||||
.line 24
|
||||
iget v5, v3, Lkotlin/jvm/internal/Ref$IntRef;->element:I
|
||||
|
||||
add-int/2addr v5, v4
|
||||
|
||||
iput v5, v3, Lkotlin/jvm/internal/Ref$IntRef;->element:I
|
||||
|
||||
.line 57
|
||||
invoke-interface {v0, v2, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
.line 25
|
||||
:cond_2
|
||||
invoke-interface {v0}, Ljava/util/Map;->entrySet()Ljava/util/Set;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
check-cast p0, Ljava/lang/Iterable;
|
||||
|
||||
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
:goto_2
|
||||
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_3
|
||||
|
||||
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
check-cast v1, Ljava/util/Map$Entry;
|
||||
|
||||
const-string v2, "null cannot be cast to non-null type kotlin.collections.MutableMap.MutableEntry<K of kotlin.collections.GroupingKt__GroupingJVMKt.mapValuesInPlace$lambda$4, R of kotlin.collections.GroupingKt__GroupingJVMKt.mapValuesInPlace$lambda$4>"
|
||||
|
||||
invoke-static {v1, v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {v1}, Lkotlin/jvm/internal/TypeIntrinsics;->asMutableMapEntry(Ljava/lang/Object;)Ljava/util/Map$Entry;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-interface {v1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
check-cast v1, Lkotlin/jvm/internal/Ref$IntRef;
|
||||
|
||||
iget v1, v1, Lkotlin/jvm/internal/Ref$IntRef;->element:I
|
||||
|
||||
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-interface {v2, v1}, Ljava/util/Map$Entry;->setValue(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_3
|
||||
invoke-static {v0}, Lkotlin/jvm/internal/TypeIntrinsics;->asMutableMap(Ljava/lang/Object;)Ljava/util/Map;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method private static final mapValuesInPlace(Ljava/util/Map;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;
|
||||
.locals 3
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<K:",
|
||||
"Ljava/lang/Object;",
|
||||
"V:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">(",
|
||||
"Ljava/util/Map<",
|
||||
"TK;TV;>;",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"-",
|
||||
"Ljava/util/Map$Entry<",
|
||||
"+TK;+TV;>;+TR;>;)",
|
||||
"Ljava/util/Map<",
|
||||
"TK;TR;>;"
|
||||
}
|
||||
.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, "f"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
.line 48
|
||||
invoke-interface {p0}, Ljava/util/Map;->entrySet()Ljava/util/Set;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Ljava/lang/Iterable;
|
||||
|
||||
.line 60
|
||||
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
:goto_0
|
||||
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
check-cast v1, Ljava/util/Map$Entry;
|
||||
|
||||
.line 49
|
||||
const-string v2, "null cannot be cast to non-null type kotlin.collections.MutableMap.MutableEntry<K of kotlin.collections.GroupingKt__GroupingJVMKt.mapValuesInPlace$lambda$4, R of kotlin.collections.GroupingKt__GroupingJVMKt.mapValuesInPlace$lambda$4>"
|
||||
|
||||
invoke-static {v1, v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {v1}, Lkotlin/jvm/internal/TypeIntrinsics;->asMutableMapEntry(Ljava/lang/Object;)Ljava/util/Map$Entry;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-interface {p1, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-interface {v2, v1}, Ljava/util/Map$Entry;->setValue(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
.line 51
|
||||
:cond_0
|
||||
invoke-static {p0}, Lkotlin/jvm/internal/TypeIntrinsics;->asMutableMap(Ljava/lang/Object;)Ljava/util/Map;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
Reference in New Issue
Block a user