mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-26 00:52:31 -06:00
12018 lines
357 KiB
Smali
12018 lines
357 KiB
Smali
|
.class Lkotlin/sequences/SequencesKt___SequencesKt;
|
||
|
.super Lkotlin/sequences/SequencesKt___SequencesJvmKt;
|
||
|
.source "_Sequences.kt"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/SourceDebugExtension;
|
||
|
value = "SMAP\n_Sequences.kt\nKotlin\n*S Kotlin\n*F\n+ 1 _Sequences.kt\nkotlin/sequences/SequencesKt___SequencesKt\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n+ 3 Maps.kt\nkotlin/collections/MapsKt__MapsKt\n*L\n1#1,3112:1\n179#1,2:3113\n316#1,7:3115\n1324#1,3:3123\n739#1,4:3126\n704#1,4:3130\n722#1,4:3134\n775#1,4:3138\n1017#1,3:3142\n1020#1,3:3152\n1037#1,3:3155\n1040#1,3:3165\n1324#1,3:3182\n1313#1,2:3185\n1#2:3122\n372#3,7:3145\n372#3,7:3158\n372#3,7:3168\n372#3,7:3175\n*S KotlinDebug\n*F\n+ 1 _Sequences.kt\nkotlin/sequences/SequencesKt___SequencesKt\n*L\n87#1:3113,2\n99#1:3115,7\n458#1:3123,3\n658#1:3126,4\n674#1:3130,4\n689#1:3134,4\n760#1:3138,4\n988#1:3142,3\n988#1:3152,3\n1003#1:3155,3\n1003#1:3165,3\n1106#1:3182,3\n1144#1:3185,2\n988#1:3145,7\n1003#1:3158,7\n1019#1:3168,7\n1039#1:3175,7\n*E\n"
|
||
|
.end annotation
|
||
|
|
||
|
.annotation runtime Lkotlin/Metadata;
|
||
|
d1 = {
|
||
|
"\u0000\u0098\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u001c\n\u0002\u0008\u0002\n\u0002\u0010$\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0005\n\u0002\u0010%\n\u0002\u0008\u0008\n\u0002\u0010\u0006\n\u0002\u0010\u0005\n\u0002\u0008\u0002\n\u0002\u0010\u0007\n\u0000\n\u0002\u0010\u0008\n\u0000\n\u0002\u0010\t\n\u0000\n\u0002\u0010\n\n\u0002\u0008\u0002\n\u0002\u0010 \n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0012\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0010\u001f\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0010\u0000\n\u0002\u0008\u001c\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0002\n\u0002\u0008\u0004\n\u0002\u0010!\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\r\n\u0002\u0008\u0006\n\u0002\u0010\u000e\n\u0002\u0008\u000c\n\u0002\u0010\u000f\n\u0002\u0008\u000c\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0019\n\u0002\u0010\u0011\n\u0002\u0008)\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0010#\n\u0000\n\u0002\u0010\"\n\u0002\u0008\u0004\n\u0002\u0018\u0002\n\u0002\u0008\u0006\u001a0\u0010\u0000\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u00032\u0012\u0010\u0004\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u00020\u00010\u0005H\u0086\u0008\u00f8\u0001\u0000\u001a\u0016\u0010\u0006\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u0003\u001a0\u0010\u0006\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u00032\u0012\u0010\u0004\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u00020\u00010\u0005H\u0086\u0008\u00f8\u0001\u0000\u001a\u001c\u0010\u0007\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0008\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u0003\u001a\u001f\u0010\t\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0003\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u0003H\u0087\u0008\u001aT\u0010\n\u001a\u000e\u0012\u0004\u0012\u0002H\u000c\u0012\u0004\u0012\u0002H\r0\u000b\"\u0004\u0008\u0000\u0010\u0002\"\u0004\u0008\u0001\u0010\u000c\"\u0004\u0008\u0002\u0010\r*\u0008\u0012\u0004\u0012\u0002H\u00020\u00032\u001e\u0010\u000e\u001a\u001a\u0012\u0004\u0012\u0002H\u0002\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u000c\u0012\u0004\u0012\u0002H\r0\u000f0\u0005H\u0086\u0008\u00f8\u0001\u0000\u001aB\u0010\u0010\u001a\u000e\u0012\u0004\u0012\u0002H\u000c\u0012\u0004\u0012\u0002H\u00020\u000b\"\u0004\u0008\u0000\u0010\u0002\"\u0004\u0008\u0001\u0010\u000c*\u0008\u0012\u0004\u0012\u0002H\u00020\u00032\u0012\u0010\u0011\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u000c0\u0005H\u0086\u0008\u00f8\u0001\u0000\u001a\\\u0010\u0010\u001a\u000e\u0012\u0004\u0012\u0002H\u000c\u0012\u0004\u0012\u0002H\r0\u000b\"\u0004\u0008\u0000\u0010\u0002\"\u0004\u0008\u0001\u0010\u000c\"\u0004\u0008\u0002\u0010\r*\u0008\u0012\u0004\u0012\u0002H\u00020\u00032\u0012\u0010\u0011\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u000c0\u00052\u0012\u0010\u0012\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\r0\u0005H\u0086\u0008\u00f8\u0001\u0000\u001a]\u0010\u0013\u001a\u0002H\u0014\"\u0004\u0008\u0000\u0010\u0002\"\u0004\u0008\u0001\u0010\u000c\"\u0018\u0008\u0002\u0010\u0014*\u0012\u0012\u0006\u0008\u0000\u0012\u0002H\u000c\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u0015*\u0008\u0012\u0004\u0012\u0002H\u00020\u00032\u0006\u0010\u0016\u001a\u0002H\u00142\u0012\u0010\u0011\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u000c0\u0005H\u0086\u0008\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u0017\u001aw\u0010\u0013\u001a\u0002H\u0014\"\u0004\u0008\u0000\u0010\u0002\"\u0004\u0008\u0001\u0010\u000c\"\u0004
|
||
|
}
|
||
|
d2 = {
|
||
|
"all",
|
||
|
"",
|
||
|
"T",
|
||
|
"Lkotlin/sequences/Sequence;",
|
||
|
"predicate",
|
||
|
"Lkotlin/Function1;",
|
||
|
"any",
|
||
|
"asIterable",
|
||
|
"",
|
||
|
"asSequence",
|
||
|
"associate",
|
||
|
"",
|
||
|
"K",
|
||
|
"V",
|
||
|
"transform",
|
||
|
"Lkotlin/Pair;",
|
||
|
"associateBy",
|
||
|
"keySelector",
|
||
|
"valueTransform",
|
||
|
"associateByTo",
|
||
|
"M",
|
||
|
"",
|
||
|
"destination",
|
||
|
"(Lkotlin/sequences/Sequence;Ljava/util/Map;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;",
|
||
|
"(Lkotlin/sequences/Sequence;Ljava/util/Map;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;",
|
||
|
"associateTo",
|
||
|
"associateWith",
|
||
|
"valueSelector",
|
||
|
"associateWithTo",
|
||
|
"average",
|
||
|
"",
|
||
|
"",
|
||
|
"averageOfByte",
|
||
|
"averageOfDouble",
|
||
|
"",
|
||
|
"averageOfFloat",
|
||
|
"",
|
||
|
"averageOfInt",
|
||
|
"",
|
||
|
"averageOfLong",
|
||
|
"",
|
||
|
"averageOfShort",
|
||
|
"chunked",
|
||
|
"",
|
||
|
"size",
|
||
|
"R",
|
||
|
"contains",
|
||
|
"Lkotlin/internal/OnlyInputTypes;",
|
||
|
"element",
|
||
|
"(Lkotlin/sequences/Sequence;Ljava/lang/Object;)Z",
|
||
|
"count",
|
||
|
"distinct",
|
||
|
"distinctBy",
|
||
|
"selector",
|
||
|
"drop",
|
||
|
"n",
|
||
|
"dropWhile",
|
||
|
"elementAt",
|
||
|
"index",
|
||
|
"(Lkotlin/sequences/Sequence;I)Ljava/lang/Object;",
|
||
|
"elementAtOrElse",
|
||
|
"defaultValue",
|
||
|
"(Lkotlin/sequences/Sequence;ILkotlin/jvm/functions/Function1;)Ljava/lang/Object;",
|
||
|
"elementAtOrNull",
|
||
|
"filter",
|
||
|
"filterIndexed",
|
||
|
"Lkotlin/Function2;",
|
||
|
"Lkotlin/ParameterName;",
|
||
|
"name",
|
||
|
"filterIndexedTo",
|
||
|
"C",
|
||
|
"",
|
||
|
"(Lkotlin/sequences/Sequence;Ljava/util/Collection;Lkotlin/jvm/functions/Function2;)Ljava/util/Collection;",
|
||
|
"filterIsInstance",
|
||
|
"Lkotlin/internal/NoInfer;",
|
||
|
"filterIsInstanceTo",
|
||
|
"(Lkotlin/sequences/Sequence;Ljava/util/Collection;)Ljava/util/Collection;",
|
||
|
"filterNot",
|
||
|
"filterNotNull",
|
||
|
"",
|
||
|
"filterNotNullTo",
|
||
|
"filterNotTo",
|
||
|
"(Lkotlin/sequences/Sequence;Ljava/util/Collection;Lkotlin/jvm/functions/Function1;)Ljava/util/Collection;",
|
||
|
"filterTo",
|
||
|
"find",
|
||
|
"(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;",
|
||
|
"findLast",
|
||
|
"first",
|
||
|
"(Lkotlin/sequences/Sequence;)Ljava/lang/Object;",
|
||
|
"firstNotNullOf",
|
||
|
"firstNotNullOfOrNull",
|
||
|
"firstOrNull",
|
||
|
"flatMap",
|
||
|
"flatMapIterable",
|
||
|
"flatMapIndexed",
|
||
|
"flatMapIndexedIterable",
|
||
|
"flatMapIndexedSequence",
|
||
|
"flatMapIndexedTo",
|
||
|
"flatMapIndexedIterableTo",
|
||
|
"flatMapIndexedSequenceTo",
|
||
|
"flatMapTo",
|
||
|
"flatMapIterableTo",
|
||
|
"fold",
|
||
|
"initial",
|
||
|
"operation",
|
||
|
"acc",
|
||
|
"(Lkotlin/sequences/Sequence;Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Ljava/lang/Object;",
|
||
|
"foldIndexed",
|
||
|
"Lkotlin/Function3;",
|
||
|
"(Lkotlin/sequences/Sequence;Ljava/lang/Object;Lkotlin/jvm/functions/Function3;)Ljava/lang/Object;",
|
||
|
"forEach",
|
||
|
"",
|
||
|
"action",
|
||
|
"forEachIndexed",
|
||
|
"groupBy",
|
||
|
"groupByTo",
|
||
|
"",
|
||
|
"groupingBy",
|
||
|
"Lkotlin/collections/Grouping;",
|
||
|
"indexOf",
|
||
|
"(Lkotlin/sequences/Sequence;Ljava/lang/Object;)I",
|
||
|
"indexOfFirst",
|
||
|
"indexOfLast",
|
||
|
"joinTo",
|
||
|
"A",
|
||
|
"Ljava/lang/Appendable;",
|
||
|
"Lkotlin/text/Appendable;",
|
||
|
"buffer",
|
||
|
"separator",
|
||
|
"",
|
||
|
"prefix",
|
||
|
"postfix",
|
||
|
"limit",
|
||
|
"truncated",
|
||
|
"(Lkotlin/sequences/Sequence;Ljava/lang/Appendable;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Appendable;",
|
||
|
"joinToString",
|
||
|
"",
|
||
|
"last",
|
||
|
"lastIndexOf",
|
||
|
"lastOrNull",
|
||
|
"map",
|
||
|
"mapIndexed",
|
||
|
"mapIndexedNotNull",
|
||
|
"mapIndexedNotNullTo",
|
||
|
"mapIndexedTo",
|
||
|
"mapNotNull",
|
||
|
"mapNotNullTo",
|
||
|
"mapTo",
|
||
|
"max",
|
||
|
"",
|
||
|
"maxOrThrow",
|
||
|
"(Lkotlin/sequences/Sequence;)Ljava/lang/Comparable;",
|
||
|
"maxBy",
|
||
|
"maxByOrThrow",
|
||
|
"maxByOrNull",
|
||
|
"maxOf",
|
||
|
"(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Comparable;",
|
||
|
"maxOfOrNull",
|
||
|
"(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Double;",
|
||
|
"(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Float;",
|
||
|
"maxOfWith",
|
||
|
"comparator",
|
||
|
"Ljava/util/Comparator;",
|
||
|
"Lkotlin/Comparator;",
|
||
|
"(Lkotlin/sequences/Sequence;Ljava/util/Comparator;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;",
|
||
|
"maxOfWithOrNull",
|
||
|
"maxOrNull",
|
||
|
"(Lkotlin/sequences/Sequence;)Ljava/lang/Double;",
|
||
|
"(Lkotlin/sequences/Sequence;)Ljava/lang/Float;",
|
||
|
"maxWith",
|
||
|
"maxWithOrThrow",
|
||
|
"(Lkotlin/sequences/Sequence;Ljava/util/Comparator;)Ljava/lang/Object;",
|
||
|
"maxWithOrNull",
|
||
|
"min",
|
||
|
"minOrThrow",
|
||
|
"minBy",
|
||
|
"minByOrThrow",
|
||
|
"minByOrNull",
|
||
|
"minOf",
|
||
|
"minOfOrNull",
|
||
|
"minOfWith",
|
||
|
"minOfWithOrNull",
|
||
|
"minOrNull",
|
||
|
"minWith",
|
||
|
"minWithOrThrow",
|
||
|
"minWithOrNull",
|
||
|
"minus",
|
||
|
"(Lkotlin/sequences/Sequence;Ljava/lang/Object;)Lkotlin/sequences/Sequence;",
|
||
|
"elements",
|
||
|
"",
|
||
|
"(Lkotlin/sequences/Sequence;[Ljava/lang/Object;)Lkotlin/sequences/Sequence;",
|
||
|
"minusElement",
|
||
|
"none",
|
||
|
"onEach",
|
||
|
"onEachIndexed",
|
||
|
"partition",
|
||
|
"plus",
|
||
|
"plusElement",
|
||
|
"reduce",
|
||
|
"S",
|
||
|
"(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function2;)Ljava/lang/Object;",
|
||
|
"reduceIndexed",
|
||
|
"(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function3;)Ljava/lang/Object;",
|
||
|
"reduceIndexedOrNull",
|
||
|
"reduceOrNull",
|
||
|
"requireNoNulls",
|
||
|
"runningFold",
|
||
|
"(Lkotlin/sequences/Sequence;Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Lkotlin/sequences/Sequence;",
|
||
|
"runningFoldIndexed",
|
||
|
"(Lkotlin/sequences/Sequence;Ljava/lang/Object;Lkotlin/jvm/functions/Function3;)Lkotlin/sequences/Sequence;",
|
||
|
"runningReduce",
|
||
|
"runningReduceIndexed",
|
||
|
"scan",
|
||
|
"scanIndexed",
|
||
|
"single",
|
||
|
"singleOrNull",
|
||
|
"sorted",
|
||
|
"sortedBy",
|
||
|
"sortedByDescending",
|
||
|
"sortedDescending",
|
||
|
"sortedWith",
|
||
|
"sum",
|
||
|
"sumOfByte",
|
||
|
"sumOfDouble",
|
||
|
"sumOfFloat",
|
||
|
"sumOfInt",
|
||
|
"sumOfLong",
|
||
|
"sumOfShort",
|
||
|
"sumBy",
|
||
|
"sumByDouble",
|
||
|
"sumOf",
|
||
|
"Lkotlin/UInt;",
|
||
|
"sumOfUInt",
|
||
|
"(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)I",
|
||
|
"Lkotlin/ULong;",
|
||
|
"sumOfULong",
|
||
|
"(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)J",
|
||
|
"take",
|
||
|
"takeWhile",
|
||
|
"toCollection",
|
||
|
"toHashSet",
|
||
|
"Ljava/util/HashSet;",
|
||
|
"Lkotlin/collections/HashSet;",
|
||
|
"toList",
|
||
|
"toMutableList",
|
||
|
"toMutableSet",
|
||
|
"",
|
||
|
"toSet",
|
||
|
"",
|
||
|
"windowed",
|
||
|
"step",
|
||
|
"partialWindows",
|
||
|
"withIndex",
|
||
|
"Lkotlin/collections/IndexedValue;",
|
||
|
"zip",
|
||
|
"other",
|
||
|
"a",
|
||
|
"b",
|
||
|
"zipWithNext",
|
||
|
"kotlin-stdlib"
|
||
|
}
|
||
|
k = 0x5
|
||
|
mv = {
|
||
|
0x1,
|
||
|
0x9,
|
||
|
0x0
|
||
|
}
|
||
|
xi = 0x31
|
||
|
xs = "kotlin/sequences/SequencesKt"
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>()V
|
||
|
.locals 0
|
||
|
|
||
|
invoke-direct {p0}, Lkotlin/sequences/SequencesKt___SequencesJvmKt;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public static final all(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Z
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Boolean;",
|
||
|
">;)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, "predicate"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1224
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/Boolean;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return p0
|
||
|
|
||
|
:cond_1
|
||
|
const/4 p0, 0x1
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final any(Lkotlin/sequences/Sequence;)Z
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+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 1236
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final any(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Z
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Boolean;",
|
||
|
">;)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, "predicate"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1247
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/Boolean;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x1
|
||
|
|
||
|
return p0
|
||
|
|
||
|
:cond_1
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final asIterable(Lkotlin/sequences/Sequence;)Ljava/lang/Iterable;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;)",
|
||
|
"Ljava/lang/Iterable<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2921
|
||
|
new-instance v0, Lkotlin/sequences/SequencesKt___SequencesKt$asIterable$$inlined$Iterable$1;
|
||
|
|
||
|
invoke-direct {v0, p0}, Lkotlin/sequences/SequencesKt___SequencesKt$asIterable$$inlined$Iterable$1;-><init>(Lkotlin/sequences/Sequence;)V
|
||
|
|
||
|
check-cast v0, Ljava/lang/Iterable;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method private static final asSequence(Lkotlin/sequences/Sequence;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final associate(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"K:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"V:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+",
|
||
|
"Lkotlin/Pair<",
|
||
|
"+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
|
||
|
|
||
|
const-string v0, "transform"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 658
|
||
|
new-instance v0, Ljava/util/LinkedHashMap;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/util/LinkedHashMap;-><init>()V
|
||
|
|
||
|
check-cast v0, Ljava/util/Map;
|
||
|
|
||
|
.line 3126
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
.line 3127
|
||
|
invoke-interface {p1, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Lkotlin/Pair;
|
||
|
|
||
|
invoke-virtual {v1}, Lkotlin/Pair;->getFirst()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-virtual {v1}, Lkotlin/Pair;->getSecond()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-interface {v0, v2, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final associateBy(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"K:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TK;>;)",
|
||
|
"Ljava/util/Map<",
|
||
|
"TK;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, "keySelector"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 674
|
||
|
new-instance v0, Ljava/util/LinkedHashMap;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/util/LinkedHashMap;-><init>()V
|
||
|
|
||
|
check-cast v0, Ljava/util/Map;
|
||
|
|
||
|
.line 3130
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
.line 3131
|
||
|
invoke-interface {p1, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-interface {v0, v2, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final associateBy(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"K:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"V:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TK;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+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
|
||
|
|
||
|
const-string v0, "keySelector"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "valueTransform"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 689
|
||
|
new-instance v0, Ljava/util/LinkedHashMap;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/util/LinkedHashMap;-><init>()V
|
||
|
|
||
|
check-cast v0, Ljava/util/Map;
|
||
|
|
||
|
.line 3134
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
.line 3135
|
||
|
invoke-interface {p1, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-interface {p2, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-interface {v0, v2, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final associateByTo(Lkotlin/sequences/Sequence;Ljava/util/Map;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"K:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"M::",
|
||
|
"Ljava/util/Map<",
|
||
|
"-TK;-TT;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;TM;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TK;>;)TM;"
|
||
|
}
|
||
|
.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, "destination"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "keySelector"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 704
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 705
|
||
|
invoke-interface {p2, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-interface {p1, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
.method public static final associateByTo(Lkotlin/sequences/Sequence;Ljava/util/Map;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"K:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"V:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"M::",
|
||
|
"Ljava/util/Map<",
|
||
|
"-TK;-TV;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;TM;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TK;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TV;>;)TM;"
|
||
|
}
|
||
|
.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, "destination"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "keySelector"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "valueTransform"
|
||
|
|
||
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 722
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 723
|
||
|
invoke-interface {p2, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-interface {p3, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p1, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
.method public static final associateTo(Lkotlin/sequences/Sequence;Ljava/util/Map;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"K:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"V:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"M::",
|
||
|
"Ljava/util/Map<",
|
||
|
"-TK;-TV;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;TM;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+",
|
||
|
"Lkotlin/Pair<",
|
||
|
"+TK;+TV;>;>;)TM;"
|
||
|
}
|
||
|
.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, "destination"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "transform"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 739
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 740
|
||
|
invoke-interface {p2, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Lkotlin/Pair;
|
||
|
|
||
|
invoke-virtual {v0}, Lkotlin/Pair;->getFirst()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-virtual {v0}, Lkotlin/Pair;->getSecond()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p1, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
.method public static final associateWith(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;
|
||
|
.locals 4
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<K:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"V:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TK;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-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
|
||
|
|
||
|
const-string v0, "valueSelector"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 759
|
||
|
new-instance v0, Ljava/util/LinkedHashMap;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/util/LinkedHashMap;-><init>()V
|
||
|
|
||
|
.line 3138
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
.line 3139
|
||
|
move-object v2, v0
|
||
|
|
||
|
check-cast v2, Ljava/util/Map;
|
||
|
|
||
|
invoke-interface {p1, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
invoke-interface {v2, v1, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 3141
|
||
|
:cond_0
|
||
|
check-cast v0, Ljava/util/Map;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final associateWithTo(Lkotlin/sequences/Sequence;Ljava/util/Map;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<K:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"V:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"M::",
|
||
|
"Ljava/util/Map<",
|
||
|
"-TK;-TV;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TK;>;TM;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TK;+TV;>;)TM;"
|
||
|
}
|
||
|
.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, "destination"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "valueSelector"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 775
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 776
|
||
|
invoke-interface {p2, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-interface {p1, v0, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
.method public static final averageOfByte(Lkotlin/sequences/Sequence;)D
|
||
|
.locals 5
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"Ljava/lang/Byte;",
|
||
|
">;)D"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2941
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const-wide/16 v0, 0x0
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
if-eqz v3, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
check-cast v3, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v3}, Ljava/lang/Number;->byteValue()B
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
int-to-double v3, v3
|
||
|
|
||
|
add-double/2addr v0, v3
|
||
|
|
||
|
add-int/lit8 v2, v2, 0x1
|
||
|
|
||
|
if-gez v2, :cond_0
|
||
|
|
||
|
.line 2943
|
||
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->throwCountOverflow()V
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
if-nez v2, :cond_2
|
||
|
|
||
|
const-wide/high16 v0, 0x7ff8000000000000L # Double.NaN
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_2
|
||
|
int-to-double v2, v2
|
||
|
|
||
|
div-double/2addr v0, v2
|
||
|
|
||
|
:goto_1
|
||
|
return-wide v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final averageOfDouble(Lkotlin/sequences/Sequence;)D
|
||
|
.locals 5
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"Ljava/lang/Double;",
|
||
|
">;)D"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 3021
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const-wide/16 v0, 0x0
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
if-eqz v3, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
check-cast v3, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v3}, Ljava/lang/Number;->doubleValue()D
|
||
|
|
||
|
move-result-wide v3
|
||
|
|
||
|
add-double/2addr v0, v3
|
||
|
|
||
|
add-int/lit8 v2, v2, 0x1
|
||
|
|
||
|
if-gez v2, :cond_0
|
||
|
|
||
|
.line 3023
|
||
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->throwCountOverflow()V
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
if-nez v2, :cond_2
|
||
|
|
||
|
const-wide/high16 v0, 0x7ff8000000000000L # Double.NaN
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_2
|
||
|
int-to-double v2, v2
|
||
|
|
||
|
div-double/2addr v0, v2
|
||
|
|
||
|
:goto_1
|
||
|
return-wide v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final averageOfFloat(Lkotlin/sequences/Sequence;)D
|
||
|
.locals 5
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"Ljava/lang/Float;",
|
||
|
">;)D"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 3005
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const-wide/16 v0, 0x0
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
if-eqz v3, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
check-cast v3, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v3}, Ljava/lang/Number;->floatValue()F
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
float-to-double v3, v3
|
||
|
|
||
|
add-double/2addr v0, v3
|
||
|
|
||
|
add-int/lit8 v2, v2, 0x1
|
||
|
|
||
|
if-gez v2, :cond_0
|
||
|
|
||
|
.line 3007
|
||
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->throwCountOverflow()V
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
if-nez v2, :cond_2
|
||
|
|
||
|
const-wide/high16 v0, 0x7ff8000000000000L # Double.NaN
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_2
|
||
|
int-to-double v2, v2
|
||
|
|
||
|
div-double/2addr v0, v2
|
||
|
|
||
|
:goto_1
|
||
|
return-wide v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final averageOfInt(Lkotlin/sequences/Sequence;)D
|
||
|
.locals 5
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"Ljava/lang/Integer;",
|
||
|
">;)D"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2973
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const-wide/16 v0, 0x0
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
if-eqz v3, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
check-cast v3, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v3}, Ljava/lang/Number;->intValue()I
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
int-to-double v3, v3
|
||
|
|
||
|
add-double/2addr v0, v3
|
||
|
|
||
|
add-int/lit8 v2, v2, 0x1
|
||
|
|
||
|
if-gez v2, :cond_0
|
||
|
|
||
|
.line 2975
|
||
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->throwCountOverflow()V
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
if-nez v2, :cond_2
|
||
|
|
||
|
const-wide/high16 v0, 0x7ff8000000000000L # Double.NaN
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_2
|
||
|
int-to-double v2, v2
|
||
|
|
||
|
div-double/2addr v0, v2
|
||
|
|
||
|
:goto_1
|
||
|
return-wide v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final averageOfLong(Lkotlin/sequences/Sequence;)D
|
||
|
.locals 5
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"Ljava/lang/Long;",
|
||
|
">;)D"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2989
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const-wide/16 v0, 0x0
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
if-eqz v3, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
check-cast v3, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v3}, Ljava/lang/Number;->longValue()J
|
||
|
|
||
|
move-result-wide v3
|
||
|
|
||
|
long-to-double v3, v3
|
||
|
|
||
|
add-double/2addr v0, v3
|
||
|
|
||
|
add-int/lit8 v2, v2, 0x1
|
||
|
|
||
|
if-gez v2, :cond_0
|
||
|
|
||
|
.line 2991
|
||
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->throwCountOverflow()V
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
if-nez v2, :cond_2
|
||
|
|
||
|
const-wide/high16 v0, 0x7ff8000000000000L # Double.NaN
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_2
|
||
|
int-to-double v2, v2
|
||
|
|
||
|
div-double/2addr v0, v2
|
||
|
|
||
|
:goto_1
|
||
|
return-wide v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final averageOfShort(Lkotlin/sequences/Sequence;)D
|
||
|
.locals 5
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"Ljava/lang/Short;",
|
||
|
">;)D"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2957
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const-wide/16 v0, 0x0
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
if-eqz v3, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
check-cast v3, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v3}, Ljava/lang/Number;->shortValue()S
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
int-to-double v3, v3
|
||
|
|
||
|
add-double/2addr v0, v3
|
||
|
|
||
|
add-int/lit8 v2, v2, 0x1
|
||
|
|
||
|
if-gez v2, :cond_0
|
||
|
|
||
|
.line 2959
|
||
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->throwCountOverflow()V
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
if-nez v2, :cond_2
|
||
|
|
||
|
const-wide/high16 v0, 0x7ff8000000000000L # Double.NaN
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_2
|
||
|
int-to-double v2, v2
|
||
|
|
||
|
div-double/2addr v0, v2
|
||
|
|
||
|
:goto_1
|
||
|
return-wide v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final chunked(Lkotlin/sequences/Sequence;I)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;I)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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/4 v0, 0x1
|
||
|
|
||
|
.line 2592
|
||
|
invoke-static {p0, p1, p1, v0}, Lkotlin/sequences/SequencesKt;->windowed(Lkotlin/sequences/Sequence;IIZ)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final chunked(Lkotlin/sequences/Sequence;ILkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;I",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-",
|
||
|
"Ljava/util/List<",
|
||
|
"+TT;>;+TR;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "transform"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
.line 2613
|
||
|
invoke-static {p0, p1, p1, v0, p2}, Lkotlin/sequences/SequencesKt;->windowed(Lkotlin/sequences/Sequence;IIZLkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final contains(Lkotlin/sequences/Sequence;Ljava/lang/Object;)Z
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;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 24
|
||
|
invoke-static {p0, p1}, Lkotlin/sequences/SequencesKt;->indexOf(Lkotlin/sequences/Sequence;Ljava/lang/Object;)I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
if-ltz p0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final count(Lkotlin/sequences/Sequence;)I
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+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 1258
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
add-int/lit8 v0, v0, 0x1
|
||
|
|
||
|
if-gez v0, :cond_0
|
||
|
|
||
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->throwCountOverflow()V
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final count(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)I
|
||
|
.locals 4
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Boolean;",
|
||
|
">;)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, "predicate"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1269
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
move v1, v0
|
||
|
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_2
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
check-cast v2, Ljava/lang/Boolean;
|
||
|
|
||
|
invoke-virtual {v2}, Ljava/lang/Boolean;->booleanValue()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_0
|
||
|
|
||
|
add-int/lit8 v1, v1, 0x1
|
||
|
|
||
|
if-gez v1, :cond_0
|
||
|
|
||
|
const/4 v2, 0x3
|
||
|
|
||
|
const/4 v3, 0x1
|
||
|
|
||
|
invoke-static {v3, v2, v0}, Lkotlin/internal/PlatformImplementationsKt;->apiVersionIsAtLeast(III)Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_1
|
||
|
|
||
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->throwCountOverflow()V
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
new-instance p0, Ljava/lang/ArithmeticException;
|
||
|
|
||
|
const-string p1, "Count overflow has happened."
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/ArithmeticException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
|
||
|
:cond_2
|
||
|
return v1
|
||
|
.end method
|
||
|
|
||
|
.method public static final distinct(Lkotlin/sequences/Sequence;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1181
|
||
|
sget-object v0, Lkotlin/sequences/SequencesKt___SequencesKt$distinct$1;->INSTANCE:Lkotlin/sequences/SequencesKt___SequencesKt$distinct$1;
|
||
|
|
||
|
check-cast v0, Lkotlin/jvm/functions/Function1;
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/sequences/SequencesKt;->distinctBy(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final distinctBy(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"K:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TK;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "selector"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1196
|
||
|
new-instance v0, Lkotlin/sequences/DistinctSequence;
|
||
|
|
||
|
invoke-direct {v0, p0, p1}, Lkotlin/sequences/DistinctSequence;-><init>(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/sequences/Sequence;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final drop(Lkotlin/sequences/Sequence;I)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;I)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
if-ltz p1, :cond_2
|
||
|
|
||
|
if-nez p1, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 407
|
||
|
:cond_0
|
||
|
instance-of v0, p0, Lkotlin/sequences/DropTakeSequence;
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
check-cast p0, Lkotlin/sequences/DropTakeSequence;
|
||
|
|
||
|
invoke-interface {p0, p1}, Lkotlin/sequences/DropTakeSequence;->drop(I)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 408
|
||
|
:cond_1
|
||
|
new-instance v0, Lkotlin/sequences/DropSequence;
|
||
|
|
||
|
invoke-direct {v0, p0, p1}, Lkotlin/sequences/DropSequence;-><init>(Lkotlin/sequences/Sequence;I)V
|
||
|
|
||
|
move-object p0, v0
|
||
|
|
||
|
check-cast p0, Lkotlin/sequences/Sequence;
|
||
|
|
||
|
:goto_0
|
||
|
return-object p0
|
||
|
|
||
|
.line 404
|
||
|
:cond_2
|
||
|
new-instance p0, Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v0, "Requested element count "
|
||
|
|
||
|
invoke-direct {p0, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const-string p1, " is less than zero."
|
||
|
|
||
|
invoke-virtual {p0, p1}, 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
|
||
|
|
||
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
||
|
|
||
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p1
|
||
|
.end method
|
||
|
|
||
|
.method public static final dropWhile(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Boolean;",
|
||
|
">;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "predicate"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 420
|
||
|
new-instance v0, Lkotlin/sequences/DropWhileSequence;
|
||
|
|
||
|
invoke-direct {v0, p0, p1}, Lkotlin/sequences/DropWhileSequence;-><init>(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/sequences/Sequence;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final elementAt(Lkotlin/sequences/Sequence;I)Ljava/lang/Object;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;I)TT;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 35
|
||
|
new-instance v0, Lkotlin/sequences/SequencesKt___SequencesKt$elementAt$1;
|
||
|
|
||
|
invoke-direct {v0, p1}, Lkotlin/sequences/SequencesKt___SequencesKt$elementAt$1;-><init>(I)V
|
||
|
|
||
|
check-cast v0, Lkotlin/jvm/functions/Function1;
|
||
|
|
||
|
invoke-static {p0, p1, v0}, Lkotlin/sequences/SequencesKt;->elementAtOrElse(Lkotlin/sequences/Sequence;ILkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final elementAtOrElse(Lkotlin/sequences/Sequence;ILkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;I",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-",
|
||
|
"Ljava/lang/Integer;",
|
||
|
"+TT;>;)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, "defaultValue"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
if-gez p1, :cond_0
|
||
|
|
||
|
.line 47
|
||
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-interface {p2, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 48
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
.line 50
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_2
|
||
|
|
||
|
.line 51
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
add-int/lit8 v2, v0, 0x1
|
||
|
|
||
|
if-ne p1, v0, :cond_1
|
||
|
|
||
|
return-object v1
|
||
|
|
||
|
:cond_1
|
||
|
move v0, v2
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 55
|
||
|
:cond_2
|
||
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-interface {p2, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final elementAtOrNull(Lkotlin/sequences/Sequence;I)Ljava/lang/Object;
|
||
|
.locals 4
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;I)TT;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
if-gez p1, :cond_0
|
||
|
|
||
|
return-object v0
|
||
|
|
||
|
.line 68
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
.line 70
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_2
|
||
|
|
||
|
.line 71
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
add-int/lit8 v3, v1, 0x1
|
||
|
|
||
|
if-ne p1, v1, :cond_1
|
||
|
|
||
|
return-object v2
|
||
|
|
||
|
:cond_1
|
||
|
move v1, v3
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final filter(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Boolean;",
|
||
|
">;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "predicate"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 431
|
||
|
new-instance v0, Lkotlin/sequences/FilteringSequence;
|
||
|
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
invoke-direct {v0, p0, v1, p1}, Lkotlin/sequences/FilteringSequence;-><init>(Lkotlin/sequences/Sequence;ZLkotlin/jvm/functions/Function1;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/sequences/Sequence;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final filterIndexed(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function2;)Lkotlin/sequences/Sequence;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function2<",
|
||
|
"-",
|
||
|
"Ljava/lang/Integer;",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Boolean;",
|
||
|
">;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "predicate"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 445
|
||
|
new-instance v0, Lkotlin/sequences/TransformingSequence;
|
||
|
|
||
|
new-instance v1, Lkotlin/sequences/FilteringSequence;
|
||
|
|
||
|
new-instance v2, Lkotlin/sequences/IndexingSequence;
|
||
|
|
||
|
invoke-direct {v2, p0}, Lkotlin/sequences/IndexingSequence;-><init>(Lkotlin/sequences/Sequence;)V
|
||
|
|
||
|
check-cast v2, Lkotlin/sequences/Sequence;
|
||
|
|
||
|
new-instance p0, Lkotlin/sequences/SequencesKt___SequencesKt$filterIndexed$1;
|
||
|
|
||
|
invoke-direct {p0, p1}, Lkotlin/sequences/SequencesKt___SequencesKt$filterIndexed$1;-><init>(Lkotlin/jvm/functions/Function2;)V
|
||
|
|
||
|
check-cast p0, Lkotlin/jvm/functions/Function1;
|
||
|
|
||
|
const/4 p1, 0x1
|
||
|
|
||
|
invoke-direct {v1, v2, p1, p0}, Lkotlin/sequences/FilteringSequence;-><init>(Lkotlin/sequences/Sequence;ZLkotlin/jvm/functions/Function1;)V
|
||
|
|
||
|
check-cast v1, Lkotlin/sequences/Sequence;
|
||
|
|
||
|
sget-object p0, Lkotlin/sequences/SequencesKt___SequencesKt$filterIndexed$2;->INSTANCE:Lkotlin/sequences/SequencesKt___SequencesKt$filterIndexed$2;
|
||
|
|
||
|
check-cast p0, Lkotlin/jvm/functions/Function1;
|
||
|
|
||
|
invoke-direct {v0, v1, p0}, Lkotlin/sequences/TransformingSequence;-><init>(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/sequences/Sequence;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final filterIndexedTo(Lkotlin/sequences/Sequence;Ljava/util/Collection;Lkotlin/jvm/functions/Function2;)Ljava/util/Collection;
|
||
|
.locals 6
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"C::",
|
||
|
"Ljava/util/Collection<",
|
||
|
"-TT;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;TC;",
|
||
|
"Lkotlin/jvm/functions/Function2<",
|
||
|
"-",
|
||
|
"Ljava/lang/Integer;",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Boolean;",
|
||
|
">;)TC;"
|
||
|
}
|
||
|
.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, "destination"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "predicate"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 3124
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
move v1, v0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_3
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
add-int/lit8 v3, v1, 0x1
|
||
|
|
||
|
if-gez v1, :cond_1
|
||
|
|
||
|
const/4 v4, 0x3
|
||
|
|
||
|
const/4 v5, 0x1
|
||
|
|
||
|
invoke-static {v5, v4, v0}, Lkotlin/internal/PlatformImplementationsKt;->apiVersionIsAtLeast(III)Z
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
if-eqz v4, :cond_0
|
||
|
|
||
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->throwIndexOverflow()V
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_0
|
||
|
new-instance p0, Ljava/lang/ArithmeticException;
|
||
|
|
||
|
const-string p1, "Index overflow has happened."
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/ArithmeticException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
|
||
|
.line 459
|
||
|
:cond_1
|
||
|
:goto_1
|
||
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-interface {p2, v1, v2}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Ljava/lang/Boolean;
|
||
|
|
||
|
invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_2
|
||
|
|
||
|
invoke-interface {p1, v2}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
:cond_2
|
||
|
move v1, v3
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_3
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
.method public static final synthetic filterIsInstance(Lkotlin/sequences/Sequence;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"*>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"TR;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 473
|
||
|
invoke-static {}, Lkotlin/jvm/internal/Intrinsics;->needClassReification()V
|
||
|
|
||
|
sget-object v0, Lkotlin/sequences/SequencesKt___SequencesKt$filterIsInstance$1;->INSTANCE:Lkotlin/sequences/SequencesKt___SequencesKt$filterIsInstance$1;
|
||
|
|
||
|
check-cast v0, Lkotlin/jvm/functions/Function1;
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/sequences/SequencesKt;->filter(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const-string v0, "null cannot be cast to non-null type kotlin.sequences.Sequence<R of kotlin.sequences.SequencesKt___SequencesKt.filterIsInstance>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final synthetic filterIsInstanceTo(Lkotlin/sequences/Sequence;Ljava/util/Collection;)Ljava/util/Collection;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"C::",
|
||
|
"Ljava/util/Collection<",
|
||
|
"-TR;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"*>;TC;)TC;"
|
||
|
}
|
||
|
.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, "destination"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 484
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
const/4 v1, 0x3
|
||
|
|
||
|
const-string v2, "R"
|
||
|
|
||
|
invoke-static {v1, v2}, Lkotlin/jvm/internal/Intrinsics;->reifiedOperationMarker(ILjava/lang/String;)V
|
||
|
|
||
|
instance-of v1, v0, Ljava/lang/Object;
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
invoke-interface {p1, v0}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
.method public static final filterNot(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Boolean;",
|
||
|
">;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "predicate"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 496
|
||
|
new-instance v0, Lkotlin/sequences/FilteringSequence;
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
invoke-direct {v0, p0, v1, p1}, Lkotlin/sequences/FilteringSequence;-><init>(Lkotlin/sequences/Sequence;ZLkotlin/jvm/functions/Function1;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/sequences/Sequence;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final filterNotNull(Lkotlin/sequences/Sequence;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 508
|
||
|
sget-object v0, Lkotlin/sequences/SequencesKt___SequencesKt$filterNotNull$1;->INSTANCE:Lkotlin/sequences/SequencesKt___SequencesKt$filterNotNull$1;
|
||
|
|
||
|
check-cast v0, Lkotlin/jvm/functions/Function1;
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/sequences/SequencesKt;->filterNot(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const-string v0, "null cannot be cast to non-null type kotlin.sequences.Sequence<T of kotlin.sequences.SequencesKt___SequencesKt.filterNotNull>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final filterNotNullTo(Lkotlin/sequences/Sequence;Ljava/util/Collection;)Ljava/util/Collection;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<C::",
|
||
|
"Ljava/util/Collection<",
|
||
|
"-TT;>;T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;TC;)TC;"
|
||
|
}
|
||
|
.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, "destination"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 519
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
invoke-interface {p1, v0}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
.method public static final filterNotTo(Lkotlin/sequences/Sequence;Ljava/util/Collection;Lkotlin/jvm/functions/Function1;)Ljava/util/Collection;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"C::",
|
||
|
"Ljava/util/Collection<",
|
||
|
"-TT;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;TC;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Boolean;",
|
||
|
">;)TC;"
|
||
|
}
|
||
|
.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, "destination"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "predicate"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 531
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p2, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Ljava/lang/Boolean;
|
||
|
|
||
|
invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-nez v1, :cond_0
|
||
|
|
||
|
invoke-interface {p1, v0}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
.method public static final filterTo(Lkotlin/sequences/Sequence;Ljava/util/Collection;Lkotlin/jvm/functions/Function1;)Ljava/util/Collection;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"C::",
|
||
|
"Ljava/util/Collection<",
|
||
|
"-TT;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;TC;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Boolean;",
|
||
|
">;)TC;"
|
||
|
}
|
||
|
.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, "destination"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "predicate"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 543
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p2, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Ljava/lang/Boolean;
|
||
|
|
||
|
invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
invoke-interface {p1, v0}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
.method private static final find(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Boolean;",
|
||
|
">;)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, "predicate"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 3113
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Ljava/lang/Boolean;
|
||
|
|
||
|
invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method private static final findLast(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Boolean;",
|
||
|
">;)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, "predicate"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 3116
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
.line 3117
|
||
|
invoke-interface {p1, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
check-cast v2, Ljava/lang/Boolean;
|
||
|
|
||
|
invoke-virtual {v2}, Ljava/lang/Boolean;->booleanValue()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_0
|
||
|
|
||
|
move-object v0, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final first(Lkotlin/sequences/Sequence;)Ljava/lang/Object;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;)TT;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 110
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 111
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
.line 113
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 112
|
||
|
:cond_0
|
||
|
new-instance p0, Ljava/util/NoSuchElementException;
|
||
|
|
||
|
const-string v0, "Sequence is empty."
|
||
|
|
||
|
invoke-direct {p0, v0}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final first(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Boolean;",
|
||
|
">;)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, "predicate"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 123
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Ljava/lang/Boolean;
|
||
|
|
||
|
invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
return-object v0
|
||
|
|
||
|
.line 124
|
||
|
:cond_1
|
||
|
new-instance p0, Ljava/util/NoSuchElementException;
|
||
|
|
||
|
const-string p1, "Sequence contains no element matching the predicate."
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final firstNotNullOf(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TR;>;)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, "transform"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 138
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
if-nez v0, :cond_1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
:cond_1
|
||
|
if-eqz v0, :cond_2
|
||
|
|
||
|
return-object v0
|
||
|
|
||
|
:cond_2
|
||
|
new-instance p0, Ljava/util/NoSuchElementException;
|
||
|
|
||
|
const-string p1, "No element of the sequence was transformed to a non-null value."
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final firstNotNullOfOrNull(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TR;>;)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, "transform"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 152
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 153
|
||
|
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
return-object v0
|
||
|
|
||
|
:cond_1
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final firstOrNull(Lkotlin/sequences/Sequence;)Ljava/lang/Object;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;)TT;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 167
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 168
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 170
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final firstOrNull(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Boolean;",
|
||
|
">;)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, "predicate"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 179
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Ljava/lang/Boolean;
|
||
|
|
||
|
invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
return-object v0
|
||
|
|
||
|
:cond_1
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final flatMap(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TR;>;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "transform"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 872
|
||
|
new-instance v0, Lkotlin/sequences/FlatteningSequence;
|
||
|
|
||
|
sget-object v1, Lkotlin/sequences/SequencesKt___SequencesKt$flatMap$2;->INSTANCE:Lkotlin/sequences/SequencesKt___SequencesKt$flatMap$2;
|
||
|
|
||
|
check-cast v1, Lkotlin/jvm/functions/Function1;
|
||
|
|
||
|
invoke-direct {v0, p0, p1, v1}, Lkotlin/sequences/FlatteningSequence;-><init>(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/sequences/Sequence;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final flatMapIndexedIterable(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function2;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function2<",
|
||
|
"-",
|
||
|
"Ljava/lang/Integer;",
|
||
|
"-TT;+",
|
||
|
"Ljava/lang/Iterable<",
|
||
|
"+TR;>;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "transform"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 888
|
||
|
sget-object v0, Lkotlin/sequences/SequencesKt___SequencesKt$flatMapIndexed$1;->INSTANCE:Lkotlin/sequences/SequencesKt___SequencesKt$flatMapIndexed$1;
|
||
|
|
||
|
check-cast v0, Lkotlin/jvm/functions/Function1;
|
||
|
|
||
|
invoke-static {p0, p1, v0}, Lkotlin/sequences/SequencesKt;->flatMapIndexed(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final flatMapIndexedIterableTo(Lkotlin/sequences/Sequence;Ljava/util/Collection;Lkotlin/jvm/functions/Function2;)Ljava/util/Collection;
|
||
|
.locals 6
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"C::",
|
||
|
"Ljava/util/Collection<",
|
||
|
"-TR;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;TC;",
|
||
|
"Lkotlin/jvm/functions/Function2<",
|
||
|
"-",
|
||
|
"Ljava/lang/Integer;",
|
||
|
"-TT;+",
|
||
|
"Ljava/lang/Iterable<",
|
||
|
"+TR;>;>;)TC;"
|
||
|
}
|
||
|
.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, "destination"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "transform"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 920
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
move v1, v0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_2
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
add-int/lit8 v3, v1, 0x1
|
||
|
|
||
|
if-gez v1, :cond_1
|
||
|
|
||
|
const/4 v4, 0x3
|
||
|
|
||
|
const/4 v5, 0x1
|
||
|
|
||
|
.line 921
|
||
|
invoke-static {v5, v4, v0}, Lkotlin/internal/PlatformImplementationsKt;->apiVersionIsAtLeast(III)Z
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
if-eqz v4, :cond_0
|
||
|
|
||
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->throwIndexOverflow()V
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_0
|
||
|
new-instance p0, Ljava/lang/ArithmeticException;
|
||
|
|
||
|
const-string p1, "Index overflow has happened."
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/ArithmeticException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
|
||
|
:cond_1
|
||
|
:goto_1
|
||
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-interface {p2, v1, v2}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Ljava/lang/Iterable;
|
||
|
|
||
|
.line 922
|
||
|
invoke-static {p1, v1}, Lkotlin/collections/CollectionsKt;->addAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z
|
||
|
|
||
|
move v1, v3
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
.method public static final flatMapIndexedSequence(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function2;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function2<",
|
||
|
"-",
|
||
|
"Ljava/lang/Integer;",
|
||
|
"-TT;+",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TR;>;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "transform"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 904
|
||
|
sget-object v0, Lkotlin/sequences/SequencesKt___SequencesKt$flatMapIndexed$2;->INSTANCE:Lkotlin/sequences/SequencesKt___SequencesKt$flatMapIndexed$2;
|
||
|
|
||
|
check-cast v0, Lkotlin/jvm/functions/Function1;
|
||
|
|
||
|
invoke-static {p0, p1, v0}, Lkotlin/sequences/SequencesKt;->flatMapIndexed(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final flatMapIndexedSequenceTo(Lkotlin/sequences/Sequence;Ljava/util/Collection;Lkotlin/jvm/functions/Function2;)Ljava/util/Collection;
|
||
|
.locals 6
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"C::",
|
||
|
"Ljava/util/Collection<",
|
||
|
"-TR;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;TC;",
|
||
|
"Lkotlin/jvm/functions/Function2<",
|
||
|
"-",
|
||
|
"Ljava/lang/Integer;",
|
||
|
"-TT;+",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TR;>;>;)TC;"
|
||
|
}
|
||
|
.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, "destination"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "transform"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 940
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
move v1, v0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_2
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
add-int/lit8 v3, v1, 0x1
|
||
|
|
||
|
if-gez v1, :cond_1
|
||
|
|
||
|
const/4 v4, 0x3
|
||
|
|
||
|
const/4 v5, 0x1
|
||
|
|
||
|
.line 941
|
||
|
invoke-static {v5, v4, v0}, Lkotlin/internal/PlatformImplementationsKt;->apiVersionIsAtLeast(III)Z
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
if-eqz v4, :cond_0
|
||
|
|
||
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->throwIndexOverflow()V
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_0
|
||
|
new-instance p0, Ljava/lang/ArithmeticException;
|
||
|
|
||
|
const-string p1, "Index overflow has happened."
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/ArithmeticException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
|
||
|
:cond_1
|
||
|
:goto_1
|
||
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-interface {p2, v1, v2}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Lkotlin/sequences/Sequence;
|
||
|
|
||
|
.line 942
|
||
|
invoke-static {p1, v1}, Lkotlin/collections/CollectionsKt;->addAll(Ljava/util/Collection;Lkotlin/sequences/Sequence;)Z
|
||
|
|
||
|
move v1, v3
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
.method public static final flatMapIterable(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+",
|
||
|
"Ljava/lang/Iterable<",
|
||
|
"+TR;>;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "transform"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 861
|
||
|
new-instance v0, Lkotlin/sequences/FlatteningSequence;
|
||
|
|
||
|
sget-object v1, Lkotlin/sequences/SequencesKt___SequencesKt$flatMap$1;->INSTANCE:Lkotlin/sequences/SequencesKt___SequencesKt$flatMap$1;
|
||
|
|
||
|
check-cast v1, Lkotlin/jvm/functions/Function1;
|
||
|
|
||
|
invoke-direct {v0, p0, p1, v1}, Lkotlin/sequences/FlatteningSequence;-><init>(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/sequences/Sequence;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final flatMapIterableTo(Lkotlin/sequences/Sequence;Ljava/util/Collection;Lkotlin/jvm/functions/Function1;)Ljava/util/Collection;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"C::",
|
||
|
"Ljava/util/Collection<",
|
||
|
"-TR;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;TC;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+",
|
||
|
"Ljava/lang/Iterable<",
|
||
|
"+TR;>;>;)TC;"
|
||
|
}
|
||
|
.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, "destination"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "transform"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 957
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 958
|
||
|
invoke-interface {p2, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/Iterable;
|
||
|
|
||
|
.line 959
|
||
|
invoke-static {p1, v0}, Lkotlin/collections/CollectionsKt;->addAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
.method public static final flatMapTo(Lkotlin/sequences/Sequence;Ljava/util/Collection;Lkotlin/jvm/functions/Function1;)Ljava/util/Collection;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"C::",
|
||
|
"Ljava/util/Collection<",
|
||
|
"-TR;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;TC;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TR;>;>;)TC;"
|
||
|
}
|
||
|
.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, "destination"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "transform"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 970
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 971
|
||
|
invoke-interface {p2, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Lkotlin/sequences/Sequence;
|
||
|
|
||
|
.line 972
|
||
|
invoke-static {p1, v0}, Lkotlin/collections/CollectionsKt;->addAll(Ljava/util/Collection;Lkotlin/sequences/Sequence;)Z
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
.method public static final fold(Lkotlin/sequences/Sequence;Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Ljava/lang/Object;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;TR;",
|
||
|
"Lkotlin/jvm/functions/Function2<",
|
||
|
"-TR;-TT;+TR;>;)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, "operation"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1285
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p2, p1, v0}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
.method public static final foldIndexed(Lkotlin/sequences/Sequence;Ljava/lang/Object;Lkotlin/jvm/functions/Function3;)Ljava/lang/Object;
|
||
|
.locals 6
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;TR;",
|
||
|
"Lkotlin/jvm/functions/Function3<",
|
||
|
"-",
|
||
|
"Ljava/lang/Integer;",
|
||
|
"-TR;-TT;+TR;>;)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, "operation"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1303
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
move v1, v0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_2
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
add-int/lit8 v3, v1, 0x1
|
||
|
|
||
|
if-gez v1, :cond_1
|
||
|
|
||
|
const/4 v4, 0x3
|
||
|
|
||
|
const/4 v5, 0x1
|
||
|
|
||
|
invoke-static {v5, v4, v0}, Lkotlin/internal/PlatformImplementationsKt;->apiVersionIsAtLeast(III)Z
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
if-eqz v4, :cond_0
|
||
|
|
||
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->throwIndexOverflow()V
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_0
|
||
|
new-instance p0, Ljava/lang/ArithmeticException;
|
||
|
|
||
|
const-string p1, "Index overflow has happened."
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/ArithmeticException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
|
||
|
:cond_1
|
||
|
:goto_1
|
||
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-interface {p2, v1, p1, v2}, Lkotlin/jvm/functions/Function3;->invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
move v1, v3
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
.method public static final forEach(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)V
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Lkotlin/Unit;",
|
||
|
">;)V"
|
||
|
}
|
||
|
.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, "action"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1313
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public static final forEachIndexed(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function2;)V
|
||
|
.locals 6
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function2<",
|
||
|
"-",
|
||
|
"Ljava/lang/Integer;",
|
||
|
"-TT;",
|
||
|
"Lkotlin/Unit;",
|
||
|
">;)V"
|
||
|
}
|
||
|
.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, "action"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1325
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
move v1, v0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_2
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
add-int/lit8 v3, v1, 0x1
|
||
|
|
||
|
if-gez v1, :cond_1
|
||
|
|
||
|
const/4 v4, 0x3
|
||
|
|
||
|
const/4 v5, 0x1
|
||
|
|
||
|
invoke-static {v5, v4, v0}, Lkotlin/internal/PlatformImplementationsKt;->apiVersionIsAtLeast(III)Z
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
if-eqz v4, :cond_0
|
||
|
|
||
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->throwIndexOverflow()V
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_0
|
||
|
new-instance p0, Ljava/lang/ArithmeticException;
|
||
|
|
||
|
const-string p1, "Index overflow has happened."
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/ArithmeticException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
|
||
|
:cond_1
|
||
|
:goto_1
|
||
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-interface {p1, v1, v2}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move v1, v3
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public static final groupBy(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;
|
||
|
.locals 4
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"K:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TK;>;)",
|
||
|
"Ljava/util/Map<",
|
||
|
"TK;",
|
||
|
"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, "keySelector"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 988
|
||
|
new-instance v0, Ljava/util/LinkedHashMap;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/util/LinkedHashMap;-><init>()V
|
||
|
|
||
|
check-cast v0, Ljava/util/Map;
|
||
|
|
||
|
.line 3142
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
.line 3143
|
||
|
invoke-interface {p1, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
.line 3145
|
||
|
invoke-interface {v0, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
if-nez v3, :cond_0
|
||
|
|
||
|
.line 3144
|
||
|
new-instance v3, Ljava/util/ArrayList;
|
||
|
|
||
|
invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V
|
||
|
|
||
|
check-cast v3, Ljava/util/List;
|
||
|
|
||
|
.line 3148
|
||
|
invoke-interface {v0, v2, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
.line 3144
|
||
|
:cond_0
|
||
|
check-cast v3, Ljava/util/List;
|
||
|
|
||
|
.line 3152
|
||
|
invoke-interface {v3, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final groupBy(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;
|
||
|
.locals 4
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"K:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"V:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TK;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TV;>;)",
|
||
|
"Ljava/util/Map<",
|
||
|
"TK;",
|
||
|
"Ljava/util/List<",
|
||
|
"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, "keySelector"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "valueTransform"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1003
|
||
|
new-instance v0, Ljava/util/LinkedHashMap;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/util/LinkedHashMap;-><init>()V
|
||
|
|
||
|
check-cast v0, Ljava/util/Map;
|
||
|
|
||
|
.line 3155
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
.line 3156
|
||
|
invoke-interface {p1, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
.line 3158
|
||
|
invoke-interface {v0, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
if-nez v3, :cond_0
|
||
|
|
||
|
.line 3157
|
||
|
new-instance v3, Ljava/util/ArrayList;
|
||
|
|
||
|
invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V
|
||
|
|
||
|
check-cast v3, Ljava/util/List;
|
||
|
|
||
|
.line 3161
|
||
|
invoke-interface {v0, v2, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
.line 3157
|
||
|
:cond_0
|
||
|
check-cast v3, Ljava/util/List;
|
||
|
|
||
|
.line 3165
|
||
|
invoke-interface {p2, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-interface {v3, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final groupByTo(Lkotlin/sequences/Sequence;Ljava/util/Map;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"K:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"M::",
|
||
|
"Ljava/util/Map<",
|
||
|
"-TK;",
|
||
|
"Ljava/util/List<",
|
||
|
"TT;>;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;TM;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TK;>;)TM;"
|
||
|
}
|
||
|
.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, "destination"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "keySelector"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1017
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 1018
|
||
|
invoke-interface {p2, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
.line 3168
|
||
|
invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
if-nez v2, :cond_0
|
||
|
|
||
|
.line 1019
|
||
|
new-instance v2, Ljava/util/ArrayList;
|
||
|
|
||
|
invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V
|
||
|
|
||
|
check-cast v2, Ljava/util/List;
|
||
|
|
||
|
.line 3171
|
||
|
invoke-interface {p1, v1, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
.line 1019
|
||
|
:cond_0
|
||
|
check-cast v2, Ljava/util/List;
|
||
|
|
||
|
.line 1020
|
||
|
invoke-interface {v2, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
.method public static final groupByTo(Lkotlin/sequences/Sequence;Ljava/util/Map;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"K:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"V:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"M::",
|
||
|
"Ljava/util/Map<",
|
||
|
"-TK;",
|
||
|
"Ljava/util/List<",
|
||
|
"TV;>;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;TM;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TK;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TV;>;)TM;"
|
||
|
}
|
||
|
.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, "destination"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "keySelector"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "valueTransform"
|
||
|
|
||
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1037
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 1038
|
||
|
invoke-interface {p2, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
.line 3175
|
||
|
invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
if-nez v2, :cond_0
|
||
|
|
||
|
.line 1039
|
||
|
new-instance v2, Ljava/util/ArrayList;
|
||
|
|
||
|
invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V
|
||
|
|
||
|
check-cast v2, Ljava/util/List;
|
||
|
|
||
|
.line 3178
|
||
|
invoke-interface {p1, v1, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
.line 1039
|
||
|
:cond_0
|
||
|
check-cast v2, Ljava/util/List;
|
||
|
|
||
|
.line 1040
|
||
|
invoke-interface {p3, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {v2, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
.method public static final groupingBy(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/collections/Grouping;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"K:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TK;>;)",
|
||
|
"Lkotlin/collections/Grouping<",
|
||
|
"TT;TK;>;"
|
||
|
}
|
||
|
.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, "keySelector"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1055
|
||
|
new-instance v0, Lkotlin/sequences/SequencesKt___SequencesKt$groupingBy$1;
|
||
|
|
||
|
invoke-direct {v0, p0, p1}, Lkotlin/sequences/SequencesKt___SequencesKt$groupingBy$1;-><init>(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/collections/Grouping;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final indexOf(Lkotlin/sequences/Sequence;Ljava/lang/Object;)I
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;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 190
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_2
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
if-gez v0, :cond_0
|
||
|
|
||
|
.line 191
|
||
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->throwIndexOverflow()V
|
||
|
|
||
|
.line 192
|
||
|
:cond_0
|
||
|
invoke-static {p1, v1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_1
|
||
|
|
||
|
return v0
|
||
|
|
||
|
:cond_1
|
||
|
add-int/lit8 v0, v0, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
const/4 p0, -0x1
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final indexOfFirst(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)I
|
||
|
.locals 5
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Boolean;",
|
||
|
">;)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, "predicate"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 206
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
move v1, v0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_3
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
if-gez v1, :cond_1
|
||
|
|
||
|
const/4 v3, 0x3
|
||
|
|
||
|
const/4 v4, 0x1
|
||
|
|
||
|
.line 207
|
||
|
invoke-static {v4, v3, v0}, Lkotlin/internal/PlatformImplementationsKt;->apiVersionIsAtLeast(III)Z
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
if-eqz v3, :cond_0
|
||
|
|
||
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->throwIndexOverflow()V
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_0
|
||
|
new-instance p0, Ljava/lang/ArithmeticException;
|
||
|
|
||
|
const-string p1, "Index overflow has happened."
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/ArithmeticException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
|
||
|
.line 208
|
||
|
:cond_1
|
||
|
:goto_1
|
||
|
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
check-cast v2, Ljava/lang/Boolean;
|
||
|
|
||
|
invoke-virtual {v2}, Ljava/lang/Boolean;->booleanValue()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_2
|
||
|
|
||
|
return v1
|
||
|
|
||
|
:cond_2
|
||
|
add-int/lit8 v1, v1, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_3
|
||
|
const/4 p0, -0x1
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final indexOfLast(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)I
|
||
|
.locals 6
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Boolean;",
|
||
|
">;)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, "predicate"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 223
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const/4 v0, -0x1
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
move v2, v1
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
if-eqz v3, :cond_3
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
if-gez v2, :cond_1
|
||
|
|
||
|
const/4 v4, 0x3
|
||
|
|
||
|
const/4 v5, 0x1
|
||
|
|
||
|
.line 224
|
||
|
invoke-static {v5, v4, v1}, Lkotlin/internal/PlatformImplementationsKt;->apiVersionIsAtLeast(III)Z
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
if-eqz v4, :cond_0
|
||
|
|
||
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->throwIndexOverflow()V
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_0
|
||
|
new-instance p0, Ljava/lang/ArithmeticException;
|
||
|
|
||
|
const-string p1, "Index overflow has happened."
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/ArithmeticException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
|
||
|
.line 225
|
||
|
:cond_1
|
||
|
:goto_1
|
||
|
invoke-interface {p1, v3}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
check-cast v3, Ljava/lang/Boolean;
|
||
|
|
||
|
invoke-virtual {v3}, Ljava/lang/Boolean;->booleanValue()Z
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
if-eqz v3, :cond_2
|
||
|
|
||
|
move v0, v2
|
||
|
|
||
|
:cond_2
|
||
|
add-int/lit8 v2, v2, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_3
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final joinTo(Lkotlin/sequences/Sequence;Ljava/lang/Appendable;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Appendable;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"A::",
|
||
|
"Ljava/lang/Appendable;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;TA;",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
"I",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
">;)TA;"
|
||
|
}
|
||
|
.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, "buffer"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "separator"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "prefix"
|
||
|
|
||
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "postfix"
|
||
|
|
||
|
invoke-static {p4, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "truncated"
|
||
|
|
||
|
invoke-static {p6, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2890
|
||
|
invoke-interface {p1, p3}, Ljava/lang/Appendable;->append(Ljava/lang/CharSequence;)Ljava/lang/Appendable;
|
||
|
|
||
|
.line 2892
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const/4 p3, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_2
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
add-int/lit8 p3, p3, 0x1
|
||
|
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
if-le p3, v1, :cond_0
|
||
|
|
||
|
.line 2893
|
||
|
invoke-interface {p1, p2}, Ljava/lang/Appendable;->append(Ljava/lang/CharSequence;)Ljava/lang/Appendable;
|
||
|
|
||
|
:cond_0
|
||
|
if-ltz p5, :cond_1
|
||
|
|
||
|
if-gt p3, p5, :cond_2
|
||
|
|
||
|
.line 2895
|
||
|
:cond_1
|
||
|
invoke-static {p1, v0, p7}, Lkotlin/text/StringsKt;->appendElement(Ljava/lang/Appendable;Ljava/lang/Object;Lkotlin/jvm/functions/Function1;)V
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
if-ltz p5, :cond_3
|
||
|
|
||
|
if-le p3, p5, :cond_3
|
||
|
|
||
|
.line 2898
|
||
|
invoke-interface {p1, p6}, Ljava/lang/Appendable;->append(Ljava/lang/CharSequence;)Ljava/lang/Appendable;
|
||
|
|
||
|
.line 2899
|
||
|
:cond_3
|
||
|
invoke-interface {p1, p4}, Ljava/lang/Appendable;->append(Ljava/lang/CharSequence;)Ljava/lang/Appendable;
|
||
|
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic joinTo$default(Lkotlin/sequences/Sequence;Ljava/lang/Appendable;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ljava/lang/Appendable;
|
||
|
.locals 6
|
||
|
|
||
|
and-int/lit8 v0, p8, 0x2
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
const-string v0, ", "
|
||
|
|
||
|
.line 2889
|
||
|
check-cast v0, Ljava/lang/CharSequence;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
move-object v0, p2
|
||
|
|
||
|
:goto_0
|
||
|
and-int/lit8 v1, p8, 0x4
|
||
|
|
||
|
const-string v2, ""
|
||
|
|
||
|
if-eqz v1, :cond_1
|
||
|
|
||
|
move-object v1, v2
|
||
|
|
||
|
check-cast v1, Ljava/lang/CharSequence;
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_1
|
||
|
move-object v1, p3
|
||
|
|
||
|
:goto_1
|
||
|
and-int/lit8 v3, p8, 0x8
|
||
|
|
||
|
if-eqz v3, :cond_2
|
||
|
|
||
|
check-cast v2, Ljava/lang/CharSequence;
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_2
|
||
|
move-object v2, p4
|
||
|
|
||
|
:goto_2
|
||
|
and-int/lit8 v3, p8, 0x10
|
||
|
|
||
|
if-eqz v3, :cond_3
|
||
|
|
||
|
const/4 v3, -0x1
|
||
|
|
||
|
goto :goto_3
|
||
|
|
||
|
:cond_3
|
||
|
move v3, p5
|
||
|
|
||
|
:goto_3
|
||
|
and-int/lit8 v4, p8, 0x20
|
||
|
|
||
|
if-eqz v4, :cond_4
|
||
|
|
||
|
const-string v4, "..."
|
||
|
|
||
|
check-cast v4, Ljava/lang/CharSequence;
|
||
|
|
||
|
goto :goto_4
|
||
|
|
||
|
:cond_4
|
||
|
move-object v4, p6
|
||
|
|
||
|
:goto_4
|
||
|
and-int/lit8 v5, p8, 0x40
|
||
|
|
||
|
if-eqz v5, :cond_5
|
||
|
|
||
|
const/4 v5, 0x0
|
||
|
|
||
|
goto :goto_5
|
||
|
|
||
|
:cond_5
|
||
|
move-object v5, p7
|
||
|
|
||
|
:goto_5
|
||
|
move-object p2, p0
|
||
|
|
||
|
move-object p3, p1
|
||
|
|
||
|
move-object p4, v0
|
||
|
|
||
|
move-object p5, v1
|
||
|
|
||
|
move-object p6, v2
|
||
|
|
||
|
move p7, v3
|
||
|
|
||
|
move-object p8, v4
|
||
|
|
||
|
move-object p9, v5
|
||
|
|
||
|
invoke-static/range {p2 .. p9}, Lkotlin/sequences/SequencesKt;->joinTo(Lkotlin/sequences/Sequence;Ljava/lang/Appendable;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Appendable;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final joinToString(Lkotlin/sequences/Sequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/String;
|
||
|
.locals 9
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
"I",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
">;)",
|
||
|
"Ljava/lang/String;"
|
||
|
}
|
||
|
.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, "separator"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "prefix"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "postfix"
|
||
|
|
||
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "truncated"
|
||
|
|
||
|
invoke-static {p5, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2914
|
||
|
new-instance v0, Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
move-object v2, v0
|
||
|
|
||
|
check-cast v2, Ljava/lang/Appendable;
|
||
|
|
||
|
move-object v1, p0
|
||
|
|
||
|
move-object v3, p1
|
||
|
|
||
|
move-object v4, p2
|
||
|
|
||
|
move-object v5, p3
|
||
|
|
||
|
move v6, p4
|
||
|
|
||
|
move-object v7, p5
|
||
|
|
||
|
move-object v8, p6
|
||
|
|
||
|
invoke-static/range {v1 .. v8}, Lkotlin/sequences/SequencesKt;->joinTo(Lkotlin/sequences/Sequence;Ljava/lang/Appendable;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Appendable;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
check-cast p0, Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const-string p1, "toString(...)"
|
||
|
|
||
|
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic joinToString$default(Lkotlin/sequences/Sequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ljava/lang/String;
|
||
|
.locals 4
|
||
|
|
||
|
and-int/lit8 p8, p7, 0x1
|
||
|
|
||
|
if-eqz p8, :cond_0
|
||
|
|
||
|
const-string p1, ", "
|
||
|
|
||
|
.line 2913
|
||
|
check-cast p1, Ljava/lang/CharSequence;
|
||
|
|
||
|
:cond_0
|
||
|
and-int/lit8 p8, p7, 0x2
|
||
|
|
||
|
const-string v0, ""
|
||
|
|
||
|
if-eqz p8, :cond_1
|
||
|
|
||
|
move-object p2, v0
|
||
|
|
||
|
check-cast p2, Ljava/lang/CharSequence;
|
||
|
|
||
|
:cond_1
|
||
|
move-object p8, p2
|
||
|
|
||
|
and-int/lit8 p2, p7, 0x4
|
||
|
|
||
|
if-eqz p2, :cond_2
|
||
|
|
||
|
move-object p3, v0
|
||
|
|
||
|
check-cast p3, Ljava/lang/CharSequence;
|
||
|
|
||
|
:cond_2
|
||
|
move-object v0, p3
|
||
|
|
||
|
and-int/lit8 p2, p7, 0x8
|
||
|
|
||
|
if-eqz p2, :cond_3
|
||
|
|
||
|
const/4 p4, -0x1
|
||
|
|
||
|
:cond_3
|
||
|
move v1, p4
|
||
|
|
||
|
and-int/lit8 p2, p7, 0x10
|
||
|
|
||
|
if-eqz p2, :cond_4
|
||
|
|
||
|
const-string p2, "..."
|
||
|
|
||
|
move-object p5, p2
|
||
|
|
||
|
check-cast p5, Ljava/lang/CharSequence;
|
||
|
|
||
|
:cond_4
|
||
|
move-object v2, p5
|
||
|
|
||
|
and-int/lit8 p2, p7, 0x20
|
||
|
|
||
|
if-eqz p2, :cond_5
|
||
|
|
||
|
const/4 p6, 0x0
|
||
|
|
||
|
:cond_5
|
||
|
move-object v3, p6
|
||
|
|
||
|
move-object p2, p0
|
||
|
|
||
|
move-object p3, p1
|
||
|
|
||
|
move-object p4, p8
|
||
|
|
||
|
move-object p5, v0
|
||
|
|
||
|
move p6, v1
|
||
|
|
||
|
move-object p7, v2
|
||
|
|
||
|
move-object p8, v3
|
||
|
|
||
|
invoke-static/range {p2 .. p8}, Lkotlin/sequences/SequencesKt;->joinToString(Lkotlin/sequences/Sequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final last(Lkotlin/sequences/Sequence;)Ljava/lang/Object;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;)TT;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 242
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 243
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
.line 245
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 246
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
.line 247
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return-object v0
|
||
|
|
||
|
.line 244
|
||
|
:cond_1
|
||
|
new-instance p0, Ljava/util/NoSuchElementException;
|
||
|
|
||
|
const-string v0, "Sequence is empty."
|
||
|
|
||
|
invoke-direct {p0, v0}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final last(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||
|
.locals 4
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Boolean;",
|
||
|
">;)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, "predicate"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 263
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
.line 264
|
||
|
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
check-cast v3, Ljava/lang/Boolean;
|
||
|
|
||
|
invoke-virtual {v3}, Ljava/lang/Boolean;->booleanValue()Z
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
if-eqz v3, :cond_0
|
||
|
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
move-object v0, v2
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
if-eqz v1, :cond_2
|
||
|
|
||
|
return-object v0
|
||
|
|
||
|
.line 269
|
||
|
:cond_2
|
||
|
new-instance p0, Ljava/util/NoSuchElementException;
|
||
|
|
||
|
const-string p1, "Sequence contains no element matching the predicate."
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final lastIndexOf(Lkotlin/sequences/Sequence;Ljava/lang/Object;)I
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;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 282
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const/4 v0, -0x1
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_2
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
if-gez v1, :cond_0
|
||
|
|
||
|
.line 283
|
||
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->throwIndexOverflow()V
|
||
|
|
||
|
.line 284
|
||
|
:cond_0
|
||
|
invoke-static {p1, v2}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_1
|
||
|
|
||
|
move v0, v1
|
||
|
|
||
|
:cond_1
|
||
|
add-int/lit8 v1, v1, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final lastOrNull(Lkotlin/sequences/Sequence;)Ljava/lang/Object;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;)TT;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 299
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 300
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 302
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 303
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_1
|
||
|
|
||
|
.line 304
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final lastOrNull(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Boolean;",
|
||
|
">;)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, "predicate"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 317
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
.line 318
|
||
|
invoke-interface {p1, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
check-cast v2, Ljava/lang/Boolean;
|
||
|
|
||
|
invoke-virtual {v2}, Ljava/lang/Boolean;->booleanValue()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_0
|
||
|
|
||
|
move-object v0, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final map(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TR;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "transform"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1070
|
||
|
new-instance v0, Lkotlin/sequences/TransformingSequence;
|
||
|
|
||
|
invoke-direct {v0, p0, p1}, Lkotlin/sequences/TransformingSequence;-><init>(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/sequences/Sequence;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final mapIndexed(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function2;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function2<",
|
||
|
"-",
|
||
|
"Ljava/lang/Integer;",
|
||
|
"-TT;+TR;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "transform"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1082
|
||
|
new-instance v0, Lkotlin/sequences/TransformingIndexedSequence;
|
||
|
|
||
|
invoke-direct {v0, p0, p1}, Lkotlin/sequences/TransformingIndexedSequence;-><init>(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function2;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/sequences/Sequence;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final mapIndexedNotNull(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function2;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function2<",
|
||
|
"-",
|
||
|
"Ljava/lang/Integer;",
|
||
|
"-TT;+TR;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "transform"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1094
|
||
|
new-instance v0, Lkotlin/sequences/TransformingIndexedSequence;
|
||
|
|
||
|
invoke-direct {v0, p0, p1}, Lkotlin/sequences/TransformingIndexedSequence;-><init>(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function2;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/sequences/Sequence;
|
||
|
|
||
|
invoke-static {v0}, Lkotlin/sequences/SequencesKt;->filterNotNull(Lkotlin/sequences/Sequence;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final mapIndexedNotNullTo(Lkotlin/sequences/Sequence;Ljava/util/Collection;Lkotlin/jvm/functions/Function2;)Ljava/util/Collection;
|
||
|
.locals 6
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"C::",
|
||
|
"Ljava/util/Collection<",
|
||
|
"-TR;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;TC;",
|
||
|
"Lkotlin/jvm/functions/Function2<",
|
||
|
"-",
|
||
|
"Ljava/lang/Integer;",
|
||
|
"-TT;+TR;>;)TC;"
|
||
|
}
|
||
|
.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, "destination"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "transform"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 3183
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
move v1, v0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_3
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
add-int/lit8 v3, v1, 0x1
|
||
|
|
||
|
if-gez v1, :cond_1
|
||
|
|
||
|
const/4 v4, 0x3
|
||
|
|
||
|
const/4 v5, 0x1
|
||
|
|
||
|
invoke-static {v5, v4, v0}, Lkotlin/internal/PlatformImplementationsKt;->apiVersionIsAtLeast(III)Z
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
if-eqz v4, :cond_0
|
||
|
|
||
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->throwIndexOverflow()V
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_0
|
||
|
new-instance p0, Ljava/lang/ArithmeticException;
|
||
|
|
||
|
const-string p1, "Index overflow has happened."
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/ArithmeticException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
|
||
|
.line 1106
|
||
|
:cond_1
|
||
|
:goto_1
|
||
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-interface {p2, v1, v2}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
if-eqz v1, :cond_2
|
||
|
|
||
|
invoke-interface {p1, v1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
:cond_2
|
||
|
move v1, v3
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_3
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
.method public static final mapIndexedTo(Lkotlin/sequences/Sequence;Ljava/util/Collection;Lkotlin/jvm/functions/Function2;)Ljava/util/Collection;
|
||
|
.locals 6
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"C::",
|
||
|
"Ljava/util/Collection<",
|
||
|
"-TR;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;TC;",
|
||
|
"Lkotlin/jvm/functions/Function2<",
|
||
|
"-",
|
||
|
"Ljava/lang/Integer;",
|
||
|
"-TT;+TR;>;)TC;"
|
||
|
}
|
||
|
.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, "destination"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "transform"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1120
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
move v1, v0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_2
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
add-int/lit8 v3, v1, 0x1
|
||
|
|
||
|
if-gez v1, :cond_1
|
||
|
|
||
|
const/4 v4, 0x3
|
||
|
|
||
|
const/4 v5, 0x1
|
||
|
|
||
|
.line 1121
|
||
|
invoke-static {v5, v4, v0}, Lkotlin/internal/PlatformImplementationsKt;->apiVersionIsAtLeast(III)Z
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
if-eqz v4, :cond_0
|
||
|
|
||
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->throwIndexOverflow()V
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_0
|
||
|
new-instance p0, Ljava/lang/ArithmeticException;
|
||
|
|
||
|
const-string p1, "Index overflow has happened."
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/ArithmeticException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
|
||
|
:cond_1
|
||
|
:goto_1
|
||
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-interface {p2, v1, v2}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-interface {p1, v1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
move v1, v3
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
.method public static final mapNotNull(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TR;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "transform"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1134
|
||
|
new-instance v0, Lkotlin/sequences/TransformingSequence;
|
||
|
|
||
|
invoke-direct {v0, p0, p1}, Lkotlin/sequences/TransformingSequence;-><init>(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/sequences/Sequence;
|
||
|
|
||
|
invoke-static {v0}, Lkotlin/sequences/SequencesKt;->filterNotNull(Lkotlin/sequences/Sequence;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final mapNotNullTo(Lkotlin/sequences/Sequence;Ljava/util/Collection;Lkotlin/jvm/functions/Function1;)Ljava/util/Collection;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"C::",
|
||
|
"Ljava/util/Collection<",
|
||
|
"-TR;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;TC;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TR;>;)TC;"
|
||
|
}
|
||
|
.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, "destination"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "transform"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 3185
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 1144
|
||
|
invoke-interface {p2, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
invoke-interface {p1, v0}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
.method public static final mapTo(Lkotlin/sequences/Sequence;Ljava/util/Collection;Lkotlin/jvm/functions/Function1;)Ljava/util/Collection;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"C::",
|
||
|
"Ljava/util/Collection<",
|
||
|
"-TR;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;TC;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TR;>;)TC;"
|
||
|
}
|
||
|
.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, "destination"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "transform"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1155
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 1156
|
||
|
invoke-interface {p2, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p1, v0}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
.method public static final maxByOrNull(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||
|
.locals 5
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R::",
|
||
|
"Ljava/lang/Comparable<",
|
||
|
"-TR;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TR;>;)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, "selector"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1433
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 1434
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 1435
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 1436
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-nez v1, :cond_1
|
||
|
|
||
|
return-object v0
|
||
|
|
||
|
.line 1437
|
||
|
:cond_1
|
||
|
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Ljava/lang/Comparable;
|
||
|
|
||
|
.line 1439
|
||
|
:cond_2
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
.line 1440
|
||
|
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
check-cast v3, Ljava/lang/Comparable;
|
||
|
|
||
|
.line 1441
|
||
|
invoke-interface {v1, v3}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
if-gez v4, :cond_3
|
||
|
|
||
|
move-object v0, v2
|
||
|
|
||
|
move-object v1, v3
|
||
|
|
||
|
.line 1445
|
||
|
:cond_3
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-nez v2, :cond_2
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final maxByOrThrow(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||
|
.locals 5
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R::",
|
||
|
"Ljava/lang/Comparable<",
|
||
|
"-TR;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TR;>;)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, "selector"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1408
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 1409
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_3
|
||
|
|
||
|
.line 1410
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 1411
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-nez v1, :cond_0
|
||
|
|
||
|
return-object v0
|
||
|
|
||
|
.line 1412
|
||
|
:cond_0
|
||
|
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Ljava/lang/Comparable;
|
||
|
|
||
|
.line 1414
|
||
|
:cond_1
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
.line 1415
|
||
|
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
check-cast v3, Ljava/lang/Comparable;
|
||
|
|
||
|
.line 1416
|
||
|
invoke-interface {v1, v3}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
if-gez v4, :cond_2
|
||
|
|
||
|
move-object v0, v2
|
||
|
|
||
|
move-object v1, v3
|
||
|
|
||
|
.line 1420
|
||
|
:cond_2
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-nez v2, :cond_1
|
||
|
|
||
|
return-object v0
|
||
|
|
||
|
.line 1409
|
||
|
:cond_3
|
||
|
new-instance p0, Ljava/util/NoSuchElementException;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/util/NoSuchElementException;-><init>()V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final maxOf(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)D
|
||
|
.locals 4
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Double;",
|
||
|
">;)D"
|
||
|
}
|
||
|
.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 {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1464
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 1465
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
.line 1466
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Number;->doubleValue()D
|
||
|
|
||
|
move-result-wide v0
|
||
|
|
||
|
.line 1467
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_0
|
||
|
|
||
|
.line 1468
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
check-cast v2, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v2}, Ljava/lang/Number;->doubleValue()D
|
||
|
|
||
|
move-result-wide v2
|
||
|
|
||
|
.line 1469
|
||
|
invoke-static {v0, v1, v2, v3}, Ljava/lang/Math;->max(DD)D
|
||
|
|
||
|
move-result-wide v0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return-wide v0
|
||
|
|
||
|
.line 1465
|
||
|
:cond_1
|
||
|
new-instance p0, Ljava/util/NoSuchElementException;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/util/NoSuchElementException;-><init>()V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final maxOf(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)F
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Float;",
|
||
|
">;)F"
|
||
|
}
|
||
|
.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 {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1489
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 1490
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
.line 1491
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Number;->floatValue()F
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
.line 1492
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
.line 1493
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-interface {p1, 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;->floatValue()F
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
.line 1494
|
||
|
invoke-static {v0, v1}, Ljava/lang/Math;->max(FF)F
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return v0
|
||
|
|
||
|
.line 1490
|
||
|
:cond_1
|
||
|
new-instance p0, Ljava/util/NoSuchElementException;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/util/NoSuchElementException;-><init>()V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final maxOf(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Comparable;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R::",
|
||
|
"Ljava/lang/Comparable<",
|
||
|
"-TR;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TR;>;)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, "selector"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1512
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 1513
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_2
|
||
|
|
||
|
.line 1514
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/Comparable;
|
||
|
|
||
|
.line 1515
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_1
|
||
|
|
||
|
.line 1516
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-interface {p1, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Ljava/lang/Comparable;
|
||
|
|
||
|
.line 1517
|
||
|
invoke-interface {v0, v1}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-gez v2, :cond_0
|
||
|
|
||
|
move-object v0, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
return-object v0
|
||
|
|
||
|
.line 1513
|
||
|
:cond_2
|
||
|
new-instance p0, Ljava/util/NoSuchElementException;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/util/NoSuchElementException;-><init>()V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final maxOfOrNull(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Comparable;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R::",
|
||
|
"Ljava/lang/Comparable<",
|
||
|
"-TR;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TR;>;)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, "selector"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1581
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 1582
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 1583
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/Comparable;
|
||
|
|
||
|
.line 1584
|
||
|
:cond_1
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_2
|
||
|
|
||
|
.line 1585
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-interface {p1, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Ljava/lang/Comparable;
|
||
|
|
||
|
.line 1586
|
||
|
invoke-interface {v0, v1}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-gez v2, :cond_1
|
||
|
|
||
|
move-object v0, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method private static final maxOfOrNull(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Double;
|
||
|
.locals 4
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Double;",
|
||
|
">;)",
|
||
|
"Ljava/lang/Double;"
|
||
|
}
|
||
|
.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 {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1537
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 1538
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 1539
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Number;->doubleValue()D
|
||
|
|
||
|
move-result-wide v0
|
||
|
|
||
|
.line 1540
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_1
|
||
|
|
||
|
.line 1541
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
check-cast v2, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v2}, Ljava/lang/Number;->doubleValue()D
|
||
|
|
||
|
move-result-wide v2
|
||
|
|
||
|
.line 1542
|
||
|
invoke-static {v0, v1, v2, v3}, Ljava/lang/Math;->max(DD)D
|
||
|
|
||
|
move-result-wide v0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 1544
|
||
|
:cond_1
|
||
|
invoke-static {v0, v1}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final maxOfOrNull(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Float;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Float;",
|
||
|
">;)",
|
||
|
"Ljava/lang/Float;"
|
||
|
}
|
||
|
.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 {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1560
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 1561
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 1562
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Number;->floatValue()F
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
.line 1563
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_1
|
||
|
|
||
|
.line 1564
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-interface {p1, 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;->floatValue()F
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
.line 1565
|
||
|
invoke-static {v0, v1}, Ljava/lang/Math;->max(FF)F
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 1567
|
||
|
:cond_1
|
||
|
invoke-static {v0}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final maxOfWith(Lkotlin/sequences/Sequence;Ljava/util/Comparator;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Ljava/util/Comparator<",
|
||
|
"-TR;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TR;>;)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, "comparator"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "selector"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1606
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 1607
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_2
|
||
|
|
||
|
.line 1608
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p2, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 1609
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_1
|
||
|
|
||
|
.line 1610
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-interface {p2, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
.line 1611
|
||
|
invoke-interface {p1, v0, v1}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-gez v2, :cond_0
|
||
|
|
||
|
move-object v0, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
return-object v0
|
||
|
|
||
|
.line 1607
|
||
|
:cond_2
|
||
|
new-instance p0, Ljava/util/NoSuchElementException;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/util/NoSuchElementException;-><init>()V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final maxOfWithOrNull(Lkotlin/sequences/Sequence;Ljava/util/Comparator;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Ljava/util/Comparator<",
|
||
|
"-TR;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TR;>;)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, "comparator"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "selector"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1629
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 1630
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 1631
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p2, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 1632
|
||
|
:cond_1
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_2
|
||
|
|
||
|
.line 1633
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-interface {p2, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
.line 1634
|
||
|
invoke-interface {p1, v0, v1}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-gez v2, :cond_1
|
||
|
|
||
|
move-object v0, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final maxOrNull(Lkotlin/sequences/Sequence;)Ljava/lang/Comparable;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T::",
|
||
|
"Ljava/lang/Comparable<",
|
||
|
"-TT;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;)TT;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1686
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 1687
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 1688
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/Comparable;
|
||
|
|
||
|
.line 1689
|
||
|
:cond_1
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_2
|
||
|
|
||
|
.line 1690
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Ljava/lang/Comparable;
|
||
|
|
||
|
.line 1691
|
||
|
invoke-interface {v0, v1}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-gez v2, :cond_1
|
||
|
|
||
|
move-object v0, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final maxOrNull(Lkotlin/sequences/Sequence;)Ljava/lang/Double;
|
||
|
.locals 4
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"Ljava/lang/Double;",
|
||
|
">;)",
|
||
|
"Ljava/lang/Double;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1650
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 1651
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 1652
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Number;->doubleValue()D
|
||
|
|
||
|
move-result-wide v0
|
||
|
|
||
|
.line 1653
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_1
|
||
|
|
||
|
.line 1654
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
check-cast v2, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v2}, Ljava/lang/Number;->doubleValue()D
|
||
|
|
||
|
move-result-wide v2
|
||
|
|
||
|
.line 1655
|
||
|
invoke-static {v0, v1, v2, v3}, Ljava/lang/Math;->max(DD)D
|
||
|
|
||
|
move-result-wide v0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 1657
|
||
|
:cond_1
|
||
|
invoke-static {v0, v1}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final maxOrNull(Lkotlin/sequences/Sequence;)Ljava/lang/Float;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"Ljava/lang/Float;",
|
||
|
">;)",
|
||
|
"Ljava/lang/Float;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1669
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 1670
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 1671
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Number;->floatValue()F
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
.line 1672
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_1
|
||
|
|
||
|
.line 1673
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v1}, Ljava/lang/Number;->floatValue()F
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
.line 1674
|
||
|
invoke-static {v0, v1}, Ljava/lang/Math;->max(FF)F
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 1676
|
||
|
:cond_1
|
||
|
invoke-static {v0}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final maxOrThrow(Lkotlin/sequences/Sequence;)D
|
||
|
.locals 4
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"Ljava/lang/Double;",
|
||
|
">;)D"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1341
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 1342
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
.line 1343
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Number;->doubleValue()D
|
||
|
|
||
|
move-result-wide v0
|
||
|
|
||
|
.line 1344
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_0
|
||
|
|
||
|
.line 1345
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
check-cast v2, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v2}, Ljava/lang/Number;->doubleValue()D
|
||
|
|
||
|
move-result-wide v2
|
||
|
|
||
|
.line 1346
|
||
|
invoke-static {v0, v1, v2, v3}, Ljava/lang/Math;->max(DD)D
|
||
|
|
||
|
move-result-wide v0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return-wide v0
|
||
|
|
||
|
.line 1342
|
||
|
:cond_1
|
||
|
new-instance p0, Ljava/util/NoSuchElementException;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/util/NoSuchElementException;-><init>()V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final maxOrThrow(Lkotlin/sequences/Sequence;)F
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"Ljava/lang/Float;",
|
||
|
">;)F"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1364
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 1365
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
.line 1366
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Number;->floatValue()F
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
.line 1367
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
.line 1368
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v1}, Ljava/lang/Number;->floatValue()F
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
.line 1369
|
||
|
invoke-static {v0, v1}, Ljava/lang/Math;->max(FF)F
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return v0
|
||
|
|
||
|
.line 1365
|
||
|
:cond_1
|
||
|
new-instance p0, Ljava/util/NoSuchElementException;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/util/NoSuchElementException;-><init>()V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final maxOrThrow(Lkotlin/sequences/Sequence;)Ljava/lang/Comparable;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T::",
|
||
|
"Ljava/lang/Comparable<",
|
||
|
"-TT;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;)TT;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1385
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 1386
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_2
|
||
|
|
||
|
.line 1387
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/Comparable;
|
||
|
|
||
|
.line 1388
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_1
|
||
|
|
||
|
.line 1389
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Ljava/lang/Comparable;
|
||
|
|
||
|
.line 1390
|
||
|
invoke-interface {v0, v1}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-gez v2, :cond_0
|
||
|
|
||
|
move-object v0, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
return-object v0
|
||
|
|
||
|
.line 1386
|
||
|
:cond_2
|
||
|
new-instance p0, Ljava/util/NoSuchElementException;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/util/NoSuchElementException;-><init>()V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final maxWithOrNull(Lkotlin/sequences/Sequence;Ljava/util/Comparator;)Ljava/lang/Object;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Ljava/util/Comparator<",
|
||
|
"-TT;>;)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, "comparator"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1724
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 1725
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 1726
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 1727
|
||
|
:cond_1
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_2
|
||
|
|
||
|
.line 1728
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
.line 1729
|
||
|
invoke-interface {p1, v0, v1}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-gez v2, :cond_1
|
||
|
|
||
|
move-object v0, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final maxWithOrThrow(Lkotlin/sequences/Sequence;Ljava/util/Comparator;)Ljava/lang/Object;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Ljava/util/Comparator<",
|
||
|
"-TT;>;)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, "comparator"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1707
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 1708
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_2
|
||
|
|
||
|
.line 1709
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 1710
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_1
|
||
|
|
||
|
.line 1711
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
.line 1712
|
||
|
invoke-interface {p1, v0, v1}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-gez v2, :cond_0
|
||
|
|
||
|
move-object v0, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
return-object v0
|
||
|
|
||
|
.line 1708
|
||
|
:cond_2
|
||
|
new-instance p0, Ljava/util/NoSuchElementException;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/util/NoSuchElementException;-><init>()V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final minByOrNull(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||
|
.locals 5
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R::",
|
||
|
"Ljava/lang/Comparable<",
|
||
|
"-TR;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TR;>;)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, "selector"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1839
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 1840
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 1841
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 1842
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-nez v1, :cond_1
|
||
|
|
||
|
return-object v0
|
||
|
|
||
|
.line 1843
|
||
|
:cond_1
|
||
|
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Ljava/lang/Comparable;
|
||
|
|
||
|
.line 1845
|
||
|
:cond_2
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
.line 1846
|
||
|
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
check-cast v3, Ljava/lang/Comparable;
|
||
|
|
||
|
.line 1847
|
||
|
invoke-interface {v1, v3}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
if-lez v4, :cond_3
|
||
|
|
||
|
move-object v0, v2
|
||
|
|
||
|
move-object v1, v3
|
||
|
|
||
|
.line 1851
|
||
|
:cond_3
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-nez v2, :cond_2
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final minByOrThrow(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||
|
.locals 5
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R::",
|
||
|
"Ljava/lang/Comparable<",
|
||
|
"-TR;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TR;>;)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, "selector"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1814
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 1815
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_3
|
||
|
|
||
|
.line 1816
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 1817
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-nez v1, :cond_0
|
||
|
|
||
|
return-object v0
|
||
|
|
||
|
.line 1818
|
||
|
:cond_0
|
||
|
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Ljava/lang/Comparable;
|
||
|
|
||
|
.line 1820
|
||
|
:cond_1
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
.line 1821
|
||
|
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
check-cast v3, Ljava/lang/Comparable;
|
||
|
|
||
|
.line 1822
|
||
|
invoke-interface {v1, v3}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
if-lez v4, :cond_2
|
||
|
|
||
|
move-object v0, v2
|
||
|
|
||
|
move-object v1, v3
|
||
|
|
||
|
.line 1826
|
||
|
:cond_2
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-nez v2, :cond_1
|
||
|
|
||
|
return-object v0
|
||
|
|
||
|
.line 1815
|
||
|
:cond_3
|
||
|
new-instance p0, Ljava/util/NoSuchElementException;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/util/NoSuchElementException;-><init>()V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final minOf(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)D
|
||
|
.locals 4
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Double;",
|
||
|
">;)D"
|
||
|
}
|
||
|
.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 {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1870
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 1871
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
.line 1872
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Number;->doubleValue()D
|
||
|
|
||
|
move-result-wide v0
|
||
|
|
||
|
.line 1873
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_0
|
||
|
|
||
|
.line 1874
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
check-cast v2, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v2}, Ljava/lang/Number;->doubleValue()D
|
||
|
|
||
|
move-result-wide v2
|
||
|
|
||
|
.line 1875
|
||
|
invoke-static {v0, v1, v2, v3}, Ljava/lang/Math;->min(DD)D
|
||
|
|
||
|
move-result-wide v0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return-wide v0
|
||
|
|
||
|
.line 1871
|
||
|
:cond_1
|
||
|
new-instance p0, Ljava/util/NoSuchElementException;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/util/NoSuchElementException;-><init>()V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final minOf(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)F
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Float;",
|
||
|
">;)F"
|
||
|
}
|
||
|
.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 {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1895
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 1896
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
.line 1897
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Number;->floatValue()F
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
.line 1898
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
.line 1899
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-interface {p1, 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;->floatValue()F
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
.line 1900
|
||
|
invoke-static {v0, v1}, Ljava/lang/Math;->min(FF)F
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return v0
|
||
|
|
||
|
.line 1896
|
||
|
:cond_1
|
||
|
new-instance p0, Ljava/util/NoSuchElementException;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/util/NoSuchElementException;-><init>()V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final minOf(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Comparable;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R::",
|
||
|
"Ljava/lang/Comparable<",
|
||
|
"-TR;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TR;>;)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, "selector"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1918
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 1919
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_2
|
||
|
|
||
|
.line 1920
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/Comparable;
|
||
|
|
||
|
.line 1921
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_1
|
||
|
|
||
|
.line 1922
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-interface {p1, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Ljava/lang/Comparable;
|
||
|
|
||
|
.line 1923
|
||
|
invoke-interface {v0, v1}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-lez v2, :cond_0
|
||
|
|
||
|
move-object v0, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
return-object v0
|
||
|
|
||
|
.line 1919
|
||
|
:cond_2
|
||
|
new-instance p0, Ljava/util/NoSuchElementException;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/util/NoSuchElementException;-><init>()V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final minOfOrNull(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Comparable;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R::",
|
||
|
"Ljava/lang/Comparable<",
|
||
|
"-TR;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TR;>;)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, "selector"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1987
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 1988
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 1989
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/Comparable;
|
||
|
|
||
|
.line 1990
|
||
|
:cond_1
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_2
|
||
|
|
||
|
.line 1991
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-interface {p1, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Ljava/lang/Comparable;
|
||
|
|
||
|
.line 1992
|
||
|
invoke-interface {v0, v1}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-lez v2, :cond_1
|
||
|
|
||
|
move-object v0, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method private static final minOfOrNull(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Double;
|
||
|
.locals 4
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Double;",
|
||
|
">;)",
|
||
|
"Ljava/lang/Double;"
|
||
|
}
|
||
|
.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 {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1943
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 1944
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 1945
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Number;->doubleValue()D
|
||
|
|
||
|
move-result-wide v0
|
||
|
|
||
|
.line 1946
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_1
|
||
|
|
||
|
.line 1947
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
check-cast v2, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v2}, Ljava/lang/Number;->doubleValue()D
|
||
|
|
||
|
move-result-wide v2
|
||
|
|
||
|
.line 1948
|
||
|
invoke-static {v0, v1, v2, v3}, Ljava/lang/Math;->min(DD)D
|
||
|
|
||
|
move-result-wide v0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 1950
|
||
|
:cond_1
|
||
|
invoke-static {v0, v1}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final minOfOrNull(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Float;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Float;",
|
||
|
">;)",
|
||
|
"Ljava/lang/Float;"
|
||
|
}
|
||
|
.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 {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1966
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 1967
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 1968
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Number;->floatValue()F
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
.line 1969
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_1
|
||
|
|
||
|
.line 1970
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-interface {p1, 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;->floatValue()F
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
.line 1971
|
||
|
invoke-static {v0, v1}, Ljava/lang/Math;->min(FF)F
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 1973
|
||
|
:cond_1
|
||
|
invoke-static {v0}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final minOfWith(Lkotlin/sequences/Sequence;Ljava/util/Comparator;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Ljava/util/Comparator<",
|
||
|
"-TR;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TR;>;)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, "comparator"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "selector"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2012
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 2013
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_2
|
||
|
|
||
|
.line 2014
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p2, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 2015
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_1
|
||
|
|
||
|
.line 2016
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-interface {p2, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
.line 2017
|
||
|
invoke-interface {p1, v0, v1}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-lez v2, :cond_0
|
||
|
|
||
|
move-object v0, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
return-object v0
|
||
|
|
||
|
.line 2013
|
||
|
:cond_2
|
||
|
new-instance p0, Ljava/util/NoSuchElementException;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/util/NoSuchElementException;-><init>()V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final minOfWithOrNull(Lkotlin/sequences/Sequence;Ljava/util/Comparator;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Ljava/util/Comparator<",
|
||
|
"-TR;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TR;>;)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, "comparator"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "selector"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2035
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 2036
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 2037
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p2, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 2038
|
||
|
:cond_1
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_2
|
||
|
|
||
|
.line 2039
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-interface {p2, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
.line 2040
|
||
|
invoke-interface {p1, v0, v1}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-lez v2, :cond_1
|
||
|
|
||
|
move-object v0, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final minOrNull(Lkotlin/sequences/Sequence;)Ljava/lang/Comparable;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T::",
|
||
|
"Ljava/lang/Comparable<",
|
||
|
"-TT;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;)TT;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2092
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 2093
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 2094
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/Comparable;
|
||
|
|
||
|
.line 2095
|
||
|
:cond_1
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_2
|
||
|
|
||
|
.line 2096
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Ljava/lang/Comparable;
|
||
|
|
||
|
.line 2097
|
||
|
invoke-interface {v0, v1}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-lez v2, :cond_1
|
||
|
|
||
|
move-object v0, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final minOrNull(Lkotlin/sequences/Sequence;)Ljava/lang/Double;
|
||
|
.locals 4
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"Ljava/lang/Double;",
|
||
|
">;)",
|
||
|
"Ljava/lang/Double;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2056
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 2057
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 2058
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Number;->doubleValue()D
|
||
|
|
||
|
move-result-wide v0
|
||
|
|
||
|
.line 2059
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_1
|
||
|
|
||
|
.line 2060
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
check-cast v2, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v2}, Ljava/lang/Number;->doubleValue()D
|
||
|
|
||
|
move-result-wide v2
|
||
|
|
||
|
.line 2061
|
||
|
invoke-static {v0, v1, v2, v3}, Ljava/lang/Math;->min(DD)D
|
||
|
|
||
|
move-result-wide v0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 2063
|
||
|
:cond_1
|
||
|
invoke-static {v0, v1}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final minOrNull(Lkotlin/sequences/Sequence;)Ljava/lang/Float;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"Ljava/lang/Float;",
|
||
|
">;)",
|
||
|
"Ljava/lang/Float;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2075
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 2076
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 2077
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Number;->floatValue()F
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
.line 2078
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_1
|
||
|
|
||
|
.line 2079
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v1}, Ljava/lang/Number;->floatValue()F
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
.line 2080
|
||
|
invoke-static {v0, v1}, Ljava/lang/Math;->min(FF)F
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 2082
|
||
|
:cond_1
|
||
|
invoke-static {v0}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final minOrThrow(Lkotlin/sequences/Sequence;)D
|
||
|
.locals 4
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"Ljava/lang/Double;",
|
||
|
">;)D"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1747
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 1748
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
.line 1749
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Number;->doubleValue()D
|
||
|
|
||
|
move-result-wide v0
|
||
|
|
||
|
.line 1750
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_0
|
||
|
|
||
|
.line 1751
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
check-cast v2, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v2}, Ljava/lang/Number;->doubleValue()D
|
||
|
|
||
|
move-result-wide v2
|
||
|
|
||
|
.line 1752
|
||
|
invoke-static {v0, v1, v2, v3}, Ljava/lang/Math;->min(DD)D
|
||
|
|
||
|
move-result-wide v0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return-wide v0
|
||
|
|
||
|
.line 1748
|
||
|
:cond_1
|
||
|
new-instance p0, Ljava/util/NoSuchElementException;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/util/NoSuchElementException;-><init>()V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final minOrThrow(Lkotlin/sequences/Sequence;)F
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"Ljava/lang/Float;",
|
||
|
">;)F"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1770
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 1771
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
.line 1772
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Number;->floatValue()F
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
.line 1773
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
.line 1774
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v1}, Ljava/lang/Number;->floatValue()F
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
.line 1775
|
||
|
invoke-static {v0, v1}, Ljava/lang/Math;->min(FF)F
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return v0
|
||
|
|
||
|
.line 1771
|
||
|
:cond_1
|
||
|
new-instance p0, Ljava/util/NoSuchElementException;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/util/NoSuchElementException;-><init>()V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final minOrThrow(Lkotlin/sequences/Sequence;)Ljava/lang/Comparable;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T::",
|
||
|
"Ljava/lang/Comparable<",
|
||
|
"-TT;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;)TT;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1791
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 1792
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_2
|
||
|
|
||
|
.line 1793
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/Comparable;
|
||
|
|
||
|
.line 1794
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_1
|
||
|
|
||
|
.line 1795
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Ljava/lang/Comparable;
|
||
|
|
||
|
.line 1796
|
||
|
invoke-interface {v0, v1}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-lez v2, :cond_0
|
||
|
|
||
|
move-object v0, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
return-object v0
|
||
|
|
||
|
.line 1792
|
||
|
:cond_2
|
||
|
new-instance p0, Ljava/util/NoSuchElementException;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/util/NoSuchElementException;-><init>()V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final minWithOrNull(Lkotlin/sequences/Sequence;Ljava/util/Comparator;)Ljava/lang/Object;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Ljava/util/Comparator<",
|
||
|
"-TT;>;)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, "comparator"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2130
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 2131
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 2132
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 2133
|
||
|
:cond_1
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_2
|
||
|
|
||
|
.line 2134
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
.line 2135
|
||
|
invoke-interface {p1, v0, v1}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-lez v2, :cond_1
|
||
|
|
||
|
move-object v0, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final minWithOrThrow(Lkotlin/sequences/Sequence;Ljava/util/Comparator;)Ljava/lang/Object;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Ljava/util/Comparator<",
|
||
|
"-TT;>;)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, "comparator"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2113
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 2114
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_2
|
||
|
|
||
|
.line 2115
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 2116
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_1
|
||
|
|
||
|
.line 2117
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
.line 2118
|
||
|
invoke-interface {p1, v0, v1}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-lez v2, :cond_0
|
||
|
|
||
|
move-object v0, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
return-object v0
|
||
|
|
||
|
.line 2114
|
||
|
:cond_2
|
||
|
new-instance p0, Ljava/util/NoSuchElementException;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/util/NoSuchElementException;-><init>()V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final minus(Lkotlin/sequences/Sequence;Ljava/lang/Iterable;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Ljava/lang/Iterable<",
|
||
|
"+TT;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "elements"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2656
|
||
|
new-instance v0, Lkotlin/sequences/SequencesKt___SequencesKt$minus$3;
|
||
|
|
||
|
invoke-direct {v0, p1, p0}, Lkotlin/sequences/SequencesKt___SequencesKt$minus$3;-><init>(Ljava/lang/Iterable;Lkotlin/sequences/Sequence;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/sequences/Sequence;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final minus(Lkotlin/sequences/Sequence;Ljava/lang/Object;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;TT;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2622
|
||
|
new-instance v0, Lkotlin/sequences/SequencesKt___SequencesKt$minus$1;
|
||
|
|
||
|
invoke-direct {v0, p0, p1}, Lkotlin/sequences/SequencesKt___SequencesKt$minus$1;-><init>(Lkotlin/sequences/Sequence;Ljava/lang/Object;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/sequences/Sequence;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final minus(Lkotlin/sequences/Sequence;Lkotlin/sequences/Sequence;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "elements"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2676
|
||
|
new-instance v0, Lkotlin/sequences/SequencesKt___SequencesKt$minus$4;
|
||
|
|
||
|
invoke-direct {v0, p1, p0}, Lkotlin/sequences/SequencesKt___SequencesKt$minus$4;-><init>(Lkotlin/sequences/Sequence;Lkotlin/sequences/Sequence;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/sequences/Sequence;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final minus(Lkotlin/sequences/Sequence;[Ljava/lang/Object;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;[TT;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "elements"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2639
|
||
|
array-length v0, p1
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 2640
|
||
|
:cond_0
|
||
|
new-instance v0, Lkotlin/sequences/SequencesKt___SequencesKt$minus$2;
|
||
|
|
||
|
invoke-direct {v0, p0, p1}, Lkotlin/sequences/SequencesKt___SequencesKt$minus$2;-><init>(Lkotlin/sequences/Sequence;[Ljava/lang/Object;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/sequences/Sequence;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method private static final minusElement(Lkotlin/sequences/Sequence;Ljava/lang/Object;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;TT;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2694
|
||
|
invoke-static {p0, p1}, Lkotlin/sequences/SequencesKt;->minus(Lkotlin/sequences/Sequence;Ljava/lang/Object;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final none(Lkotlin/sequences/Sequence;)Z
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+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 2148
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
xor-int/lit8 p0, p0, 0x1
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final none(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Z
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Boolean;",
|
||
|
">;)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, "predicate"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2159
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/Boolean;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return p0
|
||
|
|
||
|
:cond_1
|
||
|
const/4 p0, 0x1
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final onEach(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Lkotlin/Unit;",
|
||
|
">;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "action"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2170
|
||
|
new-instance v0, Lkotlin/sequences/SequencesKt___SequencesKt$onEach$1;
|
||
|
|
||
|
invoke-direct {v0, p1}, Lkotlin/sequences/SequencesKt___SequencesKt$onEach$1;-><init>(Lkotlin/jvm/functions/Function1;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/jvm/functions/Function1;
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/sequences/SequencesKt;->map(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final onEachIndexed(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function2;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function2<",
|
||
|
"-",
|
||
|
"Ljava/lang/Integer;",
|
||
|
"-TT;",
|
||
|
"Lkotlin/Unit;",
|
||
|
">;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "action"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2185
|
||
|
new-instance v0, Lkotlin/sequences/SequencesKt___SequencesKt$onEachIndexed$1;
|
||
|
|
||
|
invoke-direct {v0, p1}, Lkotlin/sequences/SequencesKt___SequencesKt$onEachIndexed$1;-><init>(Lkotlin/jvm/functions/Function2;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/jvm/functions/Function2;
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/sequences/SequencesKt;->mapIndexed(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function2;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final partition(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/Pair;
|
||
|
.locals 4
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Boolean;",
|
||
|
">;)",
|
||
|
"Lkotlin/Pair<",
|
||
|
"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
|
||
|
|
||
|
const-string v0, "predicate"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2707
|
||
|
new-instance v0, Ljava/util/ArrayList;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
||
|
|
||
|
.line 2708
|
||
|
new-instance v1, Ljava/util/ArrayList;
|
||
|
|
||
|
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
||
|
|
||
|
.line 2709
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
.line 2710
|
||
|
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
check-cast v3, Ljava/lang/Boolean;
|
||
|
|
||
|
invoke-virtual {v3}, Ljava/lang/Boolean;->booleanValue()Z
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
if-eqz v3, :cond_0
|
||
|
|
||
|
.line 2711
|
||
|
invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 2713
|
||
|
:cond_0
|
||
|
invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 2716
|
||
|
:cond_1
|
||
|
new-instance p0, Lkotlin/Pair;
|
||
|
|
||
|
invoke-direct {p0, v0, v1}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final plus(Lkotlin/sequences/Sequence;Ljava/lang/Iterable;)Lkotlin/sequences/Sequence;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Ljava/lang/Iterable<",
|
||
|
"+TT;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "elements"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const/4 v0, 0x2
|
||
|
|
||
|
new-array v0, v0, [Lkotlin/sequences/Sequence;
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
aput-object p0, v0, v1
|
||
|
|
||
|
const/4 p0, 0x1
|
||
|
|
||
|
.line 2749
|
||
|
invoke-static {p1}, Lkotlin/collections/CollectionsKt;->asSequence(Ljava/lang/Iterable;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
aput-object p1, v0, p0
|
||
|
|
||
|
invoke-static {v0}, Lkotlin/sequences/SequencesKt;->sequenceOf([Ljava/lang/Object;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-static {p0}, Lkotlin/sequences/SequencesKt;->flatten(Lkotlin/sequences/Sequence;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final plus(Lkotlin/sequences/Sequence;Ljava/lang/Object;)Lkotlin/sequences/Sequence;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;TT;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const/4 v0, 0x2
|
||
|
|
||
|
new-array v0, v0, [Lkotlin/sequences/Sequence;
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
aput-object p0, v0, v1
|
||
|
|
||
|
.line 2725
|
||
|
filled-new-array {p1}, [Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-static {p0}, Lkotlin/sequences/SequencesKt;->sequenceOf([Ljava/lang/Object;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const/4 p1, 0x1
|
||
|
|
||
|
aput-object p0, v0, p1
|
||
|
|
||
|
invoke-static {v0}, Lkotlin/sequences/SequencesKt;->sequenceOf([Ljava/lang/Object;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-static {p0}, Lkotlin/sequences/SequencesKt;->flatten(Lkotlin/sequences/Sequence;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final plus(Lkotlin/sequences/Sequence;Lkotlin/sequences/Sequence;)Lkotlin/sequences/Sequence;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "elements"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const/4 v0, 0x2
|
||
|
|
||
|
new-array v0, v0, [Lkotlin/sequences/Sequence;
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
aput-object p0, v0, v1
|
||
|
|
||
|
const/4 p0, 0x1
|
||
|
|
||
|
aput-object p1, v0, p0
|
||
|
|
||
|
.line 2761
|
||
|
invoke-static {v0}, Lkotlin/sequences/SequencesKt;->sequenceOf([Ljava/lang/Object;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-static {p0}, Lkotlin/sequences/SequencesKt;->flatten(Lkotlin/sequences/Sequence;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final plus(Lkotlin/sequences/Sequence;[Ljava/lang/Object;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;[TT;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "elements"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2737
|
||
|
invoke-static {p1}, Lkotlin/collections/ArraysKt;->asList([Ljava/lang/Object;)Ljava/util/List;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
check-cast p1, Ljava/lang/Iterable;
|
||
|
|
||
|
invoke-static {p0, p1}, Lkotlin/sequences/SequencesKt;->plus(Lkotlin/sequences/Sequence;Ljava/lang/Iterable;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final plusElement(Lkotlin/sequences/Sequence;Ljava/lang/Object;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;TT;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2771
|
||
|
invoke-static {p0, p1}, Lkotlin/sequences/SequencesKt;->plus(Lkotlin/sequences/Sequence;Ljava/lang/Object;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final reduce(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function2;)Ljava/lang/Object;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<S:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"T::TS;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function2<",
|
||
|
"-TS;-TT;+TS;>;)TS;"
|
||
|
}
|
||
|
.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, "operation"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2206
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 2207
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
.line 2208
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 2209
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
.line 2210
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-interface {p1, v0, v1}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return-object v0
|
||
|
|
||
|
.line 2207
|
||
|
:cond_1
|
||
|
new-instance p0, Ljava/lang/UnsupportedOperationException;
|
||
|
|
||
|
const-string p1, "Empty sequence can\'t be reduced."
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final reduceIndexed(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function3;)Ljava/lang/Object;
|
||
|
.locals 6
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<S:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"T::TS;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function3<",
|
||
|
"-",
|
||
|
"Ljava/lang/Integer;",
|
||
|
"-TS;-TT;+TS;>;)TS;"
|
||
|
}
|
||
|
.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, "operation"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2230
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 2231
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_3
|
||
|
|
||
|
.line 2233
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
move v2, v1
|
||
|
|
||
|
.line 2234
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
if-eqz v3, :cond_2
|
||
|
|
||
|
add-int/lit8 v3, v2, 0x1
|
||
|
|
||
|
if-gez v2, :cond_1
|
||
|
|
||
|
const/4 v4, 0x3
|
||
|
|
||
|
const/4 v5, 0x0
|
||
|
|
||
|
.line 2235
|
||
|
invoke-static {v1, v4, v5}, Lkotlin/internal/PlatformImplementationsKt;->apiVersionIsAtLeast(III)Z
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
if-eqz v4, :cond_0
|
||
|
|
||
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->throwIndexOverflow()V
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_0
|
||
|
new-instance p0, Ljava/lang/ArithmeticException;
|
||
|
|
||
|
const-string p1, "Index overflow has happened."
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/ArithmeticException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
|
||
|
:cond_1
|
||
|
:goto_1
|
||
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v4
|
||
|
|
||
|
invoke-interface {p1, v2, v0, v4}, Lkotlin/jvm/functions/Function3;->invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
move v2, v3
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
return-object v0
|
||
|
|
||
|
.line 2231
|
||
|
:cond_3
|
||
|
new-instance p0, Ljava/lang/UnsupportedOperationException;
|
||
|
|
||
|
const-string p1, "Empty sequence can\'t be reduced."
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final reduceIndexedOrNull(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function3;)Ljava/lang/Object;
|
||
|
.locals 6
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<S:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"T::TS;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function3<",
|
||
|
"-",
|
||
|
"Ljava/lang/Integer;",
|
||
|
"-TS;-TT;+TS;>;)TS;"
|
||
|
}
|
||
|
.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, "operation"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2255
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 2256
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 2258
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
move v2, v1
|
||
|
|
||
|
.line 2259
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
if-eqz v3, :cond_3
|
||
|
|
||
|
add-int/lit8 v3, v2, 0x1
|
||
|
|
||
|
if-gez v2, :cond_2
|
||
|
|
||
|
const/4 v4, 0x3
|
||
|
|
||
|
const/4 v5, 0x0
|
||
|
|
||
|
.line 2260
|
||
|
invoke-static {v1, v4, v5}, Lkotlin/internal/PlatformImplementationsKt;->apiVersionIsAtLeast(III)Z
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
if-eqz v4, :cond_1
|
||
|
|
||
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->throwIndexOverflow()V
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_1
|
||
|
new-instance p0, Ljava/lang/ArithmeticException;
|
||
|
|
||
|
const-string p1, "Index overflow has happened."
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/ArithmeticException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
|
||
|
:cond_2
|
||
|
:goto_1
|
||
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v4
|
||
|
|
||
|
invoke-interface {p1, v2, v0, v4}, Lkotlin/jvm/functions/Function3;->invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
move v2, v3
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_3
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final reduceOrNull(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function2;)Ljava/lang/Object;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<S:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"T::TS;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function2<",
|
||
|
"-TS;-TT;+TS;>;)TS;"
|
||
|
}
|
||
|
.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, "operation"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2281
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 2282
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 2283
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 2284
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_1
|
||
|
|
||
|
.line 2285
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-interface {p1, v0, v1}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final requireNoNulls(Lkotlin/sequences/Sequence;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2576
|
||
|
new-instance v0, Lkotlin/sequences/SequencesKt___SequencesKt$requireNoNulls$1;
|
||
|
|
||
|
invoke-direct {v0, p0}, Lkotlin/sequences/SequencesKt___SequencesKt$requireNoNulls$1;-><init>(Lkotlin/sequences/Sequence;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/jvm/functions/Function1;
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/sequences/SequencesKt;->map(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final runningFold(Lkotlin/sequences/Sequence;Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Lkotlin/sequences/Sequence;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;TR;",
|
||
|
"Lkotlin/jvm/functions/Function2<",
|
||
|
"-TR;-TT;+TR;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "operation"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2307
|
||
|
new-instance v0, Lkotlin/sequences/SequencesKt___SequencesKt$runningFold$1;
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
invoke-direct {v0, p1, p0, p2, v1}, Lkotlin/sequences/SequencesKt___SequencesKt$runningFold$1;-><init>(Ljava/lang/Object;Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/jvm/functions/Function2;
|
||
|
|
||
|
invoke-static {v0}, Lkotlin/sequences/SequencesKt;->sequence(Lkotlin/jvm/functions/Function2;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final runningFoldIndexed(Lkotlin/sequences/Sequence;Ljava/lang/Object;Lkotlin/jvm/functions/Function3;)Lkotlin/sequences/Sequence;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;TR;",
|
||
|
"Lkotlin/jvm/functions/Function3<",
|
||
|
"-",
|
||
|
"Ljava/lang/Integer;",
|
||
|
"-TR;-TT;+TR;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "operation"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2335
|
||
|
new-instance v0, Lkotlin/sequences/SequencesKt___SequencesKt$runningFoldIndexed$1;
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
invoke-direct {v0, p1, p0, p2, v1}, Lkotlin/sequences/SequencesKt___SequencesKt$runningFoldIndexed$1;-><init>(Ljava/lang/Object;Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function3;Lkotlin/coroutines/Continuation;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/jvm/functions/Function2;
|
||
|
|
||
|
invoke-static {v0}, Lkotlin/sequences/SequencesKt;->sequence(Lkotlin/jvm/functions/Function2;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final runningReduce(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function2;)Lkotlin/sequences/Sequence;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<S:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"T::TS;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function2<",
|
||
|
"-TS;-TT;+TS;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"TS;>;"
|
||
|
}
|
||
|
.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, "operation"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2362
|
||
|
new-instance v0, Lkotlin/sequences/SequencesKt___SequencesKt$runningReduce$1;
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
invoke-direct {v0, p0, p1, v1}, Lkotlin/sequences/SequencesKt___SequencesKt$runningReduce$1;-><init>(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/jvm/functions/Function2;
|
||
|
|
||
|
invoke-static {v0}, Lkotlin/sequences/SequencesKt;->sequence(Lkotlin/jvm/functions/Function2;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final runningReduceIndexed(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function3;)Lkotlin/sequences/Sequence;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<S:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"T::TS;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function3<",
|
||
|
"-",
|
||
|
"Ljava/lang/Integer;",
|
||
|
"-TS;-TT;+TS;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"TS;>;"
|
||
|
}
|
||
|
.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, "operation"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2391
|
||
|
new-instance v0, Lkotlin/sequences/SequencesKt___SequencesKt$runningReduceIndexed$1;
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
invoke-direct {v0, p0, p1, v1}, Lkotlin/sequences/SequencesKt___SequencesKt$runningReduceIndexed$1;-><init>(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function3;Lkotlin/coroutines/Continuation;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/jvm/functions/Function2;
|
||
|
|
||
|
invoke-static {v0}, Lkotlin/sequences/SequencesKt;->sequence(Lkotlin/jvm/functions/Function2;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final scan(Lkotlin/sequences/Sequence;Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;TR;",
|
||
|
"Lkotlin/jvm/functions/Function2<",
|
||
|
"-TR;-TT;+TR;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "operation"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2423
|
||
|
invoke-static {p0, p1, p2}, Lkotlin/sequences/SequencesKt;->runningFold(Lkotlin/sequences/Sequence;Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final scanIndexed(Lkotlin/sequences/Sequence;Ljava/lang/Object;Lkotlin/jvm/functions/Function3;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;TR;",
|
||
|
"Lkotlin/jvm/functions/Function3<",
|
||
|
"-",
|
||
|
"Ljava/lang/Integer;",
|
||
|
"-TR;-TT;+TR;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "operation"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2445
|
||
|
invoke-static {p0, p1, p2}, Lkotlin/sequences/SequencesKt;->runningFoldIndexed(Lkotlin/sequences/Sequence;Ljava/lang/Object;Lkotlin/jvm/functions/Function3;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final single(Lkotlin/sequences/Sequence;)Ljava/lang/Object;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;)TT;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 331
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 332
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
.line 334
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 335
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
if-nez p0, :cond_0
|
||
|
|
||
|
return-object v0
|
||
|
|
||
|
.line 336
|
||
|
:cond_0
|
||
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
||
|
|
||
|
const-string v0, "Sequence has more than one element."
|
||
|
|
||
|
invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
|
||
|
.line 333
|
||
|
:cond_1
|
||
|
new-instance p0, Ljava/util/NoSuchElementException;
|
||
|
|
||
|
const-string v0, "Sequence is empty."
|
||
|
|
||
|
invoke-direct {p0, v0}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final single(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||
|
.locals 4
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Boolean;",
|
||
|
">;)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, "predicate"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 348
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_2
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
.line 349
|
||
|
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
check-cast v3, Ljava/lang/Boolean;
|
||
|
|
||
|
invoke-virtual {v3}, Ljava/lang/Boolean;->booleanValue()Z
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
if-eqz v3, :cond_0
|
||
|
|
||
|
if-nez v1, :cond_1
|
||
|
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
move-object v0, v2
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 350
|
||
|
:cond_1
|
||
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
||
|
|
||
|
const-string p1, "Sequence contains more than one matching element."
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
|
||
|
:cond_2
|
||
|
if-eqz v1, :cond_3
|
||
|
|
||
|
return-object v0
|
||
|
|
||
|
.line 355
|
||
|
:cond_3
|
||
|
new-instance p0, Ljava/util/NoSuchElementException;
|
||
|
|
||
|
const-string p1, "Sequence contains no element matching the predicate."
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final singleOrNull(Lkotlin/sequences/Sequence;)Ljava/lang/Object;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;)TT;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 366
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 367
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
return-object v1
|
||
|
|
||
|
.line 369
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 370
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
if-eqz p0, :cond_1
|
||
|
|
||
|
return-object v1
|
||
|
|
||
|
:cond_1
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final singleOrNull(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||
|
.locals 5
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Boolean;",
|
||
|
">;)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, "predicate"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 383
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
move-object v2, v0
|
||
|
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
if-eqz v3, :cond_2
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
.line 384
|
||
|
invoke-interface {p1, v3}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v4
|
||
|
|
||
|
check-cast v4, Ljava/lang/Boolean;
|
||
|
|
||
|
invoke-virtual {v4}, Ljava/lang/Boolean;->booleanValue()Z
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
if-eqz v4, :cond_0
|
||
|
|
||
|
if-eqz v1, :cond_1
|
||
|
|
||
|
return-object v0
|
||
|
|
||
|
:cond_1
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
move-object v2, v3
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
if-nez v1, :cond_3
|
||
|
|
||
|
return-object v0
|
||
|
|
||
|
:cond_3
|
||
|
return-object v2
|
||
|
.end method
|
||
|
|
||
|
.method public static final sorted(Lkotlin/sequences/Sequence;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T::",
|
||
|
"Ljava/lang/Comparable<",
|
||
|
"-TT;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 584
|
||
|
new-instance v0, Lkotlin/sequences/SequencesKt___SequencesKt$sorted$1;
|
||
|
|
||
|
invoke-direct {v0, p0}, Lkotlin/sequences/SequencesKt___SequencesKt$sorted$1;-><init>(Lkotlin/sequences/Sequence;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/sequences/Sequence;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final sortedBy(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R::",
|
||
|
"Ljava/lang/Comparable<",
|
||
|
"-TR;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TR;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "selector"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 603
|
||
|
new-instance v0, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$compareBy$2;
|
||
|
|
||
|
invoke-direct {v0, p1}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$compareBy$2;-><init>(Lkotlin/jvm/functions/Function1;)V
|
||
|
|
||
|
check-cast v0, Ljava/util/Comparator;
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/sequences/SequencesKt;->sortedWith(Lkotlin/sequences/Sequence;Ljava/util/Comparator;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final sortedByDescending(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R::",
|
||
|
"Ljava/lang/Comparable<",
|
||
|
"-TR;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;+TR;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "selector"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 614
|
||
|
new-instance v0, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$compareByDescending$1;
|
||
|
|
||
|
invoke-direct {v0, p1}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$compareByDescending$1;-><init>(Lkotlin/jvm/functions/Function1;)V
|
||
|
|
||
|
check-cast v0, Ljava/util/Comparator;
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/sequences/SequencesKt;->sortedWith(Lkotlin/sequences/Sequence;Ljava/util/Comparator;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final sortedDescending(Lkotlin/sequences/Sequence;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T::",
|
||
|
"Ljava/lang/Comparable<",
|
||
|
"-TT;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 625
|
||
|
invoke-static {}, Lkotlin/comparisons/ComparisonsKt;->reverseOrder()Ljava/util/Comparator;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/sequences/SequencesKt;->sortedWith(Lkotlin/sequences/Sequence;Ljava/util/Comparator;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final sortedWith(Lkotlin/sequences/Sequence;Ljava/util/Comparator;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Ljava/util/Comparator<",
|
||
|
"-TT;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "comparator"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 636
|
||
|
new-instance v0, Lkotlin/sequences/SequencesKt___SequencesKt$sortedWith$1;
|
||
|
|
||
|
invoke-direct {v0, p0, p1}, Lkotlin/sequences/SequencesKt___SequencesKt$sortedWith$1;-><init>(Lkotlin/sequences/Sequence;Ljava/util/Comparator;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/sequences/Sequence;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final sumBy(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)I
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Integer;",
|
||
|
">;)I"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.annotation runtime Lkotlin/Deprecated;
|
||
|
message = "Use sumOf instead."
|
||
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
||
|
expression = "this.sumOf(selector)"
|
||
|
imports = {}
|
||
|
.end subannotation
|
||
|
.end annotation
|
||
|
|
||
|
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
|
||
|
warningSince = "1.5"
|
||
|
.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 {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2457
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
.line 2458
|
||
|
invoke-interface {p1, 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
|
||
|
|
||
|
add-int/2addr v0, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final sumByDouble(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)D
|
||
|
.locals 4
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Double;",
|
||
|
">;)D"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.annotation runtime Lkotlin/Deprecated;
|
||
|
message = "Use sumOf instead."
|
||
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
||
|
expression = "this.sumOf(selector)"
|
||
|
imports = {}
|
||
|
.end subannotation
|
||
|
.end annotation
|
||
|
|
||
|
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
|
||
|
warningSince = "1.5"
|
||
|
.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 {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2472
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const-wide/16 v0, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_0
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
.line 2473
|
||
|
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
check-cast v2, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v2}, Ljava/lang/Number;->doubleValue()D
|
||
|
|
||
|
move-result-wide v2
|
||
|
|
||
|
add-double/2addr v0, v2
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return-wide v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final sumOfByte(Lkotlin/sequences/Sequence;)I
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"Ljava/lang/Byte;",
|
||
|
">;)I"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 3036
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v1}, Ljava/lang/Number;->byteValue()B
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
add-int/2addr v0, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final sumOfDouble(Lkotlin/sequences/Sequence;)D
|
||
|
.locals 4
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"Ljava/lang/Double;",
|
||
|
">;)D"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 3106
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const-wide/16 v0, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_0
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
check-cast v2, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v2}, Ljava/lang/Number;->doubleValue()D
|
||
|
|
||
|
move-result-wide v2
|
||
|
|
||
|
add-double/2addr v0, v2
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return-wide v0
|
||
|
.end method
|
||
|
|
||
|
.method private static final sumOfDouble(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)D
|
||
|
.locals 4
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Double;",
|
||
|
">;)D"
|
||
|
}
|
||
|
.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 {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2490
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const-wide/16 v0, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_0
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
.line 2491
|
||
|
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
check-cast v2, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v2}, Ljava/lang/Number;->doubleValue()D
|
||
|
|
||
|
move-result-wide v2
|
||
|
|
||
|
add-double/2addr v0, v2
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return-wide v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final sumOfFloat(Lkotlin/sequences/Sequence;)F
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"Ljava/lang/Float;",
|
||
|
">;)F"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 3092
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v1}, Ljava/lang/Number;->floatValue()F
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
add-float/2addr v0, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final sumOfInt(Lkotlin/sequences/Sequence;)I
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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
|
||
|
|
||
|
.line 3064
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v1}, Ljava/lang/Number;->intValue()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
add-int/2addr v0, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method private static final sumOfInt(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)I
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"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, "selector"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2508
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
.line 2509
|
||
|
invoke-interface {p1, 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
|
||
|
|
||
|
add-int/2addr v0, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final sumOfLong(Lkotlin/sequences/Sequence;)J
|
||
|
.locals 4
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"Ljava/lang/Long;",
|
||
|
">;)J"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 3078
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const-wide/16 v0, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_0
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
check-cast v2, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v2}, Ljava/lang/Number;->longValue()J
|
||
|
|
||
|
move-result-wide v2
|
||
|
|
||
|
add-long/2addr v0, v2
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return-wide v0
|
||
|
.end method
|
||
|
|
||
|
.method private static final sumOfLong(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)J
|
||
|
.locals 4
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Long;",
|
||
|
">;)J"
|
||
|
}
|
||
|
.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 {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2526
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const-wide/16 v0, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_0
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
.line 2527
|
||
|
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
check-cast v2, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v2}, Ljava/lang/Number;->longValue()J
|
||
|
|
||
|
move-result-wide v2
|
||
|
|
||
|
add-long/2addr v0, v2
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return-wide v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final sumOfShort(Lkotlin/sequences/Sequence;)I
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"Ljava/lang/Short;",
|
||
|
">;)I"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 3050
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {v1}, Ljava/lang/Number;->shortValue()S
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
add-int/2addr v0, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method private static final sumOfUInt(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)I
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Lkotlin/UInt;",
|
||
|
">;)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 {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
.line 2544
|
||
|
invoke-static {v0}, Lkotlin/UInt;->constructor-impl(I)I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
.line 2545
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
.line 2546
|
||
|
invoke-interface {p1, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Lkotlin/UInt;
|
||
|
|
||
|
invoke-virtual {v1}, Lkotlin/UInt;->unbox-impl()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
add-int/2addr v0, v1
|
||
|
|
||
|
invoke-static {v0}, Lkotlin/UInt;->constructor-impl(I)I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method private static final sumOfULong(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)J
|
||
|
.locals 4
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Lkotlin/ULong;",
|
||
|
">;)J"
|
||
|
}
|
||
|
.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 {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-wide/16 v0, 0x0
|
||
|
|
||
|
.line 2563
|
||
|
invoke-static {v0, v1}, Lkotlin/ULong;->constructor-impl(J)J
|
||
|
|
||
|
move-result-wide v0
|
||
|
|
||
|
.line 2564
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_0
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
.line 2565
|
||
|
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
check-cast v2, Lkotlin/ULong;
|
||
|
|
||
|
invoke-virtual {v2}, Lkotlin/ULong;->unbox-impl()J
|
||
|
|
||
|
move-result-wide v2
|
||
|
|
||
|
add-long/2addr v0, v2
|
||
|
|
||
|
invoke-static {v0, v1}, Lkotlin/ULong;->constructor-impl(J)J
|
||
|
|
||
|
move-result-wide v0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return-wide v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final take(Lkotlin/sequences/Sequence;I)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;I)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
if-ltz p1, :cond_2
|
||
|
|
||
|
if-nez p1, :cond_0
|
||
|
|
||
|
.line 559
|
||
|
invoke-static {}, Lkotlin/sequences/SequencesKt;->emptySequence()Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 560
|
||
|
:cond_0
|
||
|
instance-of v0, p0, Lkotlin/sequences/DropTakeSequence;
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
check-cast p0, Lkotlin/sequences/DropTakeSequence;
|
||
|
|
||
|
invoke-interface {p0, p1}, Lkotlin/sequences/DropTakeSequence;->take(I)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 561
|
||
|
:cond_1
|
||
|
new-instance v0, Lkotlin/sequences/TakeSequence;
|
||
|
|
||
|
invoke-direct {v0, p0, p1}, Lkotlin/sequences/TakeSequence;-><init>(Lkotlin/sequences/Sequence;I)V
|
||
|
|
||
|
move-object p0, v0
|
||
|
|
||
|
check-cast p0, Lkotlin/sequences/Sequence;
|
||
|
|
||
|
:goto_0
|
||
|
return-object p0
|
||
|
|
||
|
.line 557
|
||
|
:cond_2
|
||
|
new-instance p0, Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v0, "Requested element count "
|
||
|
|
||
|
invoke-direct {p0, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const-string p1, " is less than zero."
|
||
|
|
||
|
invoke-virtual {p0, p1}, 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
|
||
|
|
||
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
||
|
|
||
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p1
|
||
|
.end method
|
||
|
|
||
|
.method public static final takeWhile(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-TT;",
|
||
|
"Ljava/lang/Boolean;",
|
||
|
">;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "predicate"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 573
|
||
|
new-instance v0, Lkotlin/sequences/TakeWhileSequence;
|
||
|
|
||
|
invoke-direct {v0, p0, p1}, Lkotlin/sequences/TakeWhileSequence;-><init>(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/sequences/Sequence;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final toCollection(Lkotlin/sequences/Sequence;Ljava/util/Collection;)Ljava/util/Collection;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"C::",
|
||
|
"Ljava/util/Collection<",
|
||
|
"-TT;>;>(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;TC;)TC;"
|
||
|
}
|
||
|
.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, "destination"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 787
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 788
|
||
|
invoke-interface {p1, v0}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
.method public static final toHashSet(Lkotlin/sequences/Sequence;)Ljava/util/HashSet;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;)",
|
||
|
"Ljava/util/HashSet<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 799
|
||
|
new-instance v0, Ljava/util/HashSet;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/util/HashSet;-><init>()V
|
||
|
|
||
|
check-cast v0, Ljava/util/Collection;
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/sequences/SequencesKt;->toCollection(Lkotlin/sequences/Sequence;Ljava/util/Collection;)Ljava/util/Collection;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
check-cast p0, Ljava/util/HashSet;
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final toList(Lkotlin/sequences/Sequence;)Ljava/util/List;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+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 808
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 809
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
.line 810
|
||
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->emptyList()Ljava/util/List;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 811
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 812
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-nez v1, :cond_1
|
||
|
|
||
|
.line 813
|
||
|
invoke-static {v0}, Lkotlin/collections/CollectionsKt;->listOf(Ljava/lang/Object;)Ljava/util/List;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 814
|
||
|
:cond_1
|
||
|
new-instance v1, Ljava/util/ArrayList;
|
||
|
|
||
|
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
||
|
|
||
|
.line 815
|
||
|
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
.line 816
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_2
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 817
|
||
|
:cond_2
|
||
|
check-cast v1, Ljava/util/List;
|
||
|
|
||
|
return-object v1
|
||
|
.end method
|
||
|
|
||
|
.method public static final toMutableList(Lkotlin/sequences/Sequence;)Ljava/util/List;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+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 826
|
||
|
new-instance v0, Ljava/util/ArrayList;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
||
|
|
||
|
check-cast v0, Ljava/util/Collection;
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/sequences/SequencesKt;->toCollection(Lkotlin/sequences/Sequence;Ljava/util/Collection;)Ljava/util/Collection;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
check-cast p0, Ljava/util/List;
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final toMutableSet(Lkotlin/sequences/Sequence;)Ljava/util/Set;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;)",
|
||
|
"Ljava/util/Set<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1207
|
||
|
new-instance v0, Ljava/util/LinkedHashSet;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/util/LinkedHashSet;-><init>()V
|
||
|
|
||
|
.line 1208
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/util/LinkedHashSet;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 1209
|
||
|
:cond_0
|
||
|
check-cast v0, Ljava/util/Set;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final toSet(Lkotlin/sequences/Sequence;)Ljava/util/Set;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;)",
|
||
|
"Ljava/util/Set<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 837
|
||
|
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 838
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
.line 839
|
||
|
invoke-static {}, Lkotlin/collections/SetsKt;->emptySet()Ljava/util/Set;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 840
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 841
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-nez v1, :cond_1
|
||
|
|
||
|
.line 842
|
||
|
invoke-static {v0}, Lkotlin/collections/SetsKt;->setOf(Ljava/lang/Object;)Ljava/util/Set;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 843
|
||
|
:cond_1
|
||
|
new-instance v1, Ljava/util/LinkedHashSet;
|
||
|
|
||
|
invoke-direct {v1}, Ljava/util/LinkedHashSet;-><init>()V
|
||
|
|
||
|
.line 844
|
||
|
invoke-virtual {v1, v0}, Ljava/util/LinkedHashSet;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
.line 845
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_2
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {v1, v0}, Ljava/util/LinkedHashSet;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 846
|
||
|
:cond_2
|
||
|
check-cast v1, Ljava/util/Set;
|
||
|
|
||
|
return-object v1
|
||
|
.end method
|
||
|
|
||
|
.method public static final windowed(Lkotlin/sequences/Sequence;IIZ)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;IIZ)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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/4 v0, 0x0
|
||
|
|
||
|
.line 2791
|
||
|
invoke-static {p0, p1, p2, p3, v0}, Lkotlin/collections/SlidingWindowKt;->windowedSequence(Lkotlin/sequences/Sequence;IIZZ)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final windowed(Lkotlin/sequences/Sequence;IIZLkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;IIZ",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-",
|
||
|
"Ljava/util/List<",
|
||
|
"+TT;>;+TR;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "transform"
|
||
|
|
||
|
invoke-static {p4, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
.line 2813
|
||
|
invoke-static {p0, p1, p2, p3, v0}, Lkotlin/collections/SlidingWindowKt;->windowedSequence(Lkotlin/sequences/Sequence;IIZZ)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-static {p0, p4}, Lkotlin/sequences/SequencesKt;->map(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic windowed$default(Lkotlin/sequences/Sequence;IIZILjava/lang/Object;)Lkotlin/sequences/Sequence;
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p5, p4, 0x2
|
||
|
|
||
|
if-eqz p5, :cond_0
|
||
|
|
||
|
const/4 p2, 0x1
|
||
|
|
||
|
:cond_0
|
||
|
and-int/lit8 p4, p4, 0x4
|
||
|
|
||
|
if-eqz p4, :cond_1
|
||
|
|
||
|
const/4 p3, 0x0
|
||
|
|
||
|
.line 2790
|
||
|
:cond_1
|
||
|
invoke-static {p0, p1, p2, p3}, Lkotlin/sequences/SequencesKt;->windowed(Lkotlin/sequences/Sequence;IIZ)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic windowed$default(Lkotlin/sequences/Sequence;IIZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lkotlin/sequences/Sequence;
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p6, p5, 0x2
|
||
|
|
||
|
if-eqz p6, :cond_0
|
||
|
|
||
|
const/4 p2, 0x1
|
||
|
|
||
|
:cond_0
|
||
|
and-int/lit8 p5, p5, 0x4
|
||
|
|
||
|
if-eqz p5, :cond_1
|
||
|
|
||
|
const/4 p3, 0x0
|
||
|
|
||
|
.line 2812
|
||
|
:cond_1
|
||
|
invoke-static {p0, p1, p2, p3, p4}, Lkotlin/sequences/SequencesKt;->windowed(Lkotlin/sequences/Sequence;IIZLkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final withIndex(Lkotlin/sequences/Sequence;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"Lkotlin/collections/IndexedValue<",
|
||
|
"TT;>;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1167
|
||
|
new-instance v0, Lkotlin/sequences/IndexingSequence;
|
||
|
|
||
|
invoke-direct {v0, p0}, Lkotlin/sequences/IndexingSequence;-><init>(Lkotlin/sequences/Sequence;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/sequences/Sequence;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final zip(Lkotlin/sequences/Sequence;Lkotlin/sequences/Sequence;)Lkotlin/sequences/Sequence;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TR;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"Lkotlin/Pair<",
|
||
|
"TT;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, "other"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2825
|
||
|
new-instance v0, Lkotlin/sequences/MergingSequence;
|
||
|
|
||
|
sget-object v1, Lkotlin/sequences/SequencesKt___SequencesKt$zip$1;->INSTANCE:Lkotlin/sequences/SequencesKt___SequencesKt$zip$1;
|
||
|
|
||
|
check-cast v1, Lkotlin/jvm/functions/Function2;
|
||
|
|
||
|
invoke-direct {v0, p0, p1, v1}, Lkotlin/sequences/MergingSequence;-><init>(Lkotlin/sequences/Sequence;Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function2;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/sequences/Sequence;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final zip(Lkotlin/sequences/Sequence;Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function2;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"V:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TR;>;",
|
||
|
"Lkotlin/jvm/functions/Function2<",
|
||
|
"-TT;-TR;+TV;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "other"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "transform"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2838
|
||
|
new-instance v0, Lkotlin/sequences/MergingSequence;
|
||
|
|
||
|
invoke-direct {v0, p0, p1, p2}, Lkotlin/sequences/MergingSequence;-><init>(Lkotlin/sequences/Sequence;Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function2;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/sequences/Sequence;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final zipWithNext(Lkotlin/sequences/Sequence;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"Lkotlin/Pair<",
|
||
|
"TT;TT;>;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2852
|
||
|
sget-object v0, Lkotlin/sequences/SequencesKt___SequencesKt$zipWithNext$1;->INSTANCE:Lkotlin/sequences/SequencesKt___SequencesKt$zipWithNext$1;
|
||
|
|
||
|
check-cast v0, Lkotlin/jvm/functions/Function2;
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/sequences/SequencesKt;->zipWithNext(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function2;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final zipWithNext(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function2;)Lkotlin/sequences/Sequence;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"+TT;>;",
|
||
|
"Lkotlin/jvm/functions/Function2<",
|
||
|
"-TT;-TT;+TR;>;)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"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, "transform"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 2867
|
||
|
new-instance v0, Lkotlin/sequences/SequencesKt___SequencesKt$zipWithNext$2;
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
invoke-direct {v0, p0, p1, v1}, Lkotlin/sequences/SequencesKt___SequencesKt$zipWithNext$2;-><init>(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/jvm/functions/Function2;
|
||
|
|
||
|
invoke-static {v0}, Lkotlin/sequences/SequencesKt;->sequence(Lkotlin/jvm/functions/Function2;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|