mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-25 16:42:30 -06:00
1593 lines
46 KiB
Smali
1593 lines
46 KiB
Smali
|
.class Lkotlin/collections/CollectionsKt__CollectionsKt;
|
||
|
.super Lkotlin/collections/CollectionsKt__CollectionsJVMKt;
|
||
|
.source "Collections.kt"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/SourceDebugExtension;
|
||
|
value = "SMAP\nCollections.kt\nKotlin\n*S Kotlin\n*F\n+ 1 Collections.kt\nkotlin/collections/CollectionsKt__CollectionsKt\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n+ 3 ArrayIntrinsics.kt\nkotlin/ArrayIntrinsicsKt\n*L\n1#1,522:1\n1#2:523\n26#3:524\n*S KotlinDebug\n*F\n+ 1 Collections.kt\nkotlin/collections/CollectionsKt__CollectionsKt\n*L\n484#1:524\n*E\n"
|
||
|
.end annotation
|
||
|
|
||
|
.annotation runtime Lkotlin/Metadata;
|
||
|
d1 = {
|
||
|
"\u0000\u0086\u0001\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u001e\n\u0002\u0008\u0003\n\u0002\u0010\u0008\n\u0000\n\u0002\u0010 \n\u0002\u0008\u0005\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0010!\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0011\n\u0002\u0008\u0005\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0000\n\u0002\u0008\u0015\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u000f\n\u0002\u0008\u0007\n\u0002\u0010\u000b\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0018\u0002\n\u0002\u0008\u0006\n\u0002\u0010\u001c\n\u0000\n\u0002\u0018\u0002\n\u0000\u001aC\u0010\u000b\u001a\u0008\u0012\u0004\u0012\u0002H\u00070\u0008\"\u0004\u0008\u0000\u0010\u00072\u0006\u0010\u000c\u001a\u00020\u00062!\u0010\r\u001a\u001d\u0012\u0013\u0012\u00110\u0006\u00a2\u0006\u000c\u0008\u000f\u0012\u0008\u0008\u0010\u0012\u0004\u0008\u0008(\u0011\u0012\u0004\u0012\u0002H\u00070\u000eH\u0087\u0008\u00f8\u0001\u0000\u001aC\u0010\u0012\u001a\u0008\u0012\u0004\u0012\u0002H\u00070\u0013\"\u0004\u0008\u0000\u0010\u00072\u0006\u0010\u000c\u001a\u00020\u00062!\u0010\r\u001a\u001d\u0012\u0013\u0012\u00110\u0006\u00a2\u0006\u000c\u0008\u000f\u0012\u0008\u0008\u0010\u0012\u0004\u0008\u0008(\u0011\u0012\u0004\u0012\u0002H\u00070\u000eH\u0087\u0008\u00f8\u0001\u0000\u001a\u001f\u0010\u0014\u001a\u0012\u0012\u0004\u0012\u0002H\u00070\u0015j\u0008\u0012\u0004\u0012\u0002H\u0007`\u0016\"\u0004\u0008\u0000\u0010\u0007H\u0087\u0008\u001a5\u0010\u0014\u001a\u0012\u0012\u0004\u0012\u0002H\u00070\u0015j\u0008\u0012\u0004\u0012\u0002H\u0007`\u0016\"\u0004\u0008\u0000\u0010\u00072\u0012\u0010\u0017\u001a\n\u0012\u0006\u0008\u0001\u0012\u0002H\u00070\u0018\"\u0002H\u0007\u00a2\u0006\u0002\u0010\u0019\u001aN\u0010\u001a\u001a\u0008\u0012\u0004\u0012\u0002H\u001b0\u0008\"\u0004\u0008\u0000\u0010\u001b2\u0006\u0010\u001c\u001a\u00020\u00062\u001f\u0008\u0001\u0010\u001d\u001a\u0019\u0012\n\u0012\u0008\u0012\u0004\u0012\u0002H\u001b0\u0013\u0012\u0004\u0012\u00020\u001e0\u000e\u00a2\u0006\u0002\u0008\u001fH\u0087\u0008\u00f8\u0001\u0000\u0082\u0002\n\n\u0008\u0008\u0001\u0012\u0002\u0010\u0002 \u0001\u001aF\u0010\u001a\u001a\u0008\u0012\u0004\u0012\u0002H\u001b0\u0008\"\u0004\u0008\u0000\u0010\u001b2\u001f\u0008\u0001\u0010\u001d\u001a\u0019\u0012\n\u0012\u0008\u0012\u0004\u0012\u0002H\u001b0\u0013\u0012\u0004\u0012\u00020\u001e0\u000e\u00a2\u0006\u0002\u0008\u001fH\u0087\u0008\u00f8\u0001\u0000\u0082\u0002\n\n\u0008\u0008\u0001\u0012\u0002\u0010\u0001 \u0001\u001a!\u0010 \u001a\n\u0012\u0006\u0012\u0004\u0018\u00010!0\u00182\n\u0010\"\u001a\u0006\u0012\u0002\u0008\u00030\u0002H\u0000\u00a2\u0006\u0002\u0010#\u001a3\u0010 \u001a\u0008\u0012\u0004\u0012\u0002H\u00070\u0018\"\u0004\u0008\u0000\u0010\u00072\n\u0010\"\u001a\u0006\u0012\u0002\u0008\u00030\u00022\u000c\u0010$\u001a\u0008\u0012\u0004\u0012\u0002H\u00070\u0018H\u0000\u00a2\u0006\u0002\u0010%\u001a\u0012\u0010&\u001a\u0008\u0012\u0004\u0012\u0002H\u00070\u0008\"\u0004\u0008\u0000\u0010\u0007\u001a\u0015\u0010\'\u001a\u0008\u0012\u0004\u0012\u0002H\u00070\u0008\"\u0004\u0008\u0000\u0010\u0007H\u0087\u0008\u001a+\u0010\'\u001a\u0008\u0012\u0004\u0012\u0002H\u00070\u0008\"\u0004\u0008\u0000\u0010\u00072\u0012\u0010\u0017\u001a\n\u0012\u0006\u0008\u0001\u0012\u0002H\u00070\u0018\"\u0002H\u0007\u00a2\u0006\u0002\u0010(\u001a%\u0010)\u001a\u0008\u0012\u0004\u0012\u0002H\u00070\u0008\"\u0008\u0008\u0000\u0010\u0007*\u00020!2\u0008\u0010*\u001a\u0004\u0018\u0001H\u0007\u00a2\u0006\u0002\u0010+\u001a3\u0010)\u001a\u0008\u0012\u0004\u0012\u0002H\u00070\u0008\"\u0008\u0008\u0000\u0010\u0007*\u00020!2\u0016\u0010\u0017\u001a\u000c\u0012\u0008\u0008\u0001\u0012\u0004\u0018\u0001H\u00070\u0018\"\u0004\u0018\u0001H\u0007\u00a2\u0006\u0002\u0010(\u001a\u0015\u0010,\u001a\u0008\u0012\u0004\u0012\u0002H\u00070\u0013\"\u0004\u0008\u0000\u0010\u0007H\u0087\u0008\u001a+\u0010,\u001a\u0008\u0012\u0004\u0012\u0002H\u00070\u0013\"\u0004\u0008\u0000\u0010\u00072\u0012\u0010\u0017\u001a\n\u0012\u0006\u0008\u0001\u0012\u0002H
|
||
|
}
|
||
|
d2 = {
|
||
|
"indices",
|
||
|
"Lkotlin/ranges/IntRange;",
|
||
|
"",
|
||
|
"getIndices",
|
||
|
"(Ljava/util/Collection;)Lkotlin/ranges/IntRange;",
|
||
|
"lastIndex",
|
||
|
"",
|
||
|
"T",
|
||
|
"",
|
||
|
"getLastIndex",
|
||
|
"(Ljava/util/List;)I",
|
||
|
"List",
|
||
|
"size",
|
||
|
"init",
|
||
|
"Lkotlin/Function1;",
|
||
|
"Lkotlin/ParameterName;",
|
||
|
"name",
|
||
|
"index",
|
||
|
"MutableList",
|
||
|
"",
|
||
|
"arrayListOf",
|
||
|
"Ljava/util/ArrayList;",
|
||
|
"Lkotlin/collections/ArrayList;",
|
||
|
"elements",
|
||
|
"",
|
||
|
"([Ljava/lang/Object;)Ljava/util/ArrayList;",
|
||
|
"buildList",
|
||
|
"E",
|
||
|
"capacity",
|
||
|
"builderAction",
|
||
|
"",
|
||
|
"Lkotlin/ExtensionFunctionType;",
|
||
|
"collectionToArrayCommonImpl",
|
||
|
"",
|
||
|
"collection",
|
||
|
"(Ljava/util/Collection;)[Ljava/lang/Object;",
|
||
|
"array",
|
||
|
"(Ljava/util/Collection;[Ljava/lang/Object;)[Ljava/lang/Object;",
|
||
|
"emptyList",
|
||
|
"listOf",
|
||
|
"([Ljava/lang/Object;)Ljava/util/List;",
|
||
|
"listOfNotNull",
|
||
|
"element",
|
||
|
"(Ljava/lang/Object;)Ljava/util/List;",
|
||
|
"mutableListOf",
|
||
|
"rangeCheck",
|
||
|
"fromIndex",
|
||
|
"toIndex",
|
||
|
"rangeCheck$CollectionsKt__CollectionsKt",
|
||
|
"throwCountOverflow",
|
||
|
"throwIndexOverflow",
|
||
|
"asCollection",
|
||
|
"([Ljava/lang/Object;)Ljava/util/Collection;",
|
||
|
"binarySearch",
|
||
|
"comparator",
|
||
|
"Ljava/util/Comparator;",
|
||
|
"Lkotlin/Comparator;",
|
||
|
"(Ljava/util/List;Ljava/lang/Object;Ljava/util/Comparator;II)I",
|
||
|
"comparison",
|
||
|
"",
|
||
|
"(Ljava/util/List;Ljava/lang/Comparable;II)I",
|
||
|
"binarySearchBy",
|
||
|
"K",
|
||
|
"key",
|
||
|
"selector",
|
||
|
"(Ljava/util/List;Ljava/lang/Comparable;IILkotlin/jvm/functions/Function1;)I",
|
||
|
"containsAll",
|
||
|
"",
|
||
|
"Lkotlin/internal/OnlyInputTypes;",
|
||
|
"ifEmpty",
|
||
|
"R",
|
||
|
"C",
|
||
|
"defaultValue",
|
||
|
"Lkotlin/Function0;",
|
||
|
"(Ljava/util/Collection;Lkotlin/jvm/functions/Function0;)Ljava/lang/Object;",
|
||
|
"isNotEmpty",
|
||
|
"isNullOrEmpty",
|
||
|
"optimizeReadOnlyList",
|
||
|
"orEmpty",
|
||
|
"shuffled",
|
||
|
"",
|
||
|
"random",
|
||
|
"Lkotlin/random/Random;",
|
||
|
"kotlin-stdlib"
|
||
|
}
|
||
|
k = 0x5
|
||
|
mv = {
|
||
|
0x1,
|
||
|
0x9,
|
||
|
0x0
|
||
|
}
|
||
|
xi = 0x31
|
||
|
xs = "kotlin/collections/CollectionsKt"
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>()V
|
||
|
.locals 0
|
||
|
|
||
|
invoke-direct {p0}, Lkotlin/collections/CollectionsKt__CollectionsJVMKt;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method private static final List(ILkotlin/jvm/functions/Function1;)Ljava/util/List;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(I",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-",
|
||
|
"Ljava/lang/Integer;",
|
||
|
"+TT;>;)",
|
||
|
"Ljava/util/List<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "init"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 150
|
||
|
new-instance v0, Ljava/util/ArrayList;
|
||
|
|
||
|
invoke-direct {v0, p0}, Ljava/util/ArrayList;-><init>(I)V
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
if-ge v1, p0, :cond_0
|
||
|
|
||
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
add-int/lit8 v1, v1, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
check-cast v0, Ljava/util/List;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method private static final MutableList(ILkotlin/jvm/functions/Function1;)Ljava/util/List;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(I",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-",
|
||
|
"Ljava/lang/Integer;",
|
||
|
"+TT;>;)",
|
||
|
"Ljava/util/List<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "init"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 164
|
||
|
new-instance v0, Ljava/util/ArrayList;
|
||
|
|
||
|
invoke-direct {v0, p0}, Ljava/util/ArrayList;-><init>(I)V
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
if-ge v1, p0, :cond_0
|
||
|
|
||
|
.line 165
|
||
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
add-int/lit8 v1, v1, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 166
|
||
|
:cond_0
|
||
|
check-cast v0, Ljava/util/List;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method private static final arrayListOf()Ljava/util/ArrayList;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">()",
|
||
|
"Ljava/util/ArrayList<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.line 111
|
||
|
new-instance v0, Ljava/util/ArrayList;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final varargs arrayListOf([Ljava/lang/Object;)Ljava/util/ArrayList;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">([TT;)",
|
||
|
"Ljava/util/ArrayList<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "elements"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 125
|
||
|
array-length v0, p0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
new-instance p0, Ljava/util/ArrayList;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/util/ArrayList;-><init>()V
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
new-instance v0, Ljava/util/ArrayList;
|
||
|
|
||
|
new-instance v1, Lkotlin/collections/ArrayAsCollection;
|
||
|
|
||
|
const/4 v2, 0x1
|
||
|
|
||
|
invoke-direct {v1, p0, v2}, Lkotlin/collections/ArrayAsCollection;-><init>([Ljava/lang/Object;Z)V
|
||
|
|
||
|
check-cast v1, Ljava/util/Collection;
|
||
|
|
||
|
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
|
||
|
|
||
|
move-object p0, v0
|
||
|
|
||
|
:goto_0
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final asCollection([Ljava/lang/Object;)Ljava/util/Collection;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">([TT;)",
|
||
|
"Ljava/util/Collection<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 56
|
||
|
new-instance v0, Lkotlin/collections/ArrayAsCollection;
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
invoke-direct {v0, p0, v1}, Lkotlin/collections/ArrayAsCollection;-><init>([Ljava/lang/Object;Z)V
|
||
|
|
||
|
check-cast v0, Ljava/util/Collection;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final binarySearch(Ljava/util/List;IILkotlin/jvm/functions/Function1;)I
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Ljava/util/List<",
|
||
|
"+TT;>;II",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Integer;",
|
||
|
">;)I"
|
||
|
}
|
||
|
.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, "comparison"
|
||
|
|
||
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 432
|
||
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
invoke-static {v0, p1, p2}, Lkotlin/collections/CollectionsKt__CollectionsKt;->rangeCheck$CollectionsKt__CollectionsKt(III)V
|
||
|
|
||
|
add-int/lit8 p2, p2, -0x1
|
||
|
|
||
|
:goto_0
|
||
|
if-gt p1, p2, :cond_2
|
||
|
|
||
|
add-int v0, p1, p2
|
||
|
|
||
|
ushr-int/lit8 v0, v0, 0x1
|
||
|
|
||
|
.line 439
|
||
|
invoke-interface {p0, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
.line 440
|
||
|
invoke-interface {p3, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v1}, Ljava/lang/Number;->intValue()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-gez v1, :cond_0
|
||
|
|
||
|
add-int/lit8 p1, v0, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
if-lez v1, :cond_1
|
||
|
|
||
|
add-int/lit8 p2, v0, -0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
return v0
|
||
|
|
||
|
:cond_2
|
||
|
add-int/lit8 p1, p1, 0x1
|
||
|
|
||
|
neg-int p0, p1
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final binarySearch(Ljava/util/List;Ljava/lang/Comparable;II)I
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T::",
|
||
|
"Ljava/lang/Comparable<",
|
||
|
"-TT;>;>(",
|
||
|
"Ljava/util/List<",
|
||
|
"+TT;>;TT;II)I"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 327
|
||
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
invoke-static {v0, p2, p3}, Lkotlin/collections/CollectionsKt__CollectionsKt;->rangeCheck$CollectionsKt__CollectionsKt(III)V
|
||
|
|
||
|
add-int/lit8 p3, p3, -0x1
|
||
|
|
||
|
:goto_0
|
||
|
if-gt p2, p3, :cond_2
|
||
|
|
||
|
add-int v0, p2, p3
|
||
|
|
||
|
ushr-int/lit8 v0, v0, 0x1
|
||
|
|
||
|
.line 334
|
||
|
invoke-interface {p0, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Ljava/lang/Comparable;
|
||
|
|
||
|
.line 335
|
||
|
invoke-static {v1, p1}, Lkotlin/comparisons/ComparisonsKt;->compareValues(Ljava/lang/Comparable;Ljava/lang/Comparable;)I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-gez v1, :cond_0
|
||
|
|
||
|
add-int/lit8 p2, v0, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
if-lez v1, :cond_1
|
||
|
|
||
|
add-int/lit8 p3, v0, -0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
return v0
|
||
|
|
||
|
:cond_2
|
||
|
add-int/lit8 p2, p2, 0x1
|
||
|
|
||
|
neg-int p0, p2
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final binarySearch(Ljava/util/List;Ljava/lang/Object;Ljava/util/Comparator;II)I
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Ljava/util/List<",
|
||
|
"+TT;>;TT;",
|
||
|
"Ljava/util/Comparator<",
|
||
|
"-TT;>;II)I"
|
||
|
}
|
||
|
.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 {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 363
|
||
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
invoke-static {v0, p3, p4}, Lkotlin/collections/CollectionsKt__CollectionsKt;->rangeCheck$CollectionsKt__CollectionsKt(III)V
|
||
|
|
||
|
add-int/lit8 p4, p4, -0x1
|
||
|
|
||
|
:goto_0
|
||
|
if-gt p3, p4, :cond_2
|
||
|
|
||
|
add-int v0, p3, p4
|
||
|
|
||
|
ushr-int/lit8 v0, v0, 0x1
|
||
|
|
||
|
.line 370
|
||
|
invoke-interface {p0, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
.line 371
|
||
|
invoke-interface {p2, v1, p1}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-gez v1, :cond_0
|
||
|
|
||
|
add-int/lit8 p3, v0, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
if-lez v1, :cond_1
|
||
|
|
||
|
add-int/lit8 p4, v0, -0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
return v0
|
||
|
|
||
|
:cond_2
|
||
|
add-int/lit8 p3, p3, 0x1
|
||
|
|
||
|
neg-int p0, p3
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic binarySearch$default(Ljava/util/List;IILkotlin/jvm/functions/Function1;ILjava/lang/Object;)I
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p5, p4, 0x1
|
||
|
|
||
|
if-eqz p5, :cond_0
|
||
|
|
||
|
const/4 p1, 0x0
|
||
|
|
||
|
:cond_0
|
||
|
and-int/lit8 p4, p4, 0x2
|
||
|
|
||
|
if-eqz p4, :cond_1
|
||
|
|
||
|
.line 431
|
||
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
:cond_1
|
||
|
invoke-static {p0, p1, p2, p3}, Lkotlin/collections/CollectionsKt;->binarySearch(Ljava/util/List;IILkotlin/jvm/functions/Function1;)I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic binarySearch$default(Ljava/util/List;Ljava/lang/Comparable;IIILjava/lang/Object;)I
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p5, p4, 0x2
|
||
|
|
||
|
if-eqz p5, :cond_0
|
||
|
|
||
|
const/4 p2, 0x0
|
||
|
|
||
|
:cond_0
|
||
|
and-int/lit8 p4, p4, 0x4
|
||
|
|
||
|
if-eqz p4, :cond_1
|
||
|
|
||
|
.line 326
|
||
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
||
|
|
||
|
move-result p3
|
||
|
|
||
|
:cond_1
|
||
|
invoke-static {p0, p1, p2, p3}, Lkotlin/collections/CollectionsKt;->binarySearch(Ljava/util/List;Ljava/lang/Comparable;II)I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic binarySearch$default(Ljava/util/List;Ljava/lang/Object;Ljava/util/Comparator;IIILjava/lang/Object;)I
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p6, p5, 0x4
|
||
|
|
||
|
if-eqz p6, :cond_0
|
||
|
|
||
|
const/4 p3, 0x0
|
||
|
|
||
|
:cond_0
|
||
|
and-int/lit8 p5, p5, 0x8
|
||
|
|
||
|
if-eqz p5, :cond_1
|
||
|
|
||
|
.line 362
|
||
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
||
|
|
||
|
move-result p4
|
||
|
|
||
|
:cond_1
|
||
|
invoke-static {p0, p1, p2, p3, p4}, Lkotlin/collections/CollectionsKt;->binarySearch(Ljava/util/List;Ljava/lang/Object;Ljava/util/Comparator;II)I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final binarySearchBy(Ljava/util/List;Ljava/lang/Comparable;IILkotlin/jvm/functions/Function1;)I
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"K::",
|
||
|
"Ljava/lang/Comparable<",
|
||
|
"-TK;>;>(",
|
||
|
"Ljava/util/List<",
|
||
|
"+TT;>;TK;II",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TK;>;)I"
|
||
|
}
|
||
|
.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, "selector"
|
||
|
|
||
|
invoke-static {p4, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 405
|
||
|
new-instance v0, Lkotlin/collections/CollectionsKt__CollectionsKt$binarySearchBy$1;
|
||
|
|
||
|
invoke-direct {v0, p4, p1}, Lkotlin/collections/CollectionsKt__CollectionsKt$binarySearchBy$1;-><init>(Lkotlin/jvm/functions/Function1;Ljava/lang/Comparable;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/jvm/functions/Function1;
|
||
|
|
||
|
invoke-static {p0, p2, p3, v0}, Lkotlin/collections/CollectionsKt;->binarySearch(Ljava/util/List;IILkotlin/jvm/functions/Function1;)I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic binarySearchBy$default(Ljava/util/List;Ljava/lang/Comparable;IILkotlin/jvm/functions/Function1;ILjava/lang/Object;)I
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p6, p5, 0x2
|
||
|
|
||
|
if-eqz p6, :cond_0
|
||
|
|
||
|
const/4 p2, 0x0
|
||
|
|
||
|
:cond_0
|
||
|
and-int/lit8 p5, p5, 0x4
|
||
|
|
||
|
if-eqz p5, :cond_1
|
||
|
|
||
|
.line 402
|
||
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
||
|
|
||
|
move-result p3
|
||
|
|
||
|
:cond_1
|
||
|
const-string p5, "<this>"
|
||
|
|
||
|
.line 399
|
||
|
invoke-static {p0, p5}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string p5, "selector"
|
||
|
|
||
|
invoke-static {p4, p5}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 405
|
||
|
new-instance p5, Lkotlin/collections/CollectionsKt__CollectionsKt$binarySearchBy$1;
|
||
|
|
||
|
invoke-direct {p5, p4, p1}, Lkotlin/collections/CollectionsKt__CollectionsKt$binarySearchBy$1;-><init>(Lkotlin/jvm/functions/Function1;Ljava/lang/Comparable;)V
|
||
|
|
||
|
check-cast p5, Lkotlin/jvm/functions/Function1;
|
||
|
|
||
|
invoke-static {p0, p2, p3, p5}, Lkotlin/collections/CollectionsKt;->binarySearch(Ljava/util/List;IILkotlin/jvm/functions/Function1;)I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final buildList(ILkotlin/jvm/functions/Function1;)Ljava/util/List;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<E:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(I",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-",
|
||
|
"Ljava/util/List<",
|
||
|
"TE;>;",
|
||
|
"Lkotlin/Unit;",
|
||
|
">;)",
|
||
|
"Ljava/util/List<",
|
||
|
"TE;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "builderAction"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 215
|
||
|
invoke-static {p0}, Lkotlin/collections/CollectionsKt;->createListBuilder(I)Ljava/util/List;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-interface {p1, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
invoke-static {p0}, Lkotlin/collections/CollectionsKt;->build(Ljava/util/List;)Ljava/util/List;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final buildList(Lkotlin/jvm/functions/Function1;)Ljava/util/List;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<E:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-",
|
||
|
"Ljava/util/List<",
|
||
|
"TE;>;",
|
||
|
"Lkotlin/Unit;",
|
||
|
">;)",
|
||
|
"Ljava/util/List<",
|
||
|
"TE;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "builderAction"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 186
|
||
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->createListBuilder()Ljava/util/List;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p0, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
invoke-static {v0}, Lkotlin/collections/CollectionsKt;->build(Ljava/util/List;)Ljava/util/List;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final collectionToArrayCommonImpl(Ljava/util/Collection;)[Ljava/lang/Object;
|
||
|
.locals 4
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/util/Collection<",
|
||
|
"*>;)[",
|
||
|
"Ljava/lang/Object;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "collection"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 484
|
||
|
invoke-interface {p0}, Ljava/util/Collection;->isEmpty()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
new-array p0, v1, [Ljava/lang/Object;
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 486
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Collection;->size()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
new-array v0, v0, [Ljava/lang/Object;
|
||
|
|
||
|
.line 488
|
||
|
invoke-interface {p0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 490
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_1
|
||
|
|
||
|
add-int/lit8 v2, v1, 0x1
|
||
|
|
||
|
.line 491
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
aput-object v3, v0, v1
|
||
|
|
||
|
move v1, v2
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final collectionToArrayCommonImpl(Ljava/util/Collection;[Ljava/lang/Object;)[Ljava/lang/Object;
|
||
|
.locals 4
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Ljava/util/Collection<",
|
||
|
"*>;[TT;)[TT;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "collection"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "array"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 498
|
||
|
invoke-interface {p0}, Ljava/util/Collection;->isEmpty()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
invoke-static {v1, p1}, Lkotlin/collections/CollectionsKt;->terminateCollectionToArray(I[Ljava/lang/Object;)[Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 500
|
||
|
:cond_0
|
||
|
array-length v0, p1
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Collection;->size()I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-ge v0, v2, :cond_1
|
||
|
|
||
|
.line 501
|
||
|
invoke-interface {p0}, Ljava/util/Collection;->size()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/collections/ArraysKt;->arrayOfNulls([Ljava/lang/Object;I)[Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
.line 506
|
||
|
:cond_1
|
||
|
invoke-interface {p0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 508
|
||
|
:goto_0
|
||
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_2
|
||
|
|
||
|
add-int/lit8 v2, v1, 0x1
|
||
|
|
||
|
.line 510
|
||
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
aput-object v3, p1, v1
|
||
|
|
||
|
move v1, v2
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 513
|
||
|
:cond_2
|
||
|
invoke-interface {p0}, Ljava/util/Collection;->size()I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
invoke-static {p0, p1}, Lkotlin/collections/CollectionsKt;->terminateCollectionToArray(I[Ljava/lang/Object;)[Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final containsAll(Ljava/util/Collection;Ljava/util/Collection;)Z
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Ljava/util/Collection<",
|
||
|
"+TT;>;",
|
||
|
"Ljava/util/Collection<",
|
||
|
"+TT;>;)Z"
|
||
|
}
|
||
|
.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, "elements"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 293
|
||
|
invoke-interface {p0, p1}, Ljava/util/Collection;->containsAll(Ljava/util/Collection;)Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final emptyList()Ljava/util/List;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">()",
|
||
|
"Ljava/util/List<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.line 72
|
||
|
sget-object v0, Lkotlin/collections/EmptyList;->INSTANCE:Lkotlin/collections/EmptyList;
|
||
|
|
||
|
check-cast v0, Ljava/util/List;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final getIndices(Ljava/util/Collection;)Lkotlin/ranges/IntRange;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/util/Collection<",
|
||
|
"*>;)",
|
||
|
"Lkotlin/ranges/IntRange;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 228
|
||
|
new-instance v0, Lkotlin/ranges/IntRange;
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Collection;->size()I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
add-int/lit8 p0, p0, -0x1
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
invoke-direct {v0, v1, p0}, Lkotlin/ranges/IntRange;-><init>(II)V
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final getLastIndex(Ljava/util/List;)I
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Ljava/util/List<",
|
||
|
"+TT;>;)I"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 236
|
||
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
add-int/lit8 p0, p0, -0x1
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final ifEmpty(Ljava/util/Collection;Lkotlin/jvm/functions/Function0;)Ljava/lang/Object;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<C::",
|
||
|
"Ljava/util/Collection<",
|
||
|
"*>;:TR;R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(TC;",
|
||
|
"Lkotlin/jvm/functions/Function0<",
|
||
|
"+TR;>;)TR;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "defaultValue"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 282
|
||
|
invoke-interface {p0}, Ljava/util/Collection;->isEmpty()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
invoke-interface {p1}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:cond_0
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final isNotEmpty(Ljava/util/Collection;)Z
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Ljava/util/Collection<",
|
||
|
"+TT;>;)Z"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 243
|
||
|
invoke-interface {p0}, Ljava/util/Collection;->isEmpty()Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
xor-int/lit8 p0, p0, 0x1
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final isNullOrEmpty(Ljava/util/Collection;)Z
|
||
|
.locals 0
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Ljava/util/Collection<",
|
||
|
"+TT;>;)Z"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
if-eqz p0, :cond_1
|
||
|
|
||
|
.line 256
|
||
|
invoke-interface {p0}, Ljava/util/Collection;->isEmpty()Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
if-eqz p0, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_1
|
||
|
:goto_0
|
||
|
const/4 p0, 0x1
|
||
|
|
||
|
:goto_1
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final listOf()Ljava/util/List;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">()",
|
||
|
"Ljava/util/List<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.line 95
|
||
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->emptyList()Ljava/util/List;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final varargs listOf([Ljava/lang/Object;)Ljava/util/List;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">([TT;)",
|
||
|
"Ljava/util/List<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "elements"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 78
|
||
|
array-length v0, p0
|
||
|
|
||
|
if-lez v0, :cond_0
|
||
|
|
||
|
invoke-static {p0}, Lkotlin/collections/ArraysKt;->asList([Ljava/lang/Object;)Ljava/util/List;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->emptyList()Ljava/util/List;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:goto_0
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final listOfNotNull(Ljava/lang/Object;)Ljava/util/List;
|
||
|
.locals 0
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(TT;)",
|
||
|
"Ljava/util/List<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
if-eqz p0, :cond_0
|
||
|
|
||
|
.line 131
|
||
|
invoke-static {p0}, Lkotlin/collections/CollectionsKt;->listOf(Ljava/lang/Object;)Ljava/util/List;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->emptyList()Ljava/util/List;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:goto_0
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final varargs listOfNotNull([Ljava/lang/Object;)Ljava/util/List;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">([TT;)",
|
||
|
"Ljava/util/List<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "elements"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 137
|
||
|
invoke-static {p0}, Lkotlin/collections/ArraysKt;->filterNotNull([Ljava/lang/Object;)Ljava/util/List;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final mutableListOf()Ljava/util/List;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">()",
|
||
|
"Ljava/util/List<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.line 103
|
||
|
new-instance v0, Ljava/util/ArrayList;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
||
|
|
||
|
check-cast v0, Ljava/util/List;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final varargs mutableListOf([Ljava/lang/Object;)Ljava/util/List;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">([TT;)",
|
||
|
"Ljava/util/List<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "elements"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 118
|
||
|
array-length v0, p0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
new-instance p0, Ljava/util/ArrayList;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/util/ArrayList;-><init>()V
|
||
|
|
||
|
check-cast p0, Ljava/util/List;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
new-instance v0, Ljava/util/ArrayList;
|
||
|
|
||
|
new-instance v1, Lkotlin/collections/ArrayAsCollection;
|
||
|
|
||
|
const/4 v2, 0x1
|
||
|
|
||
|
invoke-direct {v1, p0, v2}, Lkotlin/collections/ArrayAsCollection;-><init>([Ljava/lang/Object;Z)V
|
||
|
|
||
|
check-cast v1, Ljava/util/Collection;
|
||
|
|
||
|
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
|
||
|
|
||
|
move-object p0, v0
|
||
|
|
||
|
check-cast p0, Ljava/util/List;
|
||
|
|
||
|
:goto_0
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final optimizeReadOnlyList(Ljava/util/List;)Ljava/util/List;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Ljava/util/List<",
|
||
|
"+TT;>;)",
|
||
|
"Ljava/util/List<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 304
|
||
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
if-eq v0, v1, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
.line 306
|
||
|
invoke-interface {p0, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-static {p0}, Lkotlin/collections/CollectionsKt;->listOf(Ljava/lang/Object;)Ljava/util/List;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 305
|
||
|
:cond_1
|
||
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->emptyList()Ljava/util/List;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:goto_0
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final orEmpty(Ljava/util/Collection;)Ljava/util/Collection;
|
||
|
.locals 0
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Ljava/util/Collection<",
|
||
|
"+TT;>;)",
|
||
|
"Ljava/util/Collection<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
if-nez p0, :cond_0
|
||
|
|
||
|
.line 264
|
||
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->emptyList()Ljava/util/List;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
check-cast p0, Ljava/util/Collection;
|
||
|
|
||
|
:cond_0
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final orEmpty(Ljava/util/List;)Ljava/util/List;
|
||
|
.locals 0
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Ljava/util/List<",
|
||
|
"+TT;>;)",
|
||
|
"Ljava/util/List<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
if-nez p0, :cond_0
|
||
|
|
||
|
.line 271
|
||
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->emptyList()Ljava/util/List;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:cond_0
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final rangeCheck$CollectionsKt__CollectionsKt(III)V
|
||
|
.locals 3
|
||
|
|
||
|
const-string v0, ")."
|
||
|
|
||
|
const-string v1, "fromIndex ("
|
||
|
|
||
|
if-gt p1, p2, :cond_2
|
||
|
|
||
|
if-ltz p1, :cond_1
|
||
|
|
||
|
if-gt p2, p0, :cond_0
|
||
|
|
||
|
return-void
|
||
|
|
||
|
.line 460
|
||
|
:cond_0
|
||
|
new-instance p1, Ljava/lang/IndexOutOfBoundsException;
|
||
|
|
||
|
new-instance v1, Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v2, "toIndex ("
|
||
|
|
||
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p2
|
||
|
|
||
|
const-string v1, ") is greater than size ("
|
||
|
|
||
|
invoke-virtual {p2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p2
|
||
|
|
||
|
invoke-virtual {p2, p0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-virtual {p0, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-direct {p1, p0}, Ljava/lang/IndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p1
|
||
|
|
||
|
.line 459
|
||
|
:cond_1
|
||
|
new-instance p0, Ljava/lang/IndexOutOfBoundsException;
|
||
|
|
||
|
new-instance p2, Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-direct {p2, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
const-string p2, ") is less than zero."
|
||
|
|
||
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/IndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
|
||
|
.line 458
|
||
|
:cond_2
|
||
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
||
|
|
||
|
new-instance v2, Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-direct {v2, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
const-string v1, ") is greater than toIndex ("
|
||
|
|
||
|
invoke-virtual {p1, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final shuffled(Ljava/lang/Iterable;Lkotlin/random/Random;)Ljava/util/List;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Ljava/lang/Iterable<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/random/Random;",
|
||
|
")",
|
||
|
"Ljava/util/List<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.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, "random"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 301
|
||
|
invoke-static {p0}, Lkotlin/collections/CollectionsKt;->toMutableList(Ljava/lang/Iterable;)Ljava/util/List;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-static {p0, p1}, Lkotlin/collections/CollectionsKt;->shuffle(Ljava/util/List;Lkotlin/random/Random;)V
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final throwCountOverflow()V
|
||
|
.locals 2
|
||
|
|
||
|
.line 480
|
||
|
new-instance v0, Ljava/lang/ArithmeticException;
|
||
|
|
||
|
const-string v1, "Count overflow has happened."
|
||
|
|
||
|
invoke-direct {v0, v1}, Ljava/lang/ArithmeticException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final throwIndexOverflow()V
|
||
|
.locals 2
|
||
|
|
||
|
.line 476
|
||
|
new-instance v0, Ljava/lang/ArithmeticException;
|
||
|
|
||
|
const-string v1, "Index overflow has happened."
|
||
|
|
||
|
invoke-direct {v0, v1}, Ljava/lang/ArithmeticException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw v0
|
||
|
.end method
|