Rabbit-R1/switch port/smali/smali_classes3/kotlin/text/StringsKt___StringsKt.smali

12872 lines
354 KiB
Smali
Raw Normal View History

2024-05-21 16:08:36 -05:00
.class Lkotlin/text/StringsKt___StringsKt;
.super Lkotlin/text/StringsKt___StringsJvmKt;
.source "_Strings.kt"
# annotations
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\n_Strings.kt\nKotlin\n*S Kotlin\n*F\n+ 1 _Strings.kt\nkotlin/text/StringsKt___StringsKt\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n+ 3 Maps.kt\nkotlin/collections/MapsKt__MapsKt\n*L\n1#1,2486:1\n126#1,2:2487\n214#1,5:2489\n502#1,5:2495\n502#1,5:2500\n462#1:2505\n1183#1,2:2506\n463#1,2:2508\n1185#1:2510\n465#1:2511\n462#1:2512\n1183#1,2:2513\n463#1,2:2515\n1185#1:2517\n465#1:2518\n1183#1,3:2519\n492#1,2:2522\n492#1,2:2524\n750#1,4:2526\n719#1,4:2530\n735#1,4:2534\n782#1,4:2538\n882#1,5:2542\n923#1,3:2547\n926#1,3:2557\n941#1,3:2560\n944#1,3:2570\n1041#1,3:2587\n1011#1,4:2590\n1000#1:2594\n1183#1,2:2595\n1185#1:2598\n1001#1:2599\n1183#1,3:2600\n1032#1:2603\n1174#1:2604\n1175#1:2606\n1033#1:2607\n1174#1,2:2608\n1183#1,3:2610\n1982#1,2:2613\n1984#1,6:2616\n2006#1,2:2622\n2008#1,6:2625\n2431#1,6:2631\n2461#1,7:2637\n1#2:2494\n1#2:2597\n1#2:2605\n1#2:2615\n1#2:2624\n372#3,7:2550\n372#3,7:2563\n372#3,7:2573\n372#3,7:2580\n*S KotlinDebug\n*F\n+ 1 _Strings.kt\nkotlin/text/StringsKt___StringsKt\n*L\n52#1:2487,2\n62#1:2489,5\n420#1:2495,5\n429#1:2500,5\n440#1:2505\n440#1:2506,2\n440#1:2508,2\n440#1:2510\n440#1:2511\n451#1:2512\n451#1:2513,2\n451#1:2515,2\n451#1:2517\n451#1:2518\n462#1:2519,3\n474#1:2522,2\n483#1:2524,2\n677#1:2526,4\n692#1:2530,4\n706#1:2534,4\n769#1:2538,4\n842#1:2542,5\n898#1:2547,3\n898#1:2557,3\n911#1:2560,3\n911#1:2570,3\n970#1:2587,3\n980#1:2590,4\n990#1:2594\n990#1:2595,2\n990#1:2598\n990#1:2599\n1000#1:2600,3\n1024#1:2603\n1024#1:2604\n1024#1:2606\n1024#1:2607\n1032#1:2608,2\n1786#1:2610,3\n2077#1:2613,2\n2077#1:2616,6\n2095#1:2622,2\n2095#1:2625,6\n2420#1:2631,6\n2448#1:2637,7\n990#1:2597\n1024#1:2605\n2077#1:2615\n2095#1:2624\n898#1:2550,7\n911#1:2563,7\n925#1:2573,7\n943#1:2580,7\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000\u00f6\u0001\n\u0000\n\u0002\u0010\u000b\n\u0002\u0010\r\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u000c\n\u0002\u0008\u0002\n\u0002\u0010\u001c\n\u0000\n\u0002\u0018\u0002\n\u0000\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 \n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0008\n\u0002\u0008\u000f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\n\n\u0002\u0010\u0000\n\u0002\u0008\u0008\n\u0002\u0010\u001f\n\u0002\u0008\n\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0010\u0002\n\u0002\u0008\u0006\n\u0002\u0010!\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u000f\n\u0002\u0010\u000f\n\u0002\u0008\u0005\n\u0002\u0010\u0006\n\u0002\u0010\u0007\n\u0002\u0008\u0005\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u001c\n\u0002\u0018\u0002\n\u0002\u0008\u0019\n\u0002\u0018\u0002\n\u0002\u0008\u0005\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\t\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0010\"\n\u0002\u0008\u0005\n\u0002\u0018\u0002\n\u0002\u0008\u0006\u001a$\u0010\u0000\u001a\u00020\u0001*\u00020\u00022\u0012\u0010\u0003\u001a\u000e\u0012\u0004\u0012\u00020\u0005\u0012\u0004\u0012\u00020\u00010\u0004H\u0086\u0008\u00f8\u0001\u0000\u001a\n\u0010\u0006\u001a\u00020\u0001*\u00020\u0002\u001a$\u0010\u0006\u001a\u00020\u0001*\u00020\u00022\u0012\u0010\u0003\u001a\u000e\u0012\u0004\u0012\u00020\u0005\u0012\u0004\u0012\u00020\u00010\u0004H\u0086\u0008\u00f8\u0001\u0000\u001a\u0010\u0010\u0007\u001a\u0008\u0012\u0004\u0012\u00020\u00050\u0008*\u00020\u0002\u001a\u0010\u0010\t\u001a\u0008\u0012\u0004\u0012\u00020\u00050\n*\u00020\u0002\u001aH\u0010\u000b\u001a\u000e\u0012\u0004\u0012\u0002H\r\u0012\u0004\u0012\u0002H\u000e0\u000c\"\u0004\u0008\u0000\u0010\r\"\u0004\u0008\u0001\u0010\u000e*\u00020\u00022\u001e\u0010\u000f\u001a\u001a\u0012\u0004\u0012\u00020\u0005\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\r\u0012\u0004\u0012\u0002H\u000e0\u00100\u0004H\u0086\u0008\u00f8\u0001\u0000\u001a6\u0010\u0011\u001a\u000e\u0012\u0004\u0012\u0002H\r\u0012\u0004\u0012\u00020\u00050\u000c\"\u0004\u0008\u0000\u0010\r*\u00020\u00022\u0012\u0010\u0012\u001a\u000e\u0012\u0004\u0012\u00020\u0005\u0012\u0004\u0012\u0002H\r0\u0004H\u0086\u0008\u00f8\u0001\u0000\u001aP\u0010\u0011\u001a\u000e\u0012\u0004\u0012\u0002H\r\u0012\u0004\u0012\u0002H\u000e0\u000c\"\u0004\u0008\u0000\u0010\r\"\u0004\u0008\u0001\u0010\u000e*\u00020\u00022\u0012\u0010\u0012\u001a\u000e\u0012\u0004\u0012\u00020\u0005\u0012\u0004\u0012\u0002H\r0\u00042\u0012\u0010\u0013\u001a\u000e\u0012\u0004\u0012\u00020\u0005\u0012\u0004\u0012\u0002H\u000e0\u0004H\u0086\u0008\u00f8\u0001\u0000\u001aQ\u0010\u0014\u001a\u0002H\u0015\"\u0004\u0008\u0000\u0010\r\"\u0018\u0008\u0001\u0010\u0015*\u0012\u0012\u0006\u0008\u0000\u0012\u0002H\r\u0012\u0006\u0008\u0000\u0012\u00020\u00050\u0016*\u00020\u00022\u0006\u0010\u0017\u001a\u0002H\u00152\u0012\u0010\u0012\u001a\u000e\u0012\u0004\u0012\u00020\u0005\u0012\u0004\u0012\u0002H\r0\u0004H\u0086\u0008\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u0018\u001ak\u0010\u0014\u001a\u0002H\u0015\"\u0004\u0008\u0000\u0010\r\"\u0004\u0008\u0001\u0010\u000e\"\u0018\u0008\u0002\u0010\u0015*\u0012\u0012\u0006\u0008\u0000\u0012\u0002H\r\u0012\u0006\u0008\u0000\u0012\u0002H\u000e0\u0016*\u00020\u00022\u0006\u0010\u0017\u001a\u0002H\u00152\u0012\u0010\u0012\u001a\u000e\u0012\u0004\u0012\u00020\u0005\u0012\u0004\u0012\u0002H\r0\u00042\u0012\u0010\u0013\u001a\u000e\u0012\u0004\u0012\u00020\u0005\u0012\u0004\u0012\u0002H\u000e0\u0004H\u0086\u0008\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u0019\u001ac\u0010\u001a\u001a\u0002H\u0015\"\u0004\u0008\u0000\u0010\r\"\u0004\u0008\u0001\u0010\u000e\"\u0018\u0008\u0002\u0010\u0015*\u0012\u0012\u0006\u0008\u0000\u0012\u0002H\r\u0012\u0006\u0008\u0000\u0012\u0002H\u000e0\u0016*\u00020\u00022\u0006\u0010\u0017\u001a\u0002H\u00152\u001e\u0010\u000f\u001a\u001a\u0012\u0004\u0012\u00020\u0005\u0012\u00
}
d2 = {
"all",
"",
"",
"predicate",
"Lkotlin/Function1;",
"",
"any",
"asIterable",
"",
"asSequence",
"Lkotlin/sequences/Sequence;",
"associate",
"",
"K",
"V",
"transform",
"Lkotlin/Pair;",
"associateBy",
"keySelector",
"valueTransform",
"associateByTo",
"M",
"",
"destination",
"(Ljava/lang/CharSequence;Ljava/util/Map;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;",
"(Ljava/lang/CharSequence;Ljava/util/Map;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;",
"associateTo",
"associateWith",
"valueSelector",
"associateWithTo",
"chunked",
"",
"",
"size",
"",
"R",
"chunkedSequence",
"count",
"drop",
"n",
"dropLast",
"dropLastWhile",
"dropWhile",
"elementAtOrElse",
"index",
"defaultValue",
"elementAtOrNull",
"(Ljava/lang/CharSequence;I)Ljava/lang/Character;",
"filter",
"filterIndexed",
"Lkotlin/Function2;",
"Lkotlin/ParameterName;",
"name",
"filterIndexedTo",
"C",
"Ljava/lang/Appendable;",
"Lkotlin/text/Appendable;",
"(Ljava/lang/CharSequence;Ljava/lang/Appendable;Lkotlin/jvm/functions/Function2;)Ljava/lang/Appendable;",
"filterNot",
"filterNotTo",
"(Ljava/lang/CharSequence;Ljava/lang/Appendable;Lkotlin/jvm/functions/Function1;)Ljava/lang/Appendable;",
"filterTo",
"find",
"(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Character;",
"findLast",
"first",
"firstNotNullOf",
"",
"(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;",
"firstNotNullOfOrNull",
"firstOrNull",
"(Ljava/lang/CharSequence;)Ljava/lang/Character;",
"flatMap",
"flatMapIndexed",
"flatMapIndexedIterable",
"flatMapIndexedTo",
"",
"flatMapIndexedIterableTo",
"(Ljava/lang/CharSequence;Ljava/util/Collection;Lkotlin/jvm/functions/Function2;)Ljava/util/Collection;",
"flatMapTo",
"(Ljava/lang/CharSequence;Ljava/util/Collection;Lkotlin/jvm/functions/Function1;)Ljava/util/Collection;",
"fold",
"initial",
"operation",
"acc",
"(Ljava/lang/CharSequence;Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Ljava/lang/Object;",
"foldIndexed",
"Lkotlin/Function3;",
"(Ljava/lang/CharSequence;Ljava/lang/Object;Lkotlin/jvm/functions/Function3;)Ljava/lang/Object;",
"foldRight",
"foldRightIndexed",
"forEach",
"",
"action",
"forEachIndexed",
"getOrElse",
"getOrNull",
"groupBy",
"groupByTo",
"",
"groupingBy",
"Lkotlin/collections/Grouping;",
"indexOfFirst",
"indexOfLast",
"last",
"lastOrNull",
"map",
"mapIndexed",
"mapIndexedNotNull",
"mapIndexedNotNullTo",
"mapIndexedTo",
"mapNotNull",
"mapNotNullTo",
"mapTo",
"max",
"maxOrThrow",
"maxBy",
"",
"selector",
"maxByOrThrow",
"maxByOrNull",
"maxOf",
"(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Comparable;",
"",
"",
"maxOfOrNull",
"(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Double;",
"(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Float;",
"maxOfWith",
"comparator",
"Ljava/util/Comparator;",
"Lkotlin/Comparator;",
"(Ljava/lang/CharSequence;Ljava/util/Comparator;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;",
"maxOfWithOrNull",
"maxOrNull",
"maxWith",
"maxWithOrThrow",
"maxWithOrNull",
"(Ljava/lang/CharSequence;Ljava/util/Comparator;)Ljava/lang/Character;",
"min",
"minOrThrow",
"minBy",
"minByOrThrow",
"minByOrNull",
"minOf",
"minOfOrNull",
"minOfWith",
"minOfWithOrNull",
"minOrNull",
"minWith",
"minWithOrThrow",
"minWithOrNull",
"none",
"onEach",
"S",
"(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/CharSequence;",
"onEachIndexed",
"(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function2;)Ljava/lang/CharSequence;",
"partition",
"random",
"Lkotlin/random/Random;",
"randomOrNull",
"(Ljava/lang/CharSequence;Lkotlin/random/Random;)Ljava/lang/Character;",
"reduce",
"reduceIndexed",
"reduceIndexedOrNull",
"(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function3;)Ljava/lang/Character;",
"reduceOrNull",
"(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function2;)Ljava/lang/Character;",
"reduceRight",
"reduceRightIndexed",
"reduceRightIndexedOrNull",
"reduceRightOrNull",
"reversed",
"runningFold",
"(Ljava/lang/CharSequence;Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Ljava/util/List;",
"runningFoldIndexed",
"(Ljava/lang/CharSequence;Ljava/lang/Object;Lkotlin/jvm/functions/Function3;)Ljava/util/List;",
"runningReduce",
"runningReduceIndexed",
"scan",
"scanIndexed",
"single",
"singleOrNull",
"slice",
"indices",
"Lkotlin/ranges/IntRange;",
"sumBy",
"sumByDouble",
"sumOf",
"sumOfDouble",
"sumOfInt",
"",
"sumOfLong",
"Lkotlin/UInt;",
"sumOfUInt",
"(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)I",
"Lkotlin/ULong;",
"sumOfULong",
"(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)J",
"take",
"takeLast",
"takeLastWhile",
"takeWhile",
"toCollection",
"(Ljava/lang/CharSequence;Ljava/util/Collection;)Ljava/util/Collection;",
"toHashSet",
"Ljava/util/HashSet;",
"Lkotlin/collections/HashSet;",
"toList",
"toMutableList",
"toSet",
"",
"windowed",
"step",
"partialWindows",
"windowedSequence",
"withIndex",
"Lkotlin/collections/IndexedValue;",
"zip",
"other",
"a",
"b",
"zipWithNext",
"kotlin-stdlib"
}
k = 0x5
mv = {
0x1,
0x9,
0x0
}
xi = 0x31
xs = "kotlin/text/StringsKt"
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Lkotlin/text/StringsKt___StringsJvmKt;-><init>()V
return-void
.end method
.method public static final all(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Z
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"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
const/4 v0, 0x0
move v1, v0
.line 1064
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v2
if-ge v1, v2, :cond_1
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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-nez v2, :cond_0
return v0
:cond_0
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_1
const/4 p0, 0x1
return p0
.end method
.method public static final any(Ljava/lang/CharSequence;)Z
.locals 1
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 1074
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result p0
const/4 v0, 0x1
if-nez p0, :cond_0
move p0, v0
goto :goto_0
:cond_0
const/4 p0, 0x0
:goto_0
xor-int/2addr p0, v0
return p0
.end method
.method public static final any(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Z
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"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
const/4 v0, 0x0
move v1, v0
.line 1083
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v2
if-ge v1, v2, :cond_1
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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
const/4 p0, 0x1
return p0
:cond_0
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_1
return v0
.end method
.method public static final asIterable(Ljava/lang/CharSequence;)Ljava/lang/Iterable;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
")",
"Ljava/lang/Iterable<",
"Ljava/lang/Character;",
">;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 2474
instance-of v0, p0, Ljava/lang/String;
if-eqz v0, :cond_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_0
invoke-static {}, Lkotlin/collections/CollectionsKt;->emptyList()Ljava/util/List;
move-result-object p0
check-cast p0, Ljava/lang/Iterable;
return-object p0
.line 2475
:cond_0
new-instance v0, Lkotlin/text/StringsKt___StringsKt$asIterable$$inlined$Iterable$1;
invoke-direct {v0, p0}, Lkotlin/text/StringsKt___StringsKt$asIterable$$inlined$Iterable$1;-><init>(Ljava/lang/CharSequence;)V
check-cast v0, Ljava/lang/Iterable;
return-object v0
.end method
.method public static final asSequence(Ljava/lang/CharSequence;)Lkotlin/sequences/Sequence;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
")",
"Lkotlin/sequences/Sequence<",
"Ljava/lang/Character;",
">;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 2482
instance-of v0, p0, Ljava/lang/String;
if-eqz v0, :cond_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_0
invoke-static {}, Lkotlin/sequences/SequencesKt;->emptySequence()Lkotlin/sequences/Sequence;
move-result-object p0
return-object p0
.line 2483
:cond_0
new-instance v0, Lkotlin/text/StringsKt___StringsKt$asSequence$$inlined$Sequence$1;
invoke-direct {v0, p0}, Lkotlin/text/StringsKt___StringsKt$asSequence$$inlined$Sequence$1;-><init>(Ljava/lang/CharSequence;)V
check-cast v0, Lkotlin/sequences/Sequence;
return-object v0
.end method
.method public static final associate(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+",
"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 676
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
invoke-static {v0}, Lkotlin/collections/MapsKt;->mapCapacity(I)I
move-result v0
const/16 v1, 0x10
invoke-static {v0, v1}, Lkotlin/ranges/RangesKt;->coerceAtLeast(II)I
move-result v0
.line 677
new-instance v1, Ljava/util/LinkedHashMap;
invoke-direct {v1, v0}, Ljava/util/LinkedHashMap;-><init>(I)V
check-cast v1, Ljava/util/Map;
const/4 v0, 0x0
.line 2526
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v2
if-ge v0, v2, :cond_0
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
.line 2527
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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, Lkotlin/Pair;
invoke-virtual {v2}, Lkotlin/Pair;->getFirst()Ljava/lang/Object;
move-result-object v3
invoke-virtual {v2}, Lkotlin/Pair;->getSecond()Ljava/lang/Object;
move-result-object v2
invoke-interface {v1, v3, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_0
return-object v1
.end method
.method public static final associateBy(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+TK;>;)",
"Ljava/util/Map<",
"TK;",
"Ljava/lang/Character;",
">;"
}
.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 691
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
invoke-static {v0}, Lkotlin/collections/MapsKt;->mapCapacity(I)I
move-result v0
const/16 v1, 0x10
invoke-static {v0, v1}, Lkotlin/ranges/RangesKt;->coerceAtLeast(II)I
move-result v0
.line 692
new-instance v1, Ljava/util/LinkedHashMap;
invoke-direct {v1, v0}, Ljava/util/LinkedHashMap;-><init>(I)V
check-cast v1, Ljava/util/Map;
const/4 v0, 0x0
.line 2530
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v2
if-ge v0, v2, :cond_0
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
.line 2531
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v3
invoke-interface {p1, v3}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v3
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v2
invoke-interface {v1, v3, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_0
return-object v1
.end method
.method public static final associateBy(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+TK;>;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+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 705
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
invoke-static {v0}, Lkotlin/collections/MapsKt;->mapCapacity(I)I
move-result v0
const/16 v1, 0x10
invoke-static {v0, v1}, Lkotlin/ranges/RangesKt;->coerceAtLeast(II)I
move-result v0
.line 706
new-instance v1, Ljava/util/LinkedHashMap;
invoke-direct {v1, v0}, Ljava/util/LinkedHashMap;-><init>(I)V
check-cast v1, Ljava/util/Map;
const/4 v0, 0x0
.line 2534
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v2
if-ge v0, v2, :cond_0
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
.line 2535
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v3
invoke-interface {p1, v3}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v3
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v2
invoke-interface {p2, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v2
invoke-interface {v1, v3, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_0
return-object v1
.end method
.method public static final associateByTo(Ljava/lang/CharSequence;Ljava/util/Map;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"M::",
"Ljava/util/Map<",
"-TK;-",
"Ljava/lang/Character;",
">;>(",
"Ljava/lang/CharSequence;",
"TM;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+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
const/4 v0, 0x0
.line 719
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
if-ge v0, v1, :cond_0
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v1
.line 720
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v2
invoke-interface {p2, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v2
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v1
invoke-interface {p1, v2, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_0
return-object p1
.end method
.method public static final associateByTo(Ljava/lang/CharSequence;Ljava/util/Map;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
"M::",
"Ljava/util/Map<",
"-TK;-TV;>;>(",
"Ljava/lang/CharSequence;",
"TM;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+TK;>;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+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
const/4 v0, 0x0
.line 735
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
if-ge v0, v1, :cond_0
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v1
.line 736
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v2
invoke-interface {p2, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v2
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v1
invoke-interface {p3, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
invoke-interface {p1, v2, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_0
return-object p1
.end method
.method public static final associateTo(Ljava/lang/CharSequence;Ljava/util/Map;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
"M::",
"Ljava/util/Map<",
"-TK;-TV;>;>(",
"Ljava/lang/CharSequence;",
"TM;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+",
"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
const/4 v0, 0x0
.line 750
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
if-ge v0, v1, :cond_0
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v1
.line 751
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v1
invoke-interface {p2, 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 {p1, v2, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_0
return-object p1
.end method
.method public static final associateWith(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"<V:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+TV;>;)",
"Ljava/util/Map<",
"Ljava/lang/Character;",
"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 768
new-instance v0, Ljava/util/LinkedHashMap;
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
const/16 v2, 0x80
invoke-static {v1, v2}, Lkotlin/ranges/RangesKt;->coerceAtMost(II)I
move-result v1
invoke-static {v1}, Lkotlin/collections/MapsKt;->mapCapacity(I)I
move-result v1
const/16 v2, 0x10
invoke-static {v1, v2}, Lkotlin/ranges/RangesKt;->coerceAtLeast(II)I
move-result v1
invoke-direct {v0, v1}, Ljava/util/LinkedHashMap;-><init>(I)V
const/4 v1, 0x0
.line 2538
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v2
if-ge v1, v2, :cond_0
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
.line 2539
move-object v3, v0
check-cast v3, Ljava/util/Map;
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v4
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v2
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v2
invoke-interface {v3, v4, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
add-int/lit8 v1, v1, 0x1
goto :goto_0
.line 2541
:cond_0
check-cast v0, Ljava/util/Map;
return-object v0
.end method
.method public static final associateWithTo(Ljava/lang/CharSequence;Ljava/util/Map;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<V:",
"Ljava/lang/Object;",
"M::",
"Ljava/util/Map<",
"-",
"Ljava/lang/Character;",
"-TV;>;>(",
"Ljava/lang/CharSequence;",
"TM;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+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
const/4 v0, 0x0
.line 782
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
if-ge v0, v1, :cond_0
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v1
.line 783
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v2
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v1
invoke-interface {p2, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
invoke-interface {p1, v2, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_0
return-object p1
.end method
.method public static final chunked(Ljava/lang/CharSequence;I)Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"I)",
"Ljava/util/List<",
"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/4 v0, 0x1
.line 2217
invoke-static {p0, p1, p1, v0}, Lkotlin/text/StringsKt;->windowed(Ljava/lang/CharSequence;IIZ)Ljava/util/List;
move-result-object p0
return-object p0
.end method
.method public static final chunked(Ljava/lang/CharSequence;ILkotlin/jvm/functions/Function1;)Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"I",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/CharSequence;",
"+TR;>;)",
"Ljava/util/List<",
"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 2236
invoke-static {p0, p1, p1, v0, p2}, Lkotlin/text/StringsKt;->windowed(Ljava/lang/CharSequence;IIZLkotlin/jvm/functions/Function1;)Ljava/util/List;
move-result-object p0
return-object p0
.end method
.method public static final chunkedSequence(Ljava/lang/CharSequence;I)Lkotlin/sequences/Sequence;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"I)",
"Lkotlin/sequences/Sequence<",
"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
.line 2250
sget-object v0, Lkotlin/text/StringsKt___StringsKt$chunkedSequence$1;->INSTANCE:Lkotlin/text/StringsKt___StringsKt$chunkedSequence$1;
check-cast v0, Lkotlin/jvm/functions/Function1;
invoke-static {p0, p1, v0}, Lkotlin/text/StringsKt;->chunkedSequence(Ljava/lang/CharSequence;ILkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
move-result-object p0
return-object p0
.end method
.method public static final chunkedSequence(Ljava/lang/CharSequence;ILkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"I",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/CharSequence;",
"+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 2269
invoke-static {p0, p1, p1, v0, p2}, Lkotlin/text/StringsKt;->windowedSequence(Ljava/lang/CharSequence;IIZLkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
move-result-object p0
return-object p0
.end method
.method private static final count(Ljava/lang/CharSequence;)I
.locals 1
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 1092
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result p0
return p0
.end method
.method public static final count(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)I
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"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
const/4 v0, 0x0
move v1, v0
.line 1100
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v2
if-ge v0, v2, :cond_1
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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
:cond_0
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_1
return v1
.end method
.method public static final drop(Ljava/lang/CharSequence;I)Ljava/lang/CharSequence;
.locals 1
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
if-ltz p1, :cond_0
.line 327
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
invoke-static {p1, v0}, Lkotlin/ranges/RangesKt;->coerceAtMost(II)I
move-result p1
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
invoke-interface {p0, p1, v0}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
move-result-object p0
return-object p0
.line 326
:cond_0
new-instance p0, Ljava/lang/StringBuilder;
const-string v0, "Requested character 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 drop(Ljava/lang/String;I)Ljava/lang/String;
.locals 1
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
if-ltz p1, :cond_0
.line 339
invoke-virtual {p0}, Ljava/lang/String;->length()I
move-result v0
invoke-static {p1, v0}, Lkotlin/ranges/RangesKt;->coerceAtMost(II)I
move-result p1
invoke-virtual {p0, p1}, Ljava/lang/String;->substring(I)Ljava/lang/String;
move-result-object p0
const-string p1, "substring(...)"
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.line 338
:cond_0
new-instance p0, Ljava/lang/StringBuilder;
const-string v0, "Requested character 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 dropLast(Ljava/lang/CharSequence;I)Ljava/lang/CharSequence;
.locals 1
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
if-ltz p1, :cond_0
.line 351
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
sub-int/2addr v0, p1
const/4 p1, 0x0
invoke-static {v0, p1}, Lkotlin/ranges/RangesKt;->coerceAtLeast(II)I
move-result p1
invoke-static {p0, p1}, Lkotlin/text/StringsKt;->take(Ljava/lang/CharSequence;I)Ljava/lang/CharSequence;
move-result-object p0
return-object p0
.line 350
:cond_0
new-instance p0, Ljava/lang/StringBuilder;
const-string v0, "Requested character 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 dropLast(Ljava/lang/String;I)Ljava/lang/String;
.locals 1
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
if-ltz p1, :cond_0
.line 363
invoke-virtual {p0}, Ljava/lang/String;->length()I
move-result v0
sub-int/2addr v0, p1
const/4 p1, 0x0
invoke-static {v0, p1}, Lkotlin/ranges/RangesKt;->coerceAtLeast(II)I
move-result p1
invoke-static {p0, p1}, Lkotlin/text/StringsKt;->take(Ljava/lang/String;I)Ljava/lang/String;
move-result-object p0
return-object p0
.line 362
:cond_0
new-instance p0, Ljava/lang/StringBuilder;
const-string v0, "Requested character 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 dropLastWhile(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/CharSequence;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Boolean;",
">;)",
"Ljava/lang/CharSequence;"
}
.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 372
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v0
:goto_0
const/4 v1, -0x1
if-ge v1, v0, :cond_1
.line 373
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v1
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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/Boolean;
invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z
move-result v1
if-nez v1, :cond_0
add-int/lit8 v0, v0, 0x1
const/4 p1, 0x0
.line 374
invoke-interface {p0, p1, v0}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
move-result-object p0
return-object p0
:cond_0
add-int/lit8 v0, v0, -0x1
goto :goto_0
:cond_1
const-string p0, ""
.line 375
check-cast p0, Ljava/lang/CharSequence;
return-object p0
.end method
.method public static final dropLastWhile(Ljava/lang/String;Lkotlin/jvm/functions/Function1;)Ljava/lang/String;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Boolean;",
">;)",
"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, "predicate"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 384
move-object v0, p0
check-cast v0, Ljava/lang/CharSequence;
invoke-static {v0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v0
:goto_0
const/4 v1, -0x1
if-ge v1, v0, :cond_1
.line 385
invoke-virtual {p0, v0}, Ljava/lang/String;->charAt(I)C
move-result v1
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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/Boolean;
invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z
move-result v1
if-nez v1, :cond_0
add-int/lit8 v0, v0, 0x1
const/4 p1, 0x0
.line 386
invoke-virtual {p0, p1, v0}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object p0
const-string p1, "substring(...)"
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
:cond_0
add-int/lit8 v0, v0, -0x1
goto :goto_0
:cond_1
const-string p0, ""
return-object p0
.end method
.method public static final dropWhile(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/CharSequence;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Boolean;",
">;)",
"Ljava/lang/CharSequence;"
}
.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 396
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
const/4 v1, 0x0
:goto_0
if-ge v1, v0, :cond_1
.line 397
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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-nez v2, :cond_0
.line 398
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result p1
invoke-interface {p0, v1, p1}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
move-result-object p0
return-object p0
:cond_0
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_1
const-string p0, ""
.line 399
check-cast p0, Ljava/lang/CharSequence;
return-object p0
.end method
.method public static final dropWhile(Ljava/lang/String;Lkotlin/jvm/functions/Function1;)Ljava/lang/String;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Boolean;",
">;)",
"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, "predicate"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 408
invoke-virtual {p0}, Ljava/lang/String;->length()I
move-result v0
const/4 v1, 0x0
:goto_0
if-ge v1, v0, :cond_1
.line 409
invoke-virtual {p0, v1}, Ljava/lang/String;->charAt(I)C
move-result v2
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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-nez v2, :cond_0
.line 410
invoke-virtual {p0, v1}, Ljava/lang/String;->substring(I)Ljava/lang/String;
move-result-object p0
const-string p1, "substring(...)"
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
:cond_0
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_1
const-string p0, ""
return-object p0
.end method
.method private static final elementAtOrElse(Ljava/lang/CharSequence;ILkotlin/jvm/functions/Function1;)C
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"I",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Integer;",
"Ljava/lang/Character;",
">;)C"
}
.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-ltz p1, :cond_0
.line 32
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v0
if-gt p1, v0, :cond_0
invoke-interface {p0, p1}, Ljava/lang/CharSequence;->charAt(I)C
move-result p0
goto :goto_0
:cond_0
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
check-cast p0, Ljava/lang/Character;
invoke-virtual {p0}, Ljava/lang/Character;->charValue()C
move-result p0
:goto_0
return p0
.end method
.method private static final elementAtOrNull(Ljava/lang/CharSequence;I)Ljava/lang/Character;
.locals 1
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 42
invoke-static {p0, p1}, Lkotlin/text/StringsKt;->getOrNull(Ljava/lang/CharSequence;I)Ljava/lang/Character;
move-result-object p0
return-object p0
.end method
.method public static final filter(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/CharSequence;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Boolean;",
">;)",
"Ljava/lang/CharSequence;"
}
.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, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
check-cast v0, Ljava/lang/Appendable;
.line 2495
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
const/4 v2, 0x0
:goto_0
if-ge v2, v1, :cond_1
.line 2496
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v3
.line 2497
invoke-static {v3}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v4
invoke-interface {p1, v4}, 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
invoke-interface {v0, v3}, Ljava/lang/Appendable;->append(C)Ljava/lang/Appendable;
:cond_0
add-int/lit8 v2, v2, 0x1
goto :goto_0
.line 2499
:cond_1
check-cast v0, Ljava/lang/CharSequence;
return-object v0
.end method
.method public static final filter(Ljava/lang/String;Lkotlin/jvm/functions/Function1;)Ljava/lang/String;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Boolean;",
">;)",
"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, "predicate"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 429
check-cast p0, Ljava/lang/CharSequence;
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
check-cast v0, Ljava/lang/Appendable;
.line 2500
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
const/4 v2, 0x0
:goto_0
if-ge v2, v1, :cond_1
.line 2501
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v3
.line 2502
invoke-static {v3}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v4
invoke-interface {p1, v4}, 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
invoke-interface {v0, v3}, Ljava/lang/Appendable;->append(C)Ljava/lang/Appendable;
:cond_0
add-int/lit8 v2, v2, 0x1
goto :goto_0
.line 2504
:cond_1
check-cast v0, Ljava/lang/StringBuilder;
.line 429
invoke-virtual {v0}, 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 final filterIndexed(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function2;)Ljava/lang/CharSequence;
.locals 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function2<",
"-",
"Ljava/lang/Integer;",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Boolean;",
">;)",
"Ljava/lang/CharSequence;"
}
.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 440
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
check-cast v0, Ljava/lang/Appendable;
const/4 v1, 0x0
move v2, v1
.line 2507
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v3
if-ge v1, v3, :cond_1
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
move-result v3
add-int/lit8 v4, v2, 0x1
.line 2508
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
invoke-static {v3}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v5
invoke-interface {p1, v2, v5}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;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
invoke-interface {v0, v3}, Ljava/lang/Appendable;->append(C)Ljava/lang/Appendable;
:cond_0
add-int/lit8 v1, v1, 0x1
move v2, v4
goto :goto_0
.line 2511
:cond_1
check-cast v0, Ljava/lang/CharSequence;
return-object v0
.end method
.method public static final filterIndexed(Ljava/lang/String;Lkotlin/jvm/functions/Function2;)Ljava/lang/String;
.locals 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"Lkotlin/jvm/functions/Function2<",
"-",
"Ljava/lang/Integer;",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Boolean;",
">;)",
"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, "predicate"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 451
check-cast p0, Ljava/lang/CharSequence;
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
check-cast v0, Ljava/lang/Appendable;
const/4 v1, 0x0
move v2, v1
.line 2514
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v3
if-ge v1, v3, :cond_1
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
move-result v3
add-int/lit8 v4, v2, 0x1
.line 2515
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
invoke-static {v3}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v5
invoke-interface {p1, v2, v5}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;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
invoke-interface {v0, v3}, Ljava/lang/Appendable;->append(C)Ljava/lang/Appendable;
:cond_0
add-int/lit8 v1, v1, 0x1
move v2, v4
goto :goto_0
.line 2518
:cond_1
check-cast v0, Ljava/lang/StringBuilder;
.line 451
invoke-virtual {v0}, 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 final filterIndexedTo(Ljava/lang/CharSequence;Ljava/lang/Appendable;Lkotlin/jvm/functions/Function2;)Ljava/lang/Appendable;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"<C::",
"Ljava/lang/Appendable;",
">(",
"Ljava/lang/CharSequence;",
"TC;",
"Lkotlin/jvm/functions/Function2<",
"-",
"Ljava/lang/Integer;",
"-",
"Ljava/lang/Character;",
"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
const/4 v0, 0x0
move v1, v0
.line 2520
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v2
if-ge v0, v2, :cond_1
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
add-int/lit8 v3, v1, 0x1
.line 463
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v4
invoke-interface {p2, v1, v4}, 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_0
invoke-interface {p1, v2}, Ljava/lang/Appendable;->append(C)Ljava/lang/Appendable;
:cond_0
add-int/lit8 v0, v0, 0x1
move v1, v3
goto :goto_0
:cond_1
return-object p1
.end method
.method public static final filterNot(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/CharSequence;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Boolean;",
">;)",
"Ljava/lang/CharSequence;"
}
.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 474
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
check-cast v0, Ljava/lang/Appendable;
const/4 v1, 0x0
.line 2522
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v2
if-ge v1, v2, :cond_1
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v3
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-nez v3, :cond_0
invoke-interface {v0, v2}, Ljava/lang/Appendable;->append(C)Ljava/lang/Appendable;
:cond_0
add-int/lit8 v1, v1, 0x1
goto :goto_0
.line 2523
:cond_1
check-cast v0, Ljava/lang/CharSequence;
return-object v0
.end method
.method public static final filterNot(Ljava/lang/String;Lkotlin/jvm/functions/Function1;)Ljava/lang/String;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Boolean;",
">;)",
"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, "predicate"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 483
check-cast p0, Ljava/lang/CharSequence;
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
check-cast v0, Ljava/lang/Appendable;
const/4 v1, 0x0
.line 2524
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v2
if-ge v1, v2, :cond_1
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v3
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-nez v3, :cond_0
invoke-interface {v0, v2}, Ljava/lang/Appendable;->append(C)Ljava/lang/Appendable;
:cond_0
add-int/lit8 v1, v1, 0x1
goto :goto_0
.line 2525
:cond_1
check-cast v0, Ljava/lang/StringBuilder;
.line 483
invoke-virtual {v0}, 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 final filterNotTo(Ljava/lang/CharSequence;Ljava/lang/Appendable;Lkotlin/jvm/functions/Function1;)Ljava/lang/Appendable;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<C::",
"Ljava/lang/Appendable;",
">(",
"Ljava/lang/CharSequence;",
"TC;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"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
const/4 v0, 0x0
.line 492
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
if-ge v0, v1, :cond_1
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v1
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v2
invoke-interface {p2, 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-nez v2, :cond_0
invoke-interface {p1, v1}, Ljava/lang/Appendable;->append(C)Ljava/lang/Appendable;
:cond_0
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_1
return-object p1
.end method
.method public static final filterTo(Ljava/lang/CharSequence;Ljava/lang/Appendable;Lkotlin/jvm/functions/Function1;)Ljava/lang/Appendable;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<C::",
"Ljava/lang/Appendable;",
">(",
"Ljava/lang/CharSequence;",
"TC;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"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 502
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
const/4 v1, 0x0
:goto_0
if-ge v1, v0, :cond_1
.line 503
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
.line 504
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v3
invoke-interface {p2, 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_0
invoke-interface {p1, v2}, Ljava/lang/Appendable;->append(C)Ljava/lang/Appendable;
:cond_0
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_1
return-object p1
.end method
.method private static final find(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Character;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Boolean;",
">;)",
"Ljava/lang/Character;"
}
.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
const/4 v0, 0x0
.line 2487
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
if-ge v0, v1, :cond_1
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v1
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object p0
goto :goto_1
:cond_0
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_1
const/4 p0, 0x0
:goto_1
return-object p0
.end method
.method private static final findLast(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Character;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Boolean;",
">;)",
"Ljava/lang/Character;"
}
.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 2489
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
add-int/lit8 v0, v0, -0x1
if-ltz v0, :cond_2
:goto_0
add-int/lit8 v1, v0, -0x1
.line 2490
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
.line 2491
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object p0
goto :goto_2
:cond_0
if-gez v1, :cond_1
goto :goto_1
:cond_1
move v0, v1
goto :goto_0
:cond_2
:goto_1
const/4 p0, 0x0
:goto_2
return-object p0
.end method
.method public static final first(Ljava/lang/CharSequence;)C
.locals 1
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 71
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-eqz v0, :cond_0
const/4 v0, 0x0
.line 73
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result p0
return p0
.line 72
:cond_0
new-instance p0, Ljava/util/NoSuchElementException;
const-string v0, "Char sequence is empty."
invoke-direct {p0, v0}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static final first(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)C
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Boolean;",
">;)C"
}
.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
const/4 v0, 0x0
.line 81
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
if-ge v0, v1, :cond_1
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v1
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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
return v1
:cond_0
add-int/lit8 v0, v0, 0x1
goto :goto_0
.line 82
:cond_1
new-instance p0, Ljava/util/NoSuchElementException;
const-string p1, "Char sequence contains no character matching the predicate."
invoke-direct {p0, p1}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method private static final firstNotNullOf(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+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
const/4 v0, 0x0
.line 94
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
if-ge v0, v1, :cond_0
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v1
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v1
invoke-interface {p1, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
if-nez v1, :cond_1
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_0
const/4 v1, 0x0
:cond_1
if-eqz v1, :cond_2
return-object v1
:cond_2
new-instance p0, Ljava/util/NoSuchElementException;
const-string p1, "No element of the char 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(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+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
const/4 v0, 0x0
.line 106
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
if-ge v0, v1, :cond_1
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v1
.line 107
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v1
invoke-interface {p1, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
if-eqz v1, :cond_0
return-object v1
:cond_0
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_1
const/4 p0, 0x0
return-object p0
.end method
.method public static final firstOrNull(Ljava/lang/CharSequence;)Ljava/lang/Character;
.locals 1
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 119
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_0
const/4 p0, 0x0
goto :goto_0
:cond_0
const/4 v0, 0x0
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result p0
invoke-static {p0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object p0
:goto_0
return-object p0
.end method
.method public static final firstOrNull(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Character;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Boolean;",
">;)",
"Ljava/lang/Character;"
}
.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
const/4 v0, 0x0
.line 126
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
if-ge v0, v1, :cond_1
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v1
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object p0
return-object p0
:cond_0
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_1
const/4 p0, 0x0
return-object p0
.end method
.method public static final flatMap(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/util/List;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+",
"Ljava/lang/Iterable<",
"+TR;>;>;)",
"Ljava/util/List<",
"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 842
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
check-cast v0, Ljava/util/Collection;
const/4 v1, 0x0
.line 2542
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v2
if-ge v1, v2, :cond_0
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
.line 2543
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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/Iterable;
.line 2544
invoke-static {v0, v2}, Lkotlin/collections/CollectionsKt;->addAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z
add-int/lit8 v1, v1, 0x1
goto :goto_0
.line 2546
:cond_0
check-cast v0, Ljava/util/List;
return-object v0
.end method
.method private static final flatMapIndexedIterable(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function2;)Ljava/util/List;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function2<",
"-",
"Ljava/lang/Integer;",
"-",
"Ljava/lang/Character;",
"+",
"Ljava/lang/Iterable<",
"+TR;>;>;)",
"Ljava/util/List<",
"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 857
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
check-cast v0, Ljava/util/Collection;
const/4 v1, 0x0
move v2, v1
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v3
if-ge v1, v3, :cond_0
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
move-result v3
add-int/lit8 v4, v2, 0x1
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
invoke-static {v3}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v3
invoke-interface {p1, v2, v3}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/lang/Iterable;
invoke-static {v0, v2}, Lkotlin/collections/CollectionsKt;->addAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z
add-int/lit8 v1, v1, 0x1
move v2, v4
goto :goto_0
:cond_0
check-cast v0, Ljava/util/List;
return-object v0
.end method
.method private static final flatMapIndexedIterableTo(Ljava/lang/CharSequence;Ljava/util/Collection;Lkotlin/jvm/functions/Function2;)Ljava/util/Collection;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
"C::",
"Ljava/util/Collection<",
"-TR;>;>(",
"Ljava/lang/CharSequence;",
"TC;",
"Lkotlin/jvm/functions/Function2<",
"-",
"Ljava/lang/Integer;",
"-",
"Ljava/lang/Character;",
"+",
"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
const/4 v0, 0x0
move v1, v0
.line 871
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v2
if-ge v0, v2, :cond_0
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
add-int/lit8 v3, v1, 0x1
.line 872
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v2
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 873
invoke-static {p1, v1}, Lkotlin/collections/CollectionsKt;->addAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z
add-int/lit8 v0, v0, 0x1
move v1, v3
goto :goto_0
:cond_0
return-object p1
.end method
.method public static final flatMapTo(Ljava/lang/CharSequence;Ljava/util/Collection;Lkotlin/jvm/functions/Function1;)Ljava/util/Collection;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
"C::",
"Ljava/util/Collection<",
"-TR;>;>(",
"Ljava/lang/CharSequence;",
"TC;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+",
"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
const/4 v0, 0x0
.line 882
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
if-ge v0, v1, :cond_0
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v1
.line 883
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v1
invoke-interface {p2, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/Iterable;
.line 884
invoke-static {p1, v1}, Lkotlin/collections/CollectionsKt;->addAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_0
return-object p1
.end method
.method public static final fold(Ljava/lang/CharSequence;Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Ljava/lang/Object;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"TR;",
"Lkotlin/jvm/functions/Function2<",
"-TR;-",
"Ljava/lang/Character;",
"+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
const/4 v0, 0x0
.line 1114
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
if-ge v0, v1, :cond_0
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v1
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v1
invoke-interface {p2, p1, v1}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_0
return-object p1
.end method
.method public static final foldIndexed(Ljava/lang/CharSequence;Ljava/lang/Object;Lkotlin/jvm/functions/Function3;)Ljava/lang/Object;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"TR;",
"Lkotlin/jvm/functions/Function3<",
"-",
"Ljava/lang/Integer;",
"-TR;-",
"Ljava/lang/Character;",
"+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
const/4 v0, 0x0
move v1, v0
.line 1130
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v2
if-ge v0, v2, :cond_0
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
add-int/lit8 v3, v1, 0x1
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v2
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
add-int/lit8 v0, v0, 0x1
move v1, v3
goto :goto_0
:cond_0
return-object p1
.end method
.method public static final foldRight(Ljava/lang/CharSequence;Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Ljava/lang/Object;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"TR;",
"Lkotlin/jvm/functions/Function2<",
"-",
"Ljava/lang/Character;",
"-TR;+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 1143
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v0
:goto_0
if-ltz v0, :cond_0
add-int/lit8 v1, v0, -0x1
.line 1146
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v0
invoke-interface {p2, v0, p1}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
move v0, v1
goto :goto_0
:cond_0
return-object p1
.end method
.method public static final foldRightIndexed(Ljava/lang/CharSequence;Ljava/lang/Object;Lkotlin/jvm/functions/Function3;)Ljava/lang/Object;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"TR;",
"Lkotlin/jvm/functions/Function3<",
"-",
"Ljava/lang/Integer;",
"-",
"Ljava/lang/Character;",
"-TR;+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 1161
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v0
:goto_0
if-ltz v0, :cond_0
.line 1164
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v2
invoke-interface {p2, v1, v2, p1}, Lkotlin/jvm/functions/Function3;->invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
add-int/lit8 v0, v0, -0x1
goto :goto_0
:cond_0
return-object p1
.end method
.method public static final forEach(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"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
const/4 v0, 0x0
.line 1174
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
if-ge v0, v1, :cond_0
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v1
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v1
invoke-interface {p1, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_0
return-void
.end method
.method public static final forEachIndexed(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function2;)V
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function2<",
"-",
"Ljava/lang/Integer;",
"-",
"Ljava/lang/Character;",
"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
const/4 v0, 0x0
move v1, v0
.line 1184
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v2
if-ge v0, v2, :cond_0
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
add-int/lit8 v3, v1, 0x1
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v2
invoke-interface {p1, v1, v2}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
add-int/lit8 v0, v0, 0x1
move v1, v3
goto :goto_0
:cond_0
return-void
.end method
.method private static final getOrElse(Ljava/lang/CharSequence;ILkotlin/jvm/functions/Function1;)C
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"I",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Integer;",
"Ljava/lang/Character;",
">;)C"
}
.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-ltz p1, :cond_0
.line 135
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v0
if-gt p1, v0, :cond_0
invoke-interface {p0, p1}, Ljava/lang/CharSequence;->charAt(I)C
move-result p0
goto :goto_0
:cond_0
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
check-cast p0, Ljava/lang/Character;
invoke-virtual {p0}, Ljava/lang/Character;->charValue()C
move-result p0
:goto_0
return p0
.end method
.method public static final getOrNull(Ljava/lang/CharSequence;I)Ljava/lang/Character;
.locals 1
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
if-ltz p1, :cond_0
.line 144
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v0
if-gt p1, v0, :cond_0
invoke-interface {p0, p1}, Ljava/lang/CharSequence;->charAt(I)C
move-result p0
invoke-static {p0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object p0
goto :goto_0
:cond_0
const/4 p0, 0x0
:goto_0
return-object p0
.end method
.method public static final groupBy(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+TK;>;)",
"Ljava/util/Map<",
"TK;",
"Ljava/util/List<",
"Ljava/lang/Character;",
">;>;"
}
.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 898
new-instance v0, Ljava/util/LinkedHashMap;
invoke-direct {v0}, Ljava/util/LinkedHashMap;-><init>()V
check-cast v0, Ljava/util/Map;
const/4 v1, 0x0
.line 2547
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v2
if-ge v1, v2, :cond_1
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
.line 2548
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v3
invoke-interface {p1, v3}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v3
.line 2550
invoke-interface {v0, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v4
if-nez v4, :cond_0
.line 2549
new-instance v4, Ljava/util/ArrayList;
invoke-direct {v4}, Ljava/util/ArrayList;-><init>()V
check-cast v4, Ljava/util/List;
.line 2553
invoke-interface {v0, v3, v4}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 2549
:cond_0
check-cast v4, Ljava/util/List;
.line 2557
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v2
invoke-interface {v4, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_1
return-object v0
.end method
.method public static final groupBy(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+TK;>;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+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 911
new-instance v0, Ljava/util/LinkedHashMap;
invoke-direct {v0}, Ljava/util/LinkedHashMap;-><init>()V
check-cast v0, Ljava/util/Map;
const/4 v1, 0x0
.line 2560
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v2
if-ge v1, v2, :cond_1
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
.line 2561
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v3
invoke-interface {p1, v3}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v3
.line 2563
invoke-interface {v0, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v4
if-nez v4, :cond_0
.line 2562
new-instance v4, Ljava/util/ArrayList;
invoke-direct {v4}, Ljava/util/ArrayList;-><init>()V
check-cast v4, Ljava/util/List;
.line 2566
invoke-interface {v0, v3, v4}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 2562
:cond_0
check-cast v4, Ljava/util/List;
.line 2570
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v2
invoke-interface {p2, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v2
invoke-interface {v4, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_1
return-object v0
.end method
.method public static final groupByTo(Ljava/lang/CharSequence;Ljava/util/Map;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"M::",
"Ljava/util/Map<",
"-TK;",
"Ljava/util/List<",
"Ljava/lang/Character;",
">;>;>(",
"Ljava/lang/CharSequence;",
"TM;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+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
const/4 v0, 0x0
.line 923
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
if-ge v0, v1, :cond_1
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v1
.line 924
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v2
invoke-interface {p2, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v2
.line 2573
invoke-interface {p1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v3
if-nez v3, :cond_0
.line 925
new-instance v3, Ljava/util/ArrayList;
invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V
check-cast v3, Ljava/util/List;
.line 2576
invoke-interface {p1, v2, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 925
:cond_0
check-cast v3, Ljava/util/List;
.line 926
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v1
invoke-interface {v3, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_1
return-object p1
.end method
.method public static final groupByTo(Ljava/lang/CharSequence;Ljava/util/Map;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
"M::",
"Ljava/util/Map<",
"-TK;",
"Ljava/util/List<",
"TV;>;>;>(",
"Ljava/lang/CharSequence;",
"TM;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+TK;>;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+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
const/4 v0, 0x0
.line 941
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
if-ge v0, v1, :cond_1
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v1
.line 942
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v2
invoke-interface {p2, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v2
.line 2580
invoke-interface {p1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v3
if-nez v3, :cond_0
.line 943
new-instance v3, Ljava/util/ArrayList;
invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V
check-cast v3, Ljava/util/List;
.line 2583
invoke-interface {p1, v2, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 943
:cond_0
check-cast v3, Ljava/util/List;
.line 944
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v1
invoke-interface {p3, 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
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_1
return-object p1
.end method
.method public static final groupingBy(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Lkotlin/collections/Grouping;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+TK;>;)",
"Lkotlin/collections/Grouping<",
"Ljava/lang/Character;",
"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 957
new-instance v0, Lkotlin/text/StringsKt___StringsKt$groupingBy$1;
invoke-direct {v0, p0, p1}, Lkotlin/text/StringsKt___StringsKt$groupingBy$1;-><init>(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)V
check-cast v0, Lkotlin/collections/Grouping;
return-object v0
.end method
.method public static final indexOfFirst(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)I
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"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 151
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
const/4 v1, 0x0
:goto_0
if-ge v1, v0, :cond_1
.line 152
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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
return v1
:cond_0
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_1
const/4 p0, -0x1
return p0
.end method
.method public static final indexOfLast(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)I
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"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 163
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
const/4 v1, -0x1
add-int/2addr v0, v1
if-ltz v0, :cond_2
:goto_0
add-int/lit8 v2, v0, -0x1
.line 164
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v3
invoke-static {v3}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v3
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_0
return v0
:cond_0
if-gez v2, :cond_1
goto :goto_1
:cond_1
move v0, v2
goto :goto_0
:cond_2
:goto_1
return v1
.end method
.method public static final last(Ljava/lang/CharSequence;)C
.locals 1
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 179
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-eqz v0, :cond_0
.line 181
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v0
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result p0
return p0
.line 180
:cond_0
new-instance p0, Ljava/util/NoSuchElementException;
const-string v0, "Char sequence is empty."
invoke-direct {p0, v0}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static final last(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)C
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Boolean;",
">;)C"
}
.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 192
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
add-int/lit8 v0, v0, -0x1
if-ltz v0, :cond_1
:goto_0
add-int/lit8 v1, v0, -0x1
.line 193
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
.line 194
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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
return v0
:cond_0
if-ltz v1, :cond_1
move v0, v1
goto :goto_0
.line 196
:cond_1
new-instance p0, Ljava/util/NoSuchElementException;
const-string p1, "Char sequence contains no character matching the predicate."
invoke-direct {p0, p1}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static final lastOrNull(Ljava/lang/CharSequence;)Ljava/lang/Character;
.locals 1
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 205
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_0
const/4 p0, 0x0
goto :goto_0
:cond_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
add-int/lit8 v0, v0, -0x1
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result p0
invoke-static {p0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object p0
:goto_0
return-object p0
.end method
.method public static final lastOrNull(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Character;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Boolean;",
">;)",
"Ljava/lang/Character;"
}
.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 214
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
add-int/lit8 v0, v0, -0x1
if-ltz v0, :cond_2
:goto_0
add-int/lit8 v1, v0, -0x1
.line 215
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
.line 216
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object p0
return-object p0
:cond_0
if-gez v1, :cond_1
goto :goto_1
:cond_1
move v0, v1
goto :goto_0
:cond_2
:goto_1
const/4 p0, 0x0
return-object p0
.end method
.method public static final map(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/util/List;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+TR;>;)",
"Ljava/util/List<",
"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 970
new-instance v0, Ljava/util/ArrayList;
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
check-cast v0, Ljava/util/Collection;
const/4 v1, 0x0
.line 2587
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v2
if-ge v1, v2, :cond_0
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
.line 2588
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v2
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v2
invoke-interface {v0, v2}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
add-int/lit8 v1, v1, 0x1
goto :goto_0
.line 2589
:cond_0
check-cast v0, Ljava/util/List;
return-object v0
.end method
.method public static final mapIndexed(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function2;)Ljava/util/List;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function2<",
"-",
"Ljava/lang/Integer;",
"-",
"Ljava/lang/Character;",
"+TR;>;)",
"Ljava/util/List<",
"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 980
new-instance v0, Ljava/util/ArrayList;
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
check-cast v0, Ljava/util/Collection;
const/4 v1, 0x0
move v2, v1
.line 2591
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v3
if-ge v1, v3, :cond_0
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
move-result v3
add-int/lit8 v4, v2, 0x1
.line 2592
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
invoke-static {v3}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v3
invoke-interface {p1, v2, v3}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v2
invoke-interface {v0, v2}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
add-int/lit8 v1, v1, 0x1
move v2, v4
goto :goto_0
.line 2593
:cond_0
check-cast v0, Ljava/util/List;
return-object v0
.end method
.method public static final mapIndexedNotNull(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function2;)Ljava/util/List;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function2<",
"-",
"Ljava/lang/Integer;",
"-",
"Ljava/lang/Character;",
"+TR;>;)",
"Ljava/util/List<",
"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 990
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
check-cast v0, Ljava/util/Collection;
const/4 v1, 0x0
move v2, v1
.line 2596
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v3
if-ge v1, v3, :cond_1
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
move-result v3
add-int/lit8 v4, v2, 0x1
.line 2594
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
invoke-static {v3}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v3
invoke-interface {p1, v2, v3}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v2
if-eqz v2, :cond_0
invoke-interface {v0, v2}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
:cond_0
add-int/lit8 v1, v1, 0x1
move v2, v4
goto :goto_0
.line 2599
:cond_1
check-cast v0, Ljava/util/List;
return-object v0
.end method
.method public static final mapIndexedNotNullTo(Ljava/lang/CharSequence;Ljava/util/Collection;Lkotlin/jvm/functions/Function2;)Ljava/util/Collection;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
"C::",
"Ljava/util/Collection<",
"-TR;>;>(",
"Ljava/lang/CharSequence;",
"TC;",
"Lkotlin/jvm/functions/Function2<",
"-",
"Ljava/lang/Integer;",
"-",
"Ljava/lang/Character;",
"+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
const/4 v0, 0x0
move v1, v0
.line 2601
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v2
if-ge v0, v2, :cond_1
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
add-int/lit8 v3, v1, 0x1
.line 1000
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v2
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_0
invoke-interface {p1, v1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
:cond_0
add-int/lit8 v0, v0, 0x1
move v1, v3
goto :goto_0
:cond_1
return-object p1
.end method
.method public static final mapIndexedTo(Ljava/lang/CharSequence;Ljava/util/Collection;Lkotlin/jvm/functions/Function2;)Ljava/util/Collection;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
"C::",
"Ljava/util/Collection<",
"-TR;>;>(",
"Ljava/lang/CharSequence;",
"TC;",
"Lkotlin/jvm/functions/Function2<",
"-",
"Ljava/lang/Integer;",
"-",
"Ljava/lang/Character;",
"+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
const/4 v0, 0x0
move v1, v0
.line 1012
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v2
if-ge v0, v2, :cond_0
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
add-int/lit8 v3, v1, 0x1
.line 1013
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v2
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
add-int/lit8 v0, v0, 0x1
move v1, v3
goto :goto_0
:cond_0
return-object p1
.end method
.method public static final mapNotNull(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/util/List;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+TR;>;)",
"Ljava/util/List<",
"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 1024
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
check-cast v0, Ljava/util/Collection;
const/4 v1, 0x0
.line 2604
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v2
if-ge v1, v2, :cond_1
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
.line 2603
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v2
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v2
if-eqz v2, :cond_0
invoke-interface {v0, v2}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
:cond_0
add-int/lit8 v1, v1, 0x1
goto :goto_0
.line 2607
:cond_1
check-cast v0, Ljava/util/List;
return-object v0
.end method
.method public static final mapNotNullTo(Ljava/lang/CharSequence;Ljava/util/Collection;Lkotlin/jvm/functions/Function1;)Ljava/util/Collection;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
"C::",
"Ljava/util/Collection<",
"-TR;>;>(",
"Ljava/lang/CharSequence;",
"TC;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+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
const/4 v0, 0x0
.line 2608
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
if-ge v0, v1, :cond_1
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v1
.line 1032
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v1
invoke-interface {p2, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
if-eqz v1, :cond_0
invoke-interface {p1, v1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
:cond_0
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_1
return-object p1
.end method
.method public static final mapTo(Ljava/lang/CharSequence;Ljava/util/Collection;Lkotlin/jvm/functions/Function1;)Ljava/util/Collection;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
"C::",
"Ljava/util/Collection<",
"-TR;>;>(",
"Ljava/lang/CharSequence;",
"TC;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+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
const/4 v0, 0x0
.line 1041
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
if-ge v0, v1, :cond_0
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v1
.line 1042
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v1
invoke-interface {p2, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
invoke-interface {p1, v1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_0
return-object p1
.end method
.method public static final maxByOrNull(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Character;
.locals 6
.annotation system Ldalvik/annotation/Signature;
value = {
"<R::",
"Ljava/lang/Comparable<",
"-TR;>;>(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+TR;>;)",
"Ljava/lang/Character;"
}
.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 1239
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
const/4 v0, 0x0
.line 1240
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
.line 1241
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v1
if-nez v1, :cond_1
.line 1242
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object p0
return-object p0
.line 1243
:cond_1
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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/Comparable;
.line 1244
new-instance v3, Lkotlin/ranges/IntRange;
const/4 v4, 0x1
invoke-direct {v3, v4, v1}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v3}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
move-result-object v1
:cond_2
:goto_0
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->hasNext()Z
move-result v3
if-eqz v3, :cond_3
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->nextInt()I
move-result v3
.line 1245
invoke-interface {p0, v3}, Ljava/lang/CharSequence;->charAt(I)C
move-result v3
.line 1246
invoke-static {v3}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v4
invoke-interface {p1, v4}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v4
check-cast v4, Ljava/lang/Comparable;
.line 1247
invoke-interface {v2, v4}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
move-result v5
if-gez v5, :cond_2
move v0, v3
move-object v2, v4
goto :goto_0
.line 1252
:cond_3
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object p0
return-object p0
.end method
.method public static final maxByOrThrow(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)C
.locals 6
.annotation system Ldalvik/annotation/Signature;
value = {
"<R::",
"Ljava/lang/Comparable<",
"-TR;>;>(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+TR;>;)C"
}
.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 1216
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-eqz v0, :cond_3
const/4 v0, 0x0
.line 1217
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
.line 1218
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v1
if-nez v1, :cond_0
return v0
.line 1220
:cond_0
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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/Comparable;
.line 1221
new-instance v3, Lkotlin/ranges/IntRange;
const/4 v4, 0x1
invoke-direct {v3, v4, v1}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v3}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
move-result-object v1
:cond_1
:goto_0
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->hasNext()Z
move-result v3
if-eqz v3, :cond_2
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->nextInt()I
move-result v3
.line 1222
invoke-interface {p0, v3}, Ljava/lang/CharSequence;->charAt(I)C
move-result v3
.line 1223
invoke-static {v3}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v4
invoke-interface {p1, v4}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v4
check-cast v4, Ljava/lang/Comparable;
.line 1224
invoke-interface {v2, v4}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
move-result v5
if-gez v5, :cond_1
move v0, v3
move-object v2, v4
goto :goto_0
:cond_2
return v0
.line 1216
: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(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)D
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"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 1268
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-eqz v0, :cond_1
const/4 v0, 0x0
.line 1269
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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 1270
new-instance v2, Lkotlin/ranges/IntRange;
const/4 v3, 0x1
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v4
invoke-direct {v2, v3, v4}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v2}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
move-result-object v2
:goto_0
invoke-virtual {v2}, Lkotlin/collections/IntIterator;->hasNext()Z
move-result v3
if-eqz v3, :cond_0
invoke-virtual {v2}, Lkotlin/collections/IntIterator;->nextInt()I
move-result v3
.line 1271
invoke-interface {p0, v3}, Ljava/lang/CharSequence;->charAt(I)C
move-result v3
invoke-static {v3}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v3
invoke-interface {p1, v3}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)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
.line 1272
invoke-static {v0, v1, v3, v4}, Ljava/lang/Math;->max(DD)D
move-result-wide v0
goto :goto_0
:cond_0
return-wide v0
.line 1268
: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(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)F
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"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 1290
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-eqz v0, :cond_1
const/4 v0, 0x0
.line 1291
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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 1292
new-instance v1, Lkotlin/ranges/IntRange;
const/4 v2, 0x1
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v3
invoke-direct {v1, v2, v3}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v1}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
move-result-object v1
:goto_0
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_0
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->nextInt()I
move-result v2
.line 1293
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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;->floatValue()F
move-result v2
.line 1294
invoke-static {v0, v2}, Ljava/lang/Math;->max(FF)F
move-result v0
goto :goto_0
:cond_0
return v0
.line 1290
: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(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Comparable;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<R::",
"Ljava/lang/Comparable<",
"-TR;>;>(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+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 1310
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-eqz v0, :cond_2
const/4 v0, 0x0
.line 1311
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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 1312
new-instance v1, Lkotlin/ranges/IntRange;
const/4 v2, 0x1
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v3
invoke-direct {v1, v2, v3}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v1}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
move-result-object v1
:cond_0
:goto_0
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_1
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->nextInt()I
move-result v2
.line 1313
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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/Comparable;
.line 1314
invoke-interface {v0, v2}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
move-result v3
if-gez v3, :cond_0
move-object v0, v2
goto :goto_0
:cond_1
return-object v0
.line 1310
: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(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Comparable;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<R::",
"Ljava/lang/Comparable<",
"-TR;>;>(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+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 1370
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
const/4 v0, 0x0
.line 1371
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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 1372
new-instance v1, Lkotlin/ranges/IntRange;
const/4 v2, 0x1
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v3
invoke-direct {v1, v2, v3}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v1}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
move-result-object v1
:cond_1
:goto_0
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_2
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->nextInt()I
move-result v2
.line 1373
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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/Comparable;
.line 1374
invoke-interface {v0, v2}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
move-result v3
if-gez v3, :cond_1
move-object v0, v2
goto :goto_0
:cond_2
return-object v0
.end method
.method private static final maxOfOrNull(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Double;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"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 1332
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
const/4 v0, 0x0
.line 1333
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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 1334
new-instance v2, Lkotlin/ranges/IntRange;
const/4 v3, 0x1
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v4
invoke-direct {v2, v3, v4}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v2}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
move-result-object v2
:goto_0
invoke-virtual {v2}, Lkotlin/collections/IntIterator;->hasNext()Z
move-result v3
if-eqz v3, :cond_1
invoke-virtual {v2}, Lkotlin/collections/IntIterator;->nextInt()I
move-result v3
.line 1335
invoke-interface {p0, v3}, Ljava/lang/CharSequence;->charAt(I)C
move-result v3
invoke-static {v3}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v3
invoke-interface {p1, v3}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)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
.line 1336
invoke-static {v0, v1, v3, v4}, Ljava/lang/Math;->max(DD)D
move-result-wide v0
goto :goto_0
.line 1338
: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(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Float;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"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 1352
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
const/4 v0, 0x0
.line 1353
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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 1354
new-instance v1, Lkotlin/ranges/IntRange;
const/4 v2, 0x1
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v3
invoke-direct {v1, v2, v3}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v1}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
move-result-object v1
:goto_0
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_1
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->nextInt()I
move-result v2
.line 1355
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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;->floatValue()F
move-result v2
.line 1356
invoke-static {v0, v2}, Ljava/lang/Math;->max(FF)F
move-result v0
goto :goto_0
.line 1358
: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(Ljava/lang/CharSequence;Ljava/util/Comparator;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"Ljava/util/Comparator<",
"-TR;>;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+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 1392
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-eqz v0, :cond_2
const/4 v0, 0x0
.line 1393
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v0
invoke-interface {p2, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
.line 1394
new-instance v1, Lkotlin/ranges/IntRange;
const/4 v2, 0x1
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v3
invoke-direct {v1, v2, v3}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v1}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
move-result-object v1
:cond_0
:goto_0
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_1
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->nextInt()I
move-result v2
.line 1395
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v2
invoke-interface {p2, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v2
.line 1396
invoke-interface {p1, v0, v2}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
move-result v3
if-gez v3, :cond_0
move-object v0, v2
goto :goto_0
:cond_1
return-object v0
.line 1392
: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(Ljava/lang/CharSequence;Ljava/util/Comparator;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"Ljava/util/Comparator<",
"-TR;>;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+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 1412
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
const/4 v0, 0x0
.line 1413
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v0
invoke-interface {p2, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
.line 1414
new-instance v1, Lkotlin/ranges/IntRange;
const/4 v2, 0x1
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v3
invoke-direct {v1, v2, v3}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v1}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
move-result-object v1
:cond_1
:goto_0
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_2
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->nextInt()I
move-result v2
.line 1415
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v2
invoke-interface {p2, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v2
.line 1416
invoke-interface {p1, v0, v2}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
move-result v3
if-gez v3, :cond_1
move-object v0, v2
goto :goto_0
:cond_2
return-object v0
.end method
.method public static final maxOrNull(Ljava/lang/CharSequence;)Ljava/lang/Character;
.locals 4
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 1428
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
const/4 v0, 0x0
.line 1429
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
.line 1430
new-instance v1, Lkotlin/ranges/IntRange;
const/4 v2, 0x1
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v3
invoke-direct {v1, v2, v3}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v1}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
move-result-object v1
:cond_1
:goto_0
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_2
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->nextInt()I
move-result v2
.line 1431
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
.line 1432
invoke-static {v0, v2}, Lkotlin/jvm/internal/Intrinsics;->compare(II)I
move-result v3
if-gez v3, :cond_1
move v0, v2
goto :goto_0
.line 1434
:cond_2
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object p0
return-object p0
.end method
.method public static final maxOrThrow(Ljava/lang/CharSequence;)C
.locals 4
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 1196
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-eqz v0, :cond_2
const/4 v0, 0x0
.line 1197
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
.line 1198
new-instance v1, Lkotlin/ranges/IntRange;
const/4 v2, 0x1
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v3
invoke-direct {v1, v2, v3}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v1}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
move-result-object v1
:cond_0
:goto_0
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_1
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->nextInt()I
move-result v2
.line 1199
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
.line 1200
invoke-static {v0, v2}, Lkotlin/jvm/internal/Intrinsics;->compare(II)I
move-result v3
if-gez v3, :cond_0
move v0, v2
goto :goto_0
:cond_1
return v0
.line 1196
: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(Ljava/lang/CharSequence;Ljava/util/Comparator;)Ljava/lang/Character;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Ljava/util/Comparator<",
"-",
"Ljava/lang/Character;",
">;)",
"Ljava/lang/Character;"
}
.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 1460
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
const/4 v0, 0x0
.line 1461
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
.line 1462
new-instance v1, Lkotlin/ranges/IntRange;
const/4 v2, 0x1
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v3
invoke-direct {v1, v2, v3}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v1}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
move-result-object v1
:cond_1
:goto_0
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_2
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->nextInt()I
move-result v2
.line 1463
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
.line 1464
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v3
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v4
invoke-interface {p1, v3, v4}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
move-result v3
if-gez v3, :cond_1
move v0, v2
goto :goto_0
.line 1466
:cond_2
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object p0
return-object p0
.end method
.method public static final maxWithOrThrow(Ljava/lang/CharSequence;Ljava/util/Comparator;)C
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Ljava/util/Comparator<",
"-",
"Ljava/lang/Character;",
">;)C"
}
.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 1446
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-eqz v0, :cond_2
const/4 v0, 0x0
.line 1447
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
.line 1448
new-instance v1, Lkotlin/ranges/IntRange;
const/4 v2, 0x1
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v3
invoke-direct {v1, v2, v3}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v1}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
move-result-object v1
:cond_0
:goto_0
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_1
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->nextInt()I
move-result v2
.line 1449
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
.line 1450
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v3
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v4
invoke-interface {p1, v3, v4}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
move-result v3
if-gez v3, :cond_0
move v0, v2
goto :goto_0
:cond_1
return v0
.line 1446
: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(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Character;
.locals 6
.annotation system Ldalvik/annotation/Signature;
value = {
"<R::",
"Ljava/lang/Comparable<",
"-TR;>;>(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+TR;>;)",
"Ljava/lang/Character;"
}
.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 1521
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
const/4 v0, 0x0
.line 1522
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
.line 1523
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v1
if-nez v1, :cond_1
.line 1524
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object p0
return-object p0
.line 1525
:cond_1
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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/Comparable;
.line 1526
new-instance v3, Lkotlin/ranges/IntRange;
const/4 v4, 0x1
invoke-direct {v3, v4, v1}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v3}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
move-result-object v1
:cond_2
:goto_0
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->hasNext()Z
move-result v3
if-eqz v3, :cond_3
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->nextInt()I
move-result v3
.line 1527
invoke-interface {p0, v3}, Ljava/lang/CharSequence;->charAt(I)C
move-result v3
.line 1528
invoke-static {v3}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v4
invoke-interface {p1, v4}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v4
check-cast v4, Ljava/lang/Comparable;
.line 1529
invoke-interface {v2, v4}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
move-result v5
if-lez v5, :cond_2
move v0, v3
move-object v2, v4
goto :goto_0
.line 1534
:cond_3
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object p0
return-object p0
.end method
.method public static final minByOrThrow(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)C
.locals 6
.annotation system Ldalvik/annotation/Signature;
value = {
"<R::",
"Ljava/lang/Comparable<",
"-TR;>;>(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+TR;>;)C"
}
.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 1498
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-eqz v0, :cond_3
const/4 v0, 0x0
.line 1499
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
.line 1500
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v1
if-nez v1, :cond_0
return v0
.line 1502
:cond_0
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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/Comparable;
.line 1503
new-instance v3, Lkotlin/ranges/IntRange;
const/4 v4, 0x1
invoke-direct {v3, v4, v1}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v3}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
move-result-object v1
:cond_1
:goto_0
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->hasNext()Z
move-result v3
if-eqz v3, :cond_2
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->nextInt()I
move-result v3
.line 1504
invoke-interface {p0, v3}, Ljava/lang/CharSequence;->charAt(I)C
move-result v3
.line 1505
invoke-static {v3}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v4
invoke-interface {p1, v4}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v4
check-cast v4, Ljava/lang/Comparable;
.line 1506
invoke-interface {v2, v4}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
move-result v5
if-lez v5, :cond_1
move v0, v3
move-object v2, v4
goto :goto_0
:cond_2
return v0
.line 1498
: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(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)D
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"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 1550
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-eqz v0, :cond_1
const/4 v0, 0x0
.line 1551
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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 1552
new-instance v2, Lkotlin/ranges/IntRange;
const/4 v3, 0x1
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v4
invoke-direct {v2, v3, v4}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v2}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
move-result-object v2
:goto_0
invoke-virtual {v2}, Lkotlin/collections/IntIterator;->hasNext()Z
move-result v3
if-eqz v3, :cond_0
invoke-virtual {v2}, Lkotlin/collections/IntIterator;->nextInt()I
move-result v3
.line 1553
invoke-interface {p0, v3}, Ljava/lang/CharSequence;->charAt(I)C
move-result v3
invoke-static {v3}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v3
invoke-interface {p1, v3}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)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
.line 1554
invoke-static {v0, v1, v3, v4}, Ljava/lang/Math;->min(DD)D
move-result-wide v0
goto :goto_0
:cond_0
return-wide v0
.line 1550
: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(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)F
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"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 1572
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-eqz v0, :cond_1
const/4 v0, 0x0
.line 1573
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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 1574
new-instance v1, Lkotlin/ranges/IntRange;
const/4 v2, 0x1
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v3
invoke-direct {v1, v2, v3}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v1}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
move-result-object v1
:goto_0
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_0
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->nextInt()I
move-result v2
.line 1575
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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;->floatValue()F
move-result v2
.line 1576
invoke-static {v0, v2}, Ljava/lang/Math;->min(FF)F
move-result v0
goto :goto_0
:cond_0
return v0
.line 1572
: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(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Comparable;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<R::",
"Ljava/lang/Comparable<",
"-TR;>;>(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+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 1592
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-eqz v0, :cond_2
const/4 v0, 0x0
.line 1593
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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 1594
new-instance v1, Lkotlin/ranges/IntRange;
const/4 v2, 0x1
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v3
invoke-direct {v1, v2, v3}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v1}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
move-result-object v1
:cond_0
:goto_0
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_1
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->nextInt()I
move-result v2
.line 1595
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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/Comparable;
.line 1596
invoke-interface {v0, v2}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
move-result v3
if-lez v3, :cond_0
move-object v0, v2
goto :goto_0
:cond_1
return-object v0
.line 1592
: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(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Comparable;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<R::",
"Ljava/lang/Comparable<",
"-TR;>;>(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+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 1652
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
const/4 v0, 0x0
.line 1653
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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 1654
new-instance v1, Lkotlin/ranges/IntRange;
const/4 v2, 0x1
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v3
invoke-direct {v1, v2, v3}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v1}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
move-result-object v1
:cond_1
:goto_0
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_2
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->nextInt()I
move-result v2
.line 1655
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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/Comparable;
.line 1656
invoke-interface {v0, v2}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
move-result v3
if-lez v3, :cond_1
move-object v0, v2
goto :goto_0
:cond_2
return-object v0
.end method
.method private static final minOfOrNull(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Double;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"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 1614
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
const/4 v0, 0x0
.line 1615
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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 1616
new-instance v2, Lkotlin/ranges/IntRange;
const/4 v3, 0x1
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v4
invoke-direct {v2, v3, v4}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v2}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
move-result-object v2
:goto_0
invoke-virtual {v2}, Lkotlin/collections/IntIterator;->hasNext()Z
move-result v3
if-eqz v3, :cond_1
invoke-virtual {v2}, Lkotlin/collections/IntIterator;->nextInt()I
move-result v3
.line 1617
invoke-interface {p0, v3}, Ljava/lang/CharSequence;->charAt(I)C
move-result v3
invoke-static {v3}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v3
invoke-interface {p1, v3}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)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
.line 1618
invoke-static {v0, v1, v3, v4}, Ljava/lang/Math;->min(DD)D
move-result-wide v0
goto :goto_0
.line 1620
: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(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Float;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"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 1634
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
const/4 v0, 0x0
.line 1635
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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 1636
new-instance v1, Lkotlin/ranges/IntRange;
const/4 v2, 0x1
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v3
invoke-direct {v1, v2, v3}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v1}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
move-result-object v1
:goto_0
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_1
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->nextInt()I
move-result v2
.line 1637
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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;->floatValue()F
move-result v2
.line 1638
invoke-static {v0, v2}, Ljava/lang/Math;->min(FF)F
move-result v0
goto :goto_0
.line 1640
: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(Ljava/lang/CharSequence;Ljava/util/Comparator;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"Ljava/util/Comparator<",
"-TR;>;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+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 1674
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-eqz v0, :cond_2
const/4 v0, 0x0
.line 1675
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v0
invoke-interface {p2, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
.line 1676
new-instance v1, Lkotlin/ranges/IntRange;
const/4 v2, 0x1
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v3
invoke-direct {v1, v2, v3}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v1}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
move-result-object v1
:cond_0
:goto_0
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_1
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->nextInt()I
move-result v2
.line 1677
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v2
invoke-interface {p2, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v2
.line 1678
invoke-interface {p1, v0, v2}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
move-result v3
if-lez v3, :cond_0
move-object v0, v2
goto :goto_0
:cond_1
return-object v0
.line 1674
: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(Ljava/lang/CharSequence;Ljava/util/Comparator;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"Ljava/util/Comparator<",
"-TR;>;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"+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 1694
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
const/4 v0, 0x0
.line 1695
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v0
invoke-interface {p2, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
.line 1696
new-instance v1, Lkotlin/ranges/IntRange;
const/4 v2, 0x1
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v3
invoke-direct {v1, v2, v3}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v1}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
move-result-object v1
:cond_1
:goto_0
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_2
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->nextInt()I
move-result v2
.line 1697
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v2
invoke-interface {p2, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v2
.line 1698
invoke-interface {p1, v0, v2}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
move-result v3
if-lez v3, :cond_1
move-object v0, v2
goto :goto_0
:cond_2
return-object v0
.end method
.method public static final minOrNull(Ljava/lang/CharSequence;)Ljava/lang/Character;
.locals 4
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 1710
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
const/4 v0, 0x0
.line 1711
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
.line 1712
new-instance v1, Lkotlin/ranges/IntRange;
const/4 v2, 0x1
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v3
invoke-direct {v1, v2, v3}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v1}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
move-result-object v1
:cond_1
:goto_0
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_2
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->nextInt()I
move-result v2
.line 1713
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
.line 1714
invoke-static {v0, v2}, Lkotlin/jvm/internal/Intrinsics;->compare(II)I
move-result v3
if-lez v3, :cond_1
move v0, v2
goto :goto_0
.line 1716
:cond_2
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object p0
return-object p0
.end method
.method public static final minOrThrow(Ljava/lang/CharSequence;)C
.locals 4
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 1478
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-eqz v0, :cond_2
const/4 v0, 0x0
.line 1479
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
.line 1480
new-instance v1, Lkotlin/ranges/IntRange;
const/4 v2, 0x1
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v3
invoke-direct {v1, v2, v3}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v1}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
move-result-object v1
:cond_0
:goto_0
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_1
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->nextInt()I
move-result v2
.line 1481
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
.line 1482
invoke-static {v0, v2}, Lkotlin/jvm/internal/Intrinsics;->compare(II)I
move-result v3
if-lez v3, :cond_0
move v0, v2
goto :goto_0
:cond_1
return v0
.line 1478
: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(Ljava/lang/CharSequence;Ljava/util/Comparator;)Ljava/lang/Character;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Ljava/util/Comparator<",
"-",
"Ljava/lang/Character;",
">;)",
"Ljava/lang/Character;"
}
.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 1742
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
const/4 v0, 0x0
.line 1743
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
.line 1744
new-instance v1, Lkotlin/ranges/IntRange;
const/4 v2, 0x1
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v3
invoke-direct {v1, v2, v3}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v1}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
move-result-object v1
:cond_1
:goto_0
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_2
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->nextInt()I
move-result v2
.line 1745
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
.line 1746
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v3
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v4
invoke-interface {p1, v3, v4}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
move-result v3
if-lez v3, :cond_1
move v0, v2
goto :goto_0
.line 1748
:cond_2
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object p0
return-object p0
.end method
.method public static final minWithOrThrow(Ljava/lang/CharSequence;Ljava/util/Comparator;)C
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Ljava/util/Comparator<",
"-",
"Ljava/lang/Character;",
">;)C"
}
.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 1728
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-eqz v0, :cond_2
const/4 v0, 0x0
.line 1729
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
.line 1730
new-instance v1, Lkotlin/ranges/IntRange;
const/4 v2, 0x1
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v3
invoke-direct {v1, v2, v3}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v1}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
move-result-object v1
:cond_0
:goto_0
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_1
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->nextInt()I
move-result v2
.line 1731
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
.line 1732
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v3
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v4
invoke-interface {p1, v3, v4}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
move-result v3
if-lez v3, :cond_0
move v0, v2
goto :goto_0
:cond_1
return v0
.line 1728
:cond_2
new-instance p0, Ljava/util/NoSuchElementException;
invoke-direct {p0}, Ljava/util/NoSuchElementException;-><init>()V
throw p0
.end method
.method public static final none(Ljava/lang/CharSequence;)Z
.locals 1
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 1757
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result p0
if-nez 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 none(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Z
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"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
const/4 v0, 0x0
move v1, v0
.line 1766
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v2
if-ge v1, v2, :cond_1
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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
return v0
:cond_0
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_1
const/4 p0, 0x1
return p0
.end method
.method public static final onEach(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/CharSequence;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<S::",
"Ljava/lang/CharSequence;",
">(TS;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"Lkotlin/Unit;",
">;)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, "action"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v0, 0x0
.line 1775
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
if-ge v0, v1, :cond_0
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v1
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v1
invoke-interface {p1, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_0
return-object p0
.end method
.method public static final onEachIndexed(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function2;)Ljava/lang/CharSequence;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<S::",
"Ljava/lang/CharSequence;",
">(TS;",
"Lkotlin/jvm/functions/Function2<",
"-",
"Ljava/lang/Integer;",
"-",
"Ljava/lang/Character;",
"Lkotlin/Unit;",
">;)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, "action"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v0, 0x0
move v1, v0
.line 2611
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v2
if-ge v0, v2, :cond_0
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
add-int/lit8 v3, v1, 0x1
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v2
invoke-interface {p1, v1, v2}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
add-int/lit8 v0, v0, 0x1
move v1, v3
goto :goto_0
:cond_0
return-object p0
.end method
.method public static final partition(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Lkotlin/Pair;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Boolean;",
">;)",
"Lkotlin/Pair<",
"Ljava/lang/CharSequence;",
"Ljava/lang/CharSequence;",
">;"
}
.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 2280
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
.line 2281
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const/4 v2, 0x0
.line 2282
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v3
if-ge v2, v3, :cond_1
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v3
.line 2283
invoke-static {v3}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v4
invoke-interface {p1, v4}, 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
.line 2284
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
goto :goto_1
.line 2286
:cond_0
invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
:goto_1
add-int/lit8 v2, v2, 0x1
goto :goto_0
.line 2289
: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 partition(Ljava/lang/String;Lkotlin/jvm/functions/Function1;)Lkotlin/Pair;
.locals 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Boolean;",
">;)",
"Lkotlin/Pair<",
"Ljava/lang/String;",
"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, "predicate"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 2300
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
.line 2301
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
.line 2302
invoke-virtual {p0}, Ljava/lang/String;->length()I
move-result v2
const/4 v3, 0x0
:goto_0
if-ge v3, v2, :cond_1
invoke-virtual {p0, v3}, Ljava/lang/String;->charAt(I)C
move-result v4
.line 2303
invoke-static {v4}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v5
invoke-interface {p1, v5}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v5
check-cast v5, Ljava/lang/Boolean;
invoke-virtual {v5}, Ljava/lang/Boolean;->booleanValue()Z
move-result v5
if-eqz v5, :cond_0
.line 2304
invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
goto :goto_1
.line 2306
:cond_0
invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
:goto_1
add-int/lit8 v3, v3, 0x1
goto :goto_0
.line 2309
:cond_1
new-instance p0, Lkotlin/Pair;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
const-string v0, "toString(...)"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-static {v1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {p0, p1, v1}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
return-object p0
.end method
.method private static final random(Ljava/lang/CharSequence;)C
.locals 1
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 229
sget-object v0, Lkotlin/random/Random;->Default:Lkotlin/random/Random$Default;
check-cast v0, Lkotlin/random/Random;
invoke-static {p0, v0}, Lkotlin/text/StringsKt;->random(Ljava/lang/CharSequence;Lkotlin/random/Random;)C
move-result p0
return p0
.end method
.method public static final random(Ljava/lang/CharSequence;Lkotlin/random/Random;)C
.locals 1
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "random"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 239
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-eqz v0, :cond_0
.line 241
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
invoke-virtual {p1, v0}, Lkotlin/random/Random;->nextInt(I)I
move-result p1
invoke-interface {p0, p1}, Ljava/lang/CharSequence;->charAt(I)C
move-result p0
return p0
.line 240
:cond_0
new-instance p0, Ljava/util/NoSuchElementException;
const-string p1, "Char sequence is empty."
invoke-direct {p0, p1}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method private static final randomOrNull(Ljava/lang/CharSequence;)Ljava/lang/Character;
.locals 1
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 251
sget-object v0, Lkotlin/random/Random;->Default:Lkotlin/random/Random$Default;
check-cast v0, Lkotlin/random/Random;
invoke-static {p0, v0}, Lkotlin/text/StringsKt;->randomOrNull(Ljava/lang/CharSequence;Lkotlin/random/Random;)Ljava/lang/Character;
move-result-object p0
return-object p0
.end method
.method public static final randomOrNull(Ljava/lang/CharSequence;Lkotlin/random/Random;)Ljava/lang/Character;
.locals 1
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "random"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 260
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_0
const/4 p0, 0x0
return-object p0
.line 262
:cond_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
invoke-virtual {p1, v0}, Lkotlin/random/Random;->nextInt(I)I
move-result p1
invoke-interface {p0, p1}, Ljava/lang/CharSequence;->charAt(I)C
move-result p0
invoke-static {p0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object p0
return-object p0
.end method
.method public static final reduce(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function2;)C
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function2<",
"-",
"Ljava/lang/Character;",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Character;",
">;)C"
}
.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 1802
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-eqz v0, :cond_1
const/4 v0, 0x0
.line 1804
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
.line 1805
new-instance v1, Lkotlin/ranges/IntRange;
const/4 v2, 0x1
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v3
invoke-direct {v1, v2, v3}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v1}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
move-result-object v1
:goto_0
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_0
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->nextInt()I
move-result v2
.line 1806
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v0
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v2
invoke-interface {p1, v0, v2}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Character;
invoke-virtual {v0}, Ljava/lang/Character;->charValue()C
move-result v0
goto :goto_0
:cond_0
return v0
.line 1803
:cond_1
new-instance p0, Ljava/lang/UnsupportedOperationException;
const-string p1, "Empty char 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(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function3;)C
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function3<",
"-",
"Ljava/lang/Integer;",
"-",
"Ljava/lang/Character;",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Character;",
">;)C"
}
.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 1824
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-eqz v0, :cond_1
const/4 v0, 0x0
.line 1826
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
.line 1827
new-instance v1, Lkotlin/ranges/IntRange;
const/4 v2, 0x1
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v3
invoke-direct {v1, v2, v3}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v1}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
move-result-object v1
:goto_0
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_0
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->nextInt()I
move-result v2
.line 1828
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v3
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v0
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v2
invoke-interface {p1, v3, v0, v2}, Lkotlin/jvm/functions/Function3;->invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Character;
invoke-virtual {v0}, Ljava/lang/Character;->charValue()C
move-result v0
goto :goto_0
:cond_0
return v0
.line 1825
:cond_1
new-instance p0, Ljava/lang/UnsupportedOperationException;
const-string p1, "Empty char 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(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function3;)Ljava/lang/Character;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function3<",
"-",
"Ljava/lang/Integer;",
"-",
"Ljava/lang/Character;",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Character;",
">;)",
"Ljava/lang/Character;"
}
.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 1846
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
const/4 v0, 0x0
.line 1848
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
.line 1849
new-instance v1, Lkotlin/ranges/IntRange;
const/4 v2, 0x1
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v3
invoke-direct {v1, v2, v3}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v1}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
move-result-object v1
:goto_0
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_1
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->nextInt()I
move-result v2
.line 1850
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v3
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v0
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v2
invoke-interface {p1, v3, v0, v2}, Lkotlin/jvm/functions/Function3;->invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Character;
invoke-virtual {v0}, Ljava/lang/Character;->charValue()C
move-result v0
goto :goto_0
.line 1852
:cond_1
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object p0
return-object p0
.end method
.method public static final reduceOrNull(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function2;)Ljava/lang/Character;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function2<",
"-",
"Ljava/lang/Character;",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Character;",
">;)",
"Ljava/lang/Character;"
}
.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 1869
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
const/4 v0, 0x0
.line 1871
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
.line 1872
new-instance v1, Lkotlin/ranges/IntRange;
const/4 v2, 0x1
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v3
invoke-direct {v1, v2, v3}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v1}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
move-result-object v1
:goto_0
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_1
invoke-virtual {v1}, Lkotlin/collections/IntIterator;->nextInt()I
move-result v2
.line 1873
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v0
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v2
invoke-interface {p1, v0, v2}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Character;
invoke-virtual {v0}, Ljava/lang/Character;->charValue()C
move-result v0
goto :goto_0
.line 1875
:cond_1
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object p0
return-object p0
.end method
.method public static final reduceRight(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function2;)C
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function2<",
"-",
"Ljava/lang/Character;",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Character;",
">;)C"
}
.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 1891
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v0
if-ltz v0, :cond_1
add-int/lit8 v1, v0, -0x1
.line 1893
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
:goto_0
if-ltz v1, :cond_0
add-int/lit8 v2, v1, -0x1
.line 1895
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
move-result v1
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v1
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v0
invoke-interface {p1, v1, v0}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Character;
invoke-virtual {v0}, Ljava/lang/Character;->charValue()C
move-result v0
move v1, v2
goto :goto_0
:cond_0
return v0
.line 1892
:cond_1
new-instance p0, Ljava/lang/UnsupportedOperationException;
const-string p1, "Empty char 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 reduceRightIndexed(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function3;)C
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function3<",
"-",
"Ljava/lang/Integer;",
"-",
"Ljava/lang/Character;",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Character;",
">;)C"
}
.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 1913
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v0
if-ltz v0, :cond_1
add-int/lit8 v1, v0, -0x1
.line 1915
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
:goto_0
if-ltz v1, :cond_0
.line 1917
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
move-result v3
invoke-static {v3}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v3
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v0
invoke-interface {p1, v2, v3, v0}, Lkotlin/jvm/functions/Function3;->invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Character;
invoke-virtual {v0}, Ljava/lang/Character;->charValue()C
move-result v0
add-int/lit8 v1, v1, -0x1
goto :goto_0
:cond_0
return v0
.line 1914
:cond_1
new-instance p0, Ljava/lang/UnsupportedOperationException;
const-string p1, "Empty char 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 reduceRightIndexedOrNull(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function3;)Ljava/lang/Character;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function3<",
"-",
"Ljava/lang/Integer;",
"-",
"Ljava/lang/Character;",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Character;",
">;)",
"Ljava/lang/Character;"
}
.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 1936
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v0
if-gez v0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
add-int/lit8 v1, v0, -0x1
.line 1938
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
:goto_0
if-ltz v1, :cond_1
.line 1940
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
move-result v3
invoke-static {v3}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v3
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v0
invoke-interface {p1, v2, v3, v0}, Lkotlin/jvm/functions/Function3;->invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Character;
invoke-virtual {v0}, Ljava/lang/Character;->charValue()C
move-result v0
add-int/lit8 v1, v1, -0x1
goto :goto_0
.line 1943
:cond_1
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object p0
return-object p0
.end method
.method public static final reduceRightOrNull(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function2;)Ljava/lang/Character;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function2<",
"-",
"Ljava/lang/Character;",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Character;",
">;)",
"Ljava/lang/Character;"
}
.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 1960
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v0
if-gez v0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
add-int/lit8 v1, v0, -0x1
.line 1962
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
:goto_0
if-ltz v1, :cond_1
add-int/lit8 v2, v1, -0x1
.line 1964
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
move-result v1
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v1
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v0
invoke-interface {p1, v1, v0}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Character;
invoke-virtual {v0}, Ljava/lang/Character;->charValue()C
move-result v0
move v1, v2
goto :goto_0
.line 1966
:cond_1
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object p0
return-object p0
.end method
.method public static final reversed(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
.locals 1
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 654
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0, p0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/CharSequence;)V
invoke-virtual {v0}, Ljava/lang/StringBuilder;->reverse()Ljava/lang/StringBuilder;
move-result-object p0
const-string v0, "reverse(...)"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
check-cast p0, Ljava/lang/CharSequence;
return-object p0
.end method
.method private static final reversed(Ljava/lang/String;)Ljava/lang/String;
.locals 1
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 662
check-cast p0, Ljava/lang/CharSequence;
invoke-static {p0}, Lkotlin/text/StringsKt;->reversed(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public static final runningFold(Ljava/lang/CharSequence;Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Ljava/util/List;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"TR;",
"Lkotlin/jvm/functions/Function2<",
"-TR;-",
"Ljava/lang/Character;",
"+TR;>;)",
"Ljava/util/List<",
"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 1982
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_0
invoke-static {p1}, Lkotlin/collections/CollectionsKt;->listOf(Ljava/lang/Object;)Ljava/util/List;
move-result-object p0
return-object p0
.line 1983
:cond_0
new-instance v0, Ljava/util/ArrayList;
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
add-int/lit8 v1, v1, 0x1
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
const/4 v1, 0x0
.line 1985
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v2
if-ge v1, v2, :cond_1
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
.line 1986
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v2
invoke-interface {p2, p1, v2}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
.line 1987
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
add-int/lit8 v1, v1, 0x1
goto :goto_0
.line 1989
:cond_1
check-cast v0, Ljava/util/List;
return-object v0
.end method
.method public static final runningFoldIndexed(Ljava/lang/CharSequence;Ljava/lang/Object;Lkotlin/jvm/functions/Function3;)Ljava/util/List;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"TR;",
"Lkotlin/jvm/functions/Function3<",
"-",
"Ljava/lang/Integer;",
"-TR;-",
"Ljava/lang/Character;",
"+TR;>;)",
"Ljava/util/List<",
"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 2006
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_0
invoke-static {p1}, Lkotlin/collections/CollectionsKt;->listOf(Ljava/lang/Object;)Ljava/util/List;
move-result-object p0
return-object p0
.line 2007
:cond_0
new-instance v0, Ljava/util/ArrayList;
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
add-int/lit8 v1, v1, 0x1
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
.line 2009
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
const/4 v2, 0x0
:goto_0
if-ge v2, v1, :cond_1
.line 2010
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v3
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v4
invoke-static {v4}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v4
invoke-interface {p2, v3, p1, v4}, Lkotlin/jvm/functions/Function3;->invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
.line 2011
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
add-int/lit8 v2, v2, 0x1
goto :goto_0
.line 2013
:cond_1
check-cast v0, Ljava/util/List;
return-object v0
.end method
.method public static final runningReduce(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function2;)Ljava/util/List;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function2<",
"-",
"Ljava/lang/Character;",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Character;",
">;)",
"Ljava/util/List<",
"Ljava/lang/Character;",
">;"
}
.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 2029
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_0
invoke-static {}, Lkotlin/collections/CollectionsKt;->emptyList()Ljava/util/List;
move-result-object p0
return-object p0
:cond_0
const/4 v0, 0x0
.line 2030
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
.line 2031
new-instance v1, Ljava/util/ArrayList;
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v2
invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(I)V
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v2
invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
.line 2032
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v2
const/4 v3, 0x1
:goto_0
if-ge v3, v2, :cond_1
.line 2033
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v0
invoke-interface {p0, v3}, Ljava/lang/CharSequence;->charAt(I)C
move-result v4
invoke-static {v4}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v4
invoke-interface {p1, v0, v4}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Character;
invoke-virtual {v0}, Ljava/lang/Character;->charValue()C
move-result v0
.line 2034
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v4
invoke-virtual {v1, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
add-int/lit8 v3, v3, 0x1
goto :goto_0
.line 2036
:cond_1
check-cast v1, Ljava/util/List;
return-object v1
.end method
.method public static final runningReduceIndexed(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function3;)Ljava/util/List;
.locals 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function3<",
"-",
"Ljava/lang/Integer;",
"-",
"Ljava/lang/Character;",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Character;",
">;)",
"Ljava/util/List<",
"Ljava/lang/Character;",
">;"
}
.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 2053
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_0
invoke-static {}, Lkotlin/collections/CollectionsKt;->emptyList()Ljava/util/List;
move-result-object p0
return-object p0
:cond_0
const/4 v0, 0x0
.line 2054
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
.line 2055
new-instance v1, Ljava/util/ArrayList;
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v2
invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(I)V
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v2
invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
.line 2056
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v2
const/4 v3, 0x1
:goto_0
if-ge v3, v2, :cond_1
.line 2057
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v4
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v0
invoke-interface {p0, v3}, Ljava/lang/CharSequence;->charAt(I)C
move-result v5
invoke-static {v5}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v5
invoke-interface {p1, v4, v0, v5}, Lkotlin/jvm/functions/Function3;->invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Character;
invoke-virtual {v0}, Ljava/lang/Character;->charValue()C
move-result v0
.line 2058
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v4
invoke-virtual {v1, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
add-int/lit8 v3, v3, 0x1
goto :goto_0
.line 2060
:cond_1
check-cast v1, Ljava/util/List;
return-object v1
.end method
.method public static final scan(Ljava/lang/CharSequence;Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Ljava/util/List;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"TR;",
"Lkotlin/jvm/functions/Function2<",
"-TR;-",
"Ljava/lang/Character;",
"+TR;>;)",
"Ljava/util/List<",
"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 2613
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_0
invoke-static {p1}, Lkotlin/collections/CollectionsKt;->listOf(Ljava/lang/Object;)Ljava/util/List;
move-result-object p0
goto :goto_1
.line 2614
:cond_0
new-instance v0, Ljava/util/ArrayList;
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
add-int/lit8 v1, v1, 0x1
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
const/4 v1, 0x0
.line 2617
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v2
if-ge v1, v2, :cond_1
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
.line 2618
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v2
invoke-interface {p2, p1, v2}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
.line 2619
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
add-int/lit8 v1, v1, 0x1
goto :goto_0
.line 2621
:cond_1
move-object p0, v0
check-cast p0, Ljava/util/List;
:goto_1
return-object p0
.end method
.method public static final scanIndexed(Ljava/lang/CharSequence;Ljava/lang/Object;Lkotlin/jvm/functions/Function3;)Ljava/util/List;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"TR;",
"Lkotlin/jvm/functions/Function3<",
"-",
"Ljava/lang/Integer;",
"-TR;-",
"Ljava/lang/Character;",
"+TR;>;)",
"Ljava/util/List<",
"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 2622
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_0
invoke-static {p1}, Lkotlin/collections/CollectionsKt;->listOf(Ljava/lang/Object;)Ljava/util/List;
move-result-object p0
goto :goto_1
.line 2623
:cond_0
new-instance v0, Ljava/util/ArrayList;
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
add-int/lit8 v1, v1, 0x1
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
.line 2626
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
const/4 v2, 0x0
:goto_0
if-ge v2, v1, :cond_1
.line 2627
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v3
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v4
invoke-static {v4}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v4
invoke-interface {p2, v3, p1, v4}, Lkotlin/jvm/functions/Function3;->invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
.line 2628
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
add-int/lit8 v2, v2, 0x1
goto :goto_0
.line 2630
:cond_1
move-object p0, v0
check-cast p0, Ljava/util/List;
:goto_1
return-object p0
.end method
.method public static final single(Ljava/lang/CharSequence;)C
.locals 2
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 269
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-eqz v0, :cond_1
const/4 v1, 0x1
if-ne v0, v1, :cond_0
const/4 v0, 0x0
.line 271
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result p0
return p0
.line 272
:cond_0
new-instance p0, Ljava/lang/IllegalArgumentException;
const-string v0, "Char sequence has more than one element."
invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.line 270
:cond_1
new-instance p0, Ljava/util/NoSuchElementException;
const-string v0, "Char sequence is empty."
invoke-direct {p0, v0}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static final single(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)C
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Boolean;",
">;)C"
}
.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
const/4 v0, 0x0
const/4 v1, 0x0
move v2, v1
.line 282
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v3
if-ge v1, v3, :cond_2
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
move-result v3
.line 283
invoke-static {v3}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v4
invoke-interface {p1, v4}, 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_1
if-nez v2, :cond_0
.line 285
invoke-static {v3}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v0
const/4 v2, 0x1
goto :goto_1
.line 284
:cond_0
new-instance p0, Ljava/lang/IllegalArgumentException;
const-string p1, "Char sequence contains more than one matching element."
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
:cond_1
:goto_1
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_2
if-eqz v2, :cond_3
const-string p0, "null cannot be cast to non-null type kotlin.Char"
.line 291
invoke-static {v0, p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v0}, Ljava/lang/Character;->charValue()C
move-result p0
return p0
.line 289
:cond_3
new-instance p0, Ljava/util/NoSuchElementException;
const-string p1, "Char sequence contains no character matching the predicate."
invoke-direct {p0, p1}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static final singleOrNull(Ljava/lang/CharSequence;)Ljava/lang/Character;
.locals 2
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 298
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
const/4 v1, 0x1
if-ne v0, v1, :cond_0
const/4 v0, 0x0
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result p0
invoke-static {p0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object p0
goto :goto_0
:cond_0
const/4 p0, 0x0
:goto_0
return-object p0
.end method
.method public static final singleOrNull(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Character;
.locals 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Boolean;",
">;)",
"Ljava/lang/Character;"
}
.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
const/4 v0, 0x0
const/4 v1, 0x0
move-object v3, v0
move v2, v1
.line 307
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v4
if-ge v1, v4, :cond_2
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
move-result v4
.line 308
invoke-static {v4}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v5
invoke-interface {p1, v5}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v5
check-cast v5, Ljava/lang/Boolean;
invoke-virtual {v5}, Ljava/lang/Boolean;->booleanValue()Z
move-result v5
if-eqz v5, :cond_1
if-eqz v2, :cond_0
return-object v0
.line 310
:cond_0
invoke-static {v4}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v3
const/4 v2, 0x1
:cond_1
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_2
if-nez v2, :cond_3
return-object v0
:cond_3
return-object v3
.end method
.method public static final slice(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/CharSequence;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Ljava/lang/Iterable<",
"Ljava/lang/Integer;",
">;)",
"Ljava/lang/CharSequence;"
}
.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, "indices"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const/16 v0, 0xa
.line 529
invoke-static {p1, v0}, Lkotlin/collections/CollectionsKt;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
move-result v0
if-nez v0, :cond_0
const-string p0, ""
.line 530
check-cast p0, Ljava/lang/CharSequence;
return-object p0
.line 531
:cond_0
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1, v0}, Ljava/lang/StringBuilder;-><init>(I)V
.line 532
invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p1
:goto_0
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_1
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Number;
invoke-virtual {v0}, Ljava/lang/Number;->intValue()I
move-result v0
.line 533
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v0
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
goto :goto_0
.line 535
:cond_1
check-cast v1, Ljava/lang/CharSequence;
return-object v1
.end method
.method public static final slice(Ljava/lang/CharSequence;Lkotlin/ranges/IntRange;)Ljava/lang/CharSequence;
.locals 1
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "indices"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 513
invoke-virtual {p1}, Lkotlin/ranges/IntRange;->isEmpty()Z
move-result v0
if-eqz v0, :cond_0
const-string p0, ""
check-cast p0, Ljava/lang/CharSequence;
return-object p0
.line 514
:cond_0
invoke-static {p0, p1}, Lkotlin/text/StringsKt;->subSequence(Ljava/lang/CharSequence;Lkotlin/ranges/IntRange;)Ljava/lang/CharSequence;
move-result-object p0
return-object p0
.end method
.method private static final slice(Ljava/lang/String;Ljava/lang/Iterable;)Ljava/lang/String;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"Ljava/lang/Iterable<",
"Ljava/lang/Integer;",
">;)",
"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, "indices"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 543
check-cast p0, Ljava/lang/CharSequence;
invoke-static {p0, p1}, Lkotlin/text/StringsKt;->slice(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/CharSequence;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public static final slice(Ljava/lang/String;Lkotlin/ranges/IntRange;)Ljava/lang/String;
.locals 1
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "indices"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 521
invoke-virtual {p1}, Lkotlin/ranges/IntRange;->isEmpty()Z
move-result v0
if-eqz v0, :cond_0
const-string p0, ""
return-object p0
.line 522
:cond_0
invoke-static {p0, p1}, Lkotlin/text/StringsKt;->substring(Ljava/lang/String;Lkotlin/ranges/IntRange;)Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public static final sumBy(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)I
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"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
const/4 v0, 0x0
move v1, v0
.line 2105
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v2
if-ge v0, v2, :cond_0
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
.line 2106
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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;->intValue()I
move-result v2
add-int/2addr v1, v2
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_0
return v1
.end method
.method public static final sumByDouble(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)D
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"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
const-wide/16 v0, 0x0
const/4 v2, 0x0
.line 2118
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v3
if-ge v2, v3, :cond_0
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v3
.line 2119
invoke-static {v3}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v3
invoke-interface {p1, v3}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)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
goto :goto_0
:cond_0
return-wide v0
.end method
.method private static final sumOfDouble(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)D
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"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
const-wide/16 v0, 0x0
const/4 v2, 0x0
.line 2134
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v3
if-ge v2, v3, :cond_0
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v3
.line 2135
invoke-static {v3}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v3
invoke-interface {p1, v3}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)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
goto :goto_0
:cond_0
return-wide v0
.end method
.method private static final sumOfInt(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)I
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"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
const/4 v0, 0x0
move v1, v0
.line 2150
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v2
if-ge v0, v2, :cond_0
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
.line 2151
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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;->intValue()I
move-result v2
add-int/2addr v1, v2
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_0
return v1
.end method
.method private static final sumOfLong(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)J
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"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
const-wide/16 v0, 0x0
const/4 v2, 0x0
.line 2166
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v3
if-ge v2, v3, :cond_0
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v3
.line 2167
invoke-static {v3}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v3
invoke-interface {p1, v3}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)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
add-long/2addr v0, v3
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_0
return-wide v0
.end method
.method private static final sumOfUInt(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)I
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"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 2182
invoke-static {v0}, Lkotlin/UInt;->constructor-impl(I)I
move-result v1
.line 2183
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v2
if-ge v0, v2, :cond_0
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
.line 2184
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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, Lkotlin/UInt;
invoke-virtual {v2}, Lkotlin/UInt;->unbox-impl()I
move-result v2
add-int/2addr v1, v2
invoke-static {v1}, Lkotlin/UInt;->constructor-impl(I)I
move-result v1
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_0
return v1
.end method
.method private static final sumOfULong(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)J
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"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 2199
invoke-static {v0, v1}, Lkotlin/ULong;->constructor-impl(J)J
move-result-wide v0
const/4 v2, 0x0
.line 2200
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v3
if-ge v2, v3, :cond_0
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v3
.line 2201
invoke-static {v3}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v3
invoke-interface {p1, v3}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v3
check-cast v3, Lkotlin/ULong;
invoke-virtual {v3}, Lkotlin/ULong;->unbox-impl()J
move-result-wide v3
add-long/2addr v0, v3
invoke-static {v0, v1}, Lkotlin/ULong;->constructor-impl(J)J
move-result-wide v0
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_0
return-wide v0
.end method
.method public static final take(Ljava/lang/CharSequence;I)Ljava/lang/CharSequence;
.locals 1
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
if-ltz p1, :cond_0
.line 555
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
invoke-static {p1, v0}, Lkotlin/ranges/RangesKt;->coerceAtMost(II)I
move-result p1
const/4 v0, 0x0
invoke-interface {p0, v0, p1}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
move-result-object p0
return-object p0
.line 554
:cond_0
new-instance p0, Ljava/lang/StringBuilder;
const-string v0, "Requested character 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 take(Ljava/lang/String;I)Ljava/lang/String;
.locals 1
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
if-ltz p1, :cond_0
.line 567
invoke-virtual {p0}, Ljava/lang/String;->length()I
move-result v0
invoke-static {p1, v0}, Lkotlin/ranges/RangesKt;->coerceAtMost(II)I
move-result p1
const/4 v0, 0x0
invoke-virtual {p0, v0, p1}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object p0
const-string p1, "substring(...)"
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.line 566
:cond_0
new-instance p0, Ljava/lang/StringBuilder;
const-string v0, "Requested character 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 takeLast(Ljava/lang/CharSequence;I)Ljava/lang/CharSequence;
.locals 1
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
if-ltz p1, :cond_0
.line 579
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
.line 580
invoke-static {p1, v0}, Lkotlin/ranges/RangesKt;->coerceAtMost(II)I
move-result p1
sub-int p1, v0, p1
invoke-interface {p0, p1, v0}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
move-result-object p0
return-object p0
.line 578
:cond_0
new-instance p0, Ljava/lang/StringBuilder;
const-string v0, "Requested character 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 takeLast(Ljava/lang/String;I)Ljava/lang/String;
.locals 1
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
if-ltz p1, :cond_0
.line 592
invoke-virtual {p0}, Ljava/lang/String;->length()I
move-result v0
.line 593
invoke-static {p1, v0}, Lkotlin/ranges/RangesKt;->coerceAtMost(II)I
move-result p1
sub-int/2addr v0, p1
invoke-virtual {p0, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;
move-result-object p0
const-string p1, "substring(...)"
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.line 591
:cond_0
new-instance p0, Ljava/lang/StringBuilder;
const-string v0, "Requested character 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 takeLastWhile(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/CharSequence;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Boolean;",
">;)",
"Ljava/lang/CharSequence;"
}
.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 602
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v0
:goto_0
const/4 v1, -0x1
if-ge v1, v0, :cond_1
.line 603
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v1
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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/Boolean;
invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z
move-result v1
if-nez v1, :cond_0
add-int/lit8 v0, v0, 0x1
.line 604
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result p1
invoke-interface {p0, v0, p1}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
move-result-object p0
return-object p0
:cond_0
add-int/lit8 v0, v0, -0x1
goto :goto_0
:cond_1
const/4 p1, 0x0
.line 607
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
invoke-interface {p0, p1, v0}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
move-result-object p0
return-object p0
.end method
.method public static final takeLastWhile(Ljava/lang/String;Lkotlin/jvm/functions/Function1;)Ljava/lang/String;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Boolean;",
">;)",
"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, "predicate"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 616
move-object v0, p0
check-cast v0, Ljava/lang/CharSequence;
invoke-static {v0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
move-result v0
:goto_0
const/4 v1, -0x1
if-ge v1, v0, :cond_1
.line 617
invoke-virtual {p0, v0}, Ljava/lang/String;->charAt(I)C
move-result v1
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
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/Boolean;
invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z
move-result v1
if-nez v1, :cond_0
add-int/lit8 v0, v0, 0x1
.line 618
invoke-virtual {p0, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;
move-result-object p0
const-string p1, "substring(...)"
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
:cond_0
add-int/lit8 v0, v0, -0x1
goto :goto_0
:cond_1
return-object p0
.end method
.method public static final takeWhile(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/CharSequence;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Boolean;",
">;)",
"Ljava/lang/CharSequence;"
}
.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 630
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
const/4 v1, 0x0
move v2, v1
:goto_0
if-ge v2, v0, :cond_1
.line 631
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v3
invoke-static {v3}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v3
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-nez v3, :cond_0
.line 632
invoke-interface {p0, v1, v2}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
move-result-object p0
return-object p0
:cond_0
add-int/lit8 v2, v2, 0x1
goto :goto_0
.line 634
:cond_1
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result p1
invoke-interface {p0, v1, p1}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
move-result-object p0
return-object p0
.end method
.method public static final takeWhile(Ljava/lang/String;Lkotlin/jvm/functions/Function1;)Ljava/lang/String;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Character;",
"Ljava/lang/Boolean;",
">;)",
"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, "predicate"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 643
invoke-virtual {p0}, Ljava/lang/String;->length()I
move-result v0
const/4 v1, 0x0
move v2, v1
:goto_0
if-ge v2, v0, :cond_1
.line 644
invoke-virtual {p0, v2}, Ljava/lang/String;->charAt(I)C
move-result v3
invoke-static {v3}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v3
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-nez v3, :cond_0
.line 645
invoke-virtual {p0, v1, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object p0
const-string p1, "substring(...)"
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
:cond_0
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_1
return-object p0
.end method
.method public static final toCollection(Ljava/lang/CharSequence;Ljava/util/Collection;)Ljava/util/Collection;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<C::",
"Ljava/util/Collection<",
"-",
"Ljava/lang/Character;",
">;>(",
"Ljava/lang/CharSequence;",
"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
const/4 v0, 0x0
.line 792
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
if-ge v0, v1, :cond_0
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result v1
.line 793
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v1
invoke-interface {p1, v1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_0
return-object p1
.end method
.method public static final toHashSet(Ljava/lang/CharSequence;)Ljava/util/HashSet;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
")",
"Ljava/util/HashSet<",
"Ljava/lang/Character;",
">;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 802
new-instance v0, Ljava/util/HashSet;
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
const/16 v2, 0x80
invoke-static {v1, v2}, Lkotlin/ranges/RangesKt;->coerceAtMost(II)I
move-result v1
invoke-static {v1}, Lkotlin/collections/MapsKt;->mapCapacity(I)I
move-result v1
invoke-direct {v0, v1}, Ljava/util/HashSet;-><init>(I)V
check-cast v0, Ljava/util/Collection;
invoke-static {p0, v0}, Lkotlin/text/StringsKt;->toCollection(Ljava/lang/CharSequence;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(Ljava/lang/CharSequence;)Ljava/util/List;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
")",
"Ljava/util/List<",
"Ljava/lang/Character;",
">;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 809
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-eqz v0, :cond_1
const/4 v1, 0x1
if-eq v0, v1, :cond_0
.line 812
invoke-static {p0}, Lkotlin/text/StringsKt;->toMutableList(Ljava/lang/CharSequence;)Ljava/util/List;
move-result-object p0
goto :goto_0
:cond_0
const/4 v0, 0x0
.line 811
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result p0
invoke-static {p0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object p0
invoke-static {p0}, Lkotlin/collections/CollectionsKt;->listOf(Ljava/lang/Object;)Ljava/util/List;
move-result-object p0
goto :goto_0
.line 810
:cond_1
invoke-static {}, Lkotlin/collections/CollectionsKt;->emptyList()Ljava/util/List;
move-result-object p0
:goto_0
return-object p0
.end method
.method public static final toMutableList(Ljava/lang/CharSequence;)Ljava/util/List;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
")",
"Ljava/util/List<",
"Ljava/lang/Character;",
">;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 820
new-instance v0, Ljava/util/ArrayList;
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
check-cast v0, Ljava/util/Collection;
invoke-static {p0, v0}, Lkotlin/text/StringsKt;->toCollection(Ljava/lang/CharSequence;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 toSet(Ljava/lang/CharSequence;)Ljava/util/Set;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
")",
"Ljava/util/Set<",
"Ljava/lang/Character;",
">;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 829
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-eqz v0, :cond_1
const/4 v1, 0x1
if-eq v0, v1, :cond_0
.line 832
new-instance v0, Ljava/util/LinkedHashSet;
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v1
const/16 v2, 0x80
invoke-static {v1, v2}, Lkotlin/ranges/RangesKt;->coerceAtMost(II)I
move-result v1
invoke-static {v1}, Lkotlin/collections/MapsKt;->mapCapacity(I)I
move-result v1
invoke-direct {v0, v1}, Ljava/util/LinkedHashSet;-><init>(I)V
check-cast v0, Ljava/util/Collection;
invoke-static {p0, v0}, Lkotlin/text/StringsKt;->toCollection(Ljava/lang/CharSequence;Ljava/util/Collection;)Ljava/util/Collection;
move-result-object p0
check-cast p0, Ljava/util/Set;
goto :goto_0
:cond_0
const/4 v0, 0x0
.line 831
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
move-result p0
invoke-static {p0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object p0
invoke-static {p0}, Lkotlin/collections/SetsKt;->setOf(Ljava/lang/Object;)Ljava/util/Set;
move-result-object p0
goto :goto_0
.line 830
:cond_1
invoke-static {}, Lkotlin/collections/SetsKt;->emptySet()Ljava/util/Set;
move-result-object p0
:goto_0
return-object p0
.end method
.method public static final windowed(Ljava/lang/CharSequence;IIZ)Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"IIZ)",
"Ljava/util/List<",
"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
.line 2329
sget-object v0, Lkotlin/text/StringsKt___StringsKt$windowed$1;->INSTANCE:Lkotlin/text/StringsKt___StringsKt$windowed$1;
check-cast v0, Lkotlin/jvm/functions/Function1;
invoke-static {p0, p1, p2, p3, v0}, Lkotlin/text/StringsKt;->windowed(Ljava/lang/CharSequence;IIZLkotlin/jvm/functions/Function1;)Ljava/util/List;
move-result-object p0
return-object p0
.end method
.method public static final windowed(Ljava/lang/CharSequence;IIZLkotlin/jvm/functions/Function1;)Ljava/util/List;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"IIZ",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/CharSequence;",
"+TR;>;)",
"Ljava/util/List<",
"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
.line 2351
invoke-static {p1, p2}, Lkotlin/collections/SlidingWindowKt;->checkWindowSizeStep(II)V
.line 2352
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
.line 2353
div-int v1, v0, p2
rem-int v2, v0, p2
const/4 v3, 0x0
if-nez v2, :cond_0
move v2, v3
goto :goto_0
:cond_0
const/4 v2, 0x1
:goto_0
add-int/2addr v1, v2
.line 2354
new-instance v2, Ljava/util/ArrayList;
invoke-direct {v2, v1}, Ljava/util/ArrayList;-><init>(I)V
:goto_1
if-ltz v3, :cond_3
if-ge v3, v0, :cond_3
add-int v1, v3, p1
if-ltz v1, :cond_1
if-le v1, v0, :cond_2
:cond_1
if-eqz p3, :cond_3
move v1, v0
.line 2359
:cond_2
invoke-interface {p0, v3, v1}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
move-result-object v1
invoke-interface {p4, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
invoke-virtual {v2, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
add-int/2addr v3, p2
goto :goto_1
.line 2362
:cond_3
check-cast v2, Ljava/util/List;
return-object v2
.end method
.method public static synthetic windowed$default(Ljava/lang/CharSequence;IIZILjava/lang/Object;)Ljava/util/List;
.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 2328
:cond_1
invoke-static {p0, p1, p2, p3}, Lkotlin/text/StringsKt;->windowed(Ljava/lang/CharSequence;IIZ)Ljava/util/List;
move-result-object p0
return-object p0
.end method
.method public static synthetic windowed$default(Ljava/lang/CharSequence;IIZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ljava/util/List;
.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 2350
:cond_1
invoke-static {p0, p1, p2, p3, p4}, Lkotlin/text/StringsKt;->windowed(Ljava/lang/CharSequence;IIZLkotlin/jvm/functions/Function1;)Ljava/util/List;
move-result-object p0
return-object p0
.end method
.method public static final windowedSequence(Ljava/lang/CharSequence;IIZ)Lkotlin/sequences/Sequence;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"IIZ)",
"Lkotlin/sequences/Sequence<",
"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
.line 2382
sget-object v0, Lkotlin/text/StringsKt___StringsKt$windowedSequence$1;->INSTANCE:Lkotlin/text/StringsKt___StringsKt$windowedSequence$1;
check-cast v0, Lkotlin/jvm/functions/Function1;
invoke-static {p0, p1, p2, p3, v0}, Lkotlin/text/StringsKt;->windowedSequence(Ljava/lang/CharSequence;IIZLkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
move-result-object p0
return-object p0
.end method
.method public static final windowedSequence(Ljava/lang/CharSequence;IIZLkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"IIZ",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/CharSequence;",
"+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
.line 2404
invoke-static {p1, p2}, Lkotlin/collections/SlidingWindowKt;->checkWindowSizeStep(II)V
if-eqz p3, :cond_0
.line 2405
invoke-static {p0}, Lkotlin/text/StringsKt;->getIndices(Ljava/lang/CharSequence;)Lkotlin/ranges/IntRange;
move-result-object p3
goto :goto_0
:cond_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result p3
sub-int/2addr p3, p1
add-int/lit8 p3, p3, 0x1
const/4 v0, 0x0
invoke-static {v0, p3}, Lkotlin/ranges/RangesKt;->until(II)Lkotlin/ranges/IntRange;
move-result-object p3
:goto_0
check-cast p3, Lkotlin/ranges/IntProgression;
invoke-static {p3, p2}, Lkotlin/ranges/RangesKt;->step(Lkotlin/ranges/IntProgression;I)Lkotlin/ranges/IntProgression;
move-result-object p2
.line 2406
check-cast p2, Ljava/lang/Iterable;
invoke-static {p2}, Lkotlin/collections/CollectionsKt;->asSequence(Ljava/lang/Iterable;)Lkotlin/sequences/Sequence;
move-result-object p2
new-instance p3, Lkotlin/text/StringsKt___StringsKt$windowedSequence$2;
invoke-direct {p3, p1, p0, p4}, Lkotlin/text/StringsKt___StringsKt$windowedSequence$2;-><init>(ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)V
check-cast p3, Lkotlin/jvm/functions/Function1;
invoke-static {p2, p3}, 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 windowedSequence$default(Ljava/lang/CharSequence;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 2381
:cond_1
invoke-static {p0, p1, p2, p3}, Lkotlin/text/StringsKt;->windowedSequence(Ljava/lang/CharSequence;IIZ)Lkotlin/sequences/Sequence;
move-result-object p0
return-object p0
.end method
.method public static synthetic windowedSequence$default(Ljava/lang/CharSequence;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 2403
:cond_1
invoke-static {p0, p1, p2, p3, p4}, Lkotlin/text/StringsKt;->windowedSequence(Ljava/lang/CharSequence;IIZLkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
move-result-object p0
return-object p0
.end method
.method public static final withIndex(Ljava/lang/CharSequence;)Ljava/lang/Iterable;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
")",
"Ljava/lang/Iterable<",
"Lkotlin/collections/IndexedValue<",
"Ljava/lang/Character;",
">;>;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 1051
new-instance v0, Lkotlin/collections/IndexingIterable;
new-instance v1, Lkotlin/text/StringsKt___StringsKt$withIndex$1;
invoke-direct {v1, p0}, Lkotlin/text/StringsKt___StringsKt$withIndex$1;-><init>(Ljava/lang/CharSequence;)V
check-cast v1, Lkotlin/jvm/functions/Function0;
invoke-direct {v0, v1}, Lkotlin/collections/IndexingIterable;-><init>(Lkotlin/jvm/functions/Function0;)V
check-cast v0, Ljava/lang/Iterable;
return-object v0
.end method
.method public static final zip(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/util/List;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"Ljava/lang/CharSequence;",
")",
"Ljava/util/List<",
"Lkotlin/Pair<",
"Ljava/lang/Character;",
"Ljava/lang/Character;",
">;>;"
}
.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 2631
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
move-result v1
invoke-static {v0, v1}, Ljava/lang/Math;->min(II)I
move-result v0
.line 2632
new-instance v1, Ljava/util/ArrayList;
invoke-direct {v1, v0}, Ljava/util/ArrayList;-><init>(I)V
const/4 v2, 0x0
:goto_0
if-ge v2, v0, :cond_0
.line 2634
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v3
invoke-interface {p1, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v4
.line 2420
invoke-static {v3}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v3
invoke-static {v4}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v4
invoke-static {v3, v4}, Lkotlin/TuplesKt;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
move-result-object v3
.line 2634
invoke-virtual {v1, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
add-int/lit8 v2, v2, 0x1
goto :goto_0
.line 2636
:cond_0
check-cast v1, Ljava/util/List;
return-object v1
.end method
.method public static final zip(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function2;)Ljava/util/List;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"<V:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function2<",
"-",
"Ljava/lang/Character;",
"-",
"Ljava/lang/Character;",
"+TV;>;)",
"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, "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 2431
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
move-result v1
invoke-static {v0, v1}, Ljava/lang/Math;->min(II)I
move-result v0
.line 2432
new-instance v1, Ljava/util/ArrayList;
invoke-direct {v1, v0}, Ljava/util/ArrayList;-><init>(I)V
const/4 v2, 0x0
:goto_0
if-ge v2, v0, :cond_0
.line 2434
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v3
invoke-static {v3}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v3
invoke-interface {p1, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v4
invoke-static {v4}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v4
invoke-interface {p2, v3, v4}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v3
invoke-virtual {v1, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
add-int/lit8 v2, v2, 0x1
goto :goto_0
.line 2436
:cond_0
check-cast v1, Ljava/util/List;
return-object v1
.end method
.method public static final zipWithNext(Ljava/lang/CharSequence;)Ljava/util/List;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
")",
"Ljava/util/List<",
"Lkotlin/Pair<",
"Ljava/lang/Character;",
"Ljava/lang/Character;",
">;>;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 2637
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
const/4 v1, 0x1
sub-int/2addr v0, v1
if-ge v0, v1, :cond_0
.line 2638
invoke-static {}, Lkotlin/collections/CollectionsKt;->emptyList()Ljava/util/List;
move-result-object p0
goto :goto_1
.line 2639
:cond_0
new-instance v1, Ljava/util/ArrayList;
invoke-direct {v1, v0}, Ljava/util/ArrayList;-><init>(I)V
const/4 v2, 0x0
:goto_0
if-ge v2, v0, :cond_1
.line 2641
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v3
add-int/lit8 v2, v2, 0x1
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v4
.line 2448
invoke-static {v3}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v3
invoke-static {v4}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v4
invoke-static {v3, v4}, Lkotlin/TuplesKt;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
move-result-object v3
.line 2641
invoke-virtual {v1, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
goto :goto_0
.line 2643
:cond_1
move-object p0, v1
check-cast p0, Ljava/util/List;
:goto_1
return-object p0
.end method
.method public static final zipWithNext(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function2;)Ljava/util/List;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function2<",
"-",
"Ljava/lang/Character;",
"-",
"Ljava/lang/Character;",
"+TR;>;)",
"Ljava/util/List<",
"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 2461
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
const/4 v1, 0x1
sub-int/2addr v0, v1
if-ge v0, v1, :cond_0
.line 2462
invoke-static {}, Lkotlin/collections/CollectionsKt;->emptyList()Ljava/util/List;
move-result-object p0
return-object p0
.line 2463
:cond_0
new-instance v1, Ljava/util/ArrayList;
invoke-direct {v1, v0}, Ljava/util/ArrayList;-><init>(I)V
const/4 v2, 0x0
:goto_0
if-ge v2, v0, :cond_1
.line 2465
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v3
invoke-static {v3}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v3
add-int/lit8 v2, v2, 0x1
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v4
invoke-static {v4}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
move-result-object v4
invoke-interface {p1, v3, v4}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v3
invoke-virtual {v1, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
goto :goto_0
.line 2467
:cond_1
check-cast v1, Ljava/util/List;
return-object v1
.end method