mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-26 09:02:34 -06:00
674 lines
20 KiB
Smali
674 lines
20 KiB
Smali
.class Lkotlin/text/StringsKt___StringsJvmKt;
|
|
.super Lkotlin/text/StringsKt__StringsKt;
|
|
.source "_StringsJvm.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/SourceDebugExtension;
|
|
value = "SMAP\n_StringsJvm.kt\nKotlin\n*S Kotlin\n*F\n+ 1 _StringsJvm.kt\nkotlin/text/StringsKt___StringsJvmKt\n+ 2 _Strings.kt\nkotlin/text/StringsKt___StringsKt\n*L\n1#1,108:1\n1239#2,14:109\n1521#2,14:123\n*S KotlinDebug\n*F\n+ 1 _StringsJvm.kt\nkotlin/text/StringsKt___StringsJvmKt\n*L\n45#1:109,14\n66#1:123,14\n*E\n"
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
d1 = {
|
|
"\u0000B\n\u0000\n\u0002\u0010\u000c\n\u0002\u0010\r\n\u0000\n\u0002\u0010\u0008\n\u0002\u0008\u0004\n\u0002\u0010\u000f\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0005\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\u001a\u0015\u0010\u0000\u001a\u00020\u0001*\u00020\u00022\u0006\u0010\u0003\u001a\u00020\u0004H\u0087\u0008\u001a\u0013\u0010\u0005\u001a\u0004\u0018\u00010\u0001*\u00020\u0002H\u0007\u00a2\u0006\u0002\u0010\u0006\u001a;\u0010\u0007\u001a\u0004\u0018\u00010\u0001\"\u000e\u0008\u0000\u0010\u0008*\u0008\u0012\u0004\u0012\u0002H\u00080\t*\u00020\u00022\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002H\u00080\u000bH\u0087\u0008\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u000c\u001a/\u0010\r\u001a\u0004\u0018\u00010\u0001*\u00020\u00022\u001a\u0010\u000e\u001a\u0016\u0012\u0006\u0008\u0000\u0012\u00020\u00010\u000fj\n\u0012\u0006\u0008\u0000\u0012\u00020\u0001`\u0010H\u0007\u00a2\u0006\u0002\u0010\u0011\u001a\u0013\u0010\u0012\u001a\u0004\u0018\u00010\u0001*\u00020\u0002H\u0007\u00a2\u0006\u0002\u0010\u0006\u001a;\u0010\u0013\u001a\u0004\u0018\u00010\u0001\"\u000e\u0008\u0000\u0010\u0008*\u0008\u0012\u0004\u0012\u0002H\u00080\t*\u00020\u00022\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u0002H\u00080\u000bH\u0087\u0008\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u000c\u001a/\u0010\u0014\u001a\u0004\u0018\u00010\u0001*\u00020\u00022\u001a\u0010\u000e\u001a\u0016\u0012\u0006\u0008\u0000\u0012\u00020\u00010\u000fj\n\u0012\u0006\u0008\u0000\u0012\u00020\u0001`\u0010H\u0007\u00a2\u0006\u0002\u0010\u0011\u001a)\u0010\u0015\u001a\u00020\u0016*\u00020\u00022\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u00160\u000bH\u0087\u0008\u00f8\u0001\u0000\u00a2\u0006\u0002\u0008\u0017\u001a)\u0010\u0015\u001a\u00020\u0018*\u00020\u00022\u0012\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u00180\u000bH\u0087\u0008\u00f8\u0001\u0000\u00a2\u0006\u0002\u0008\u0019\u001a\u0010\u0010\u001a\u001a\u0008\u0012\u0004\u0012\u00020\u00010\u001b*\u00020\u0002\u0082\u0002\u0007\n\u0005\u0008\u009920\u0001\u00a8\u0006\u001c"
|
|
}
|
|
d2 = {
|
|
"elementAt",
|
|
"",
|
|
"",
|
|
"index",
|
|
"",
|
|
"max",
|
|
"(Ljava/lang/CharSequence;)Ljava/lang/Character;",
|
|
"maxBy",
|
|
"R",
|
|
"",
|
|
"selector",
|
|
"Lkotlin/Function1;",
|
|
"(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Character;",
|
|
"maxWith",
|
|
"comparator",
|
|
"Ljava/util/Comparator;",
|
|
"Lkotlin/Comparator;",
|
|
"(Ljava/lang/CharSequence;Ljava/util/Comparator;)Ljava/lang/Character;",
|
|
"min",
|
|
"minBy",
|
|
"minWith",
|
|
"sumOf",
|
|
"Ljava/math/BigDecimal;",
|
|
"sumOfBigDecimal",
|
|
"Ljava/math/BigInteger;",
|
|
"sumOfBigInteger",
|
|
"toSortedSet",
|
|
"Ljava/util/SortedSet;",
|
|
"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__StringsKt;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private static final elementAt(Ljava/lang/CharSequence;I)C
|
|
.locals 1
|
|
|
|
const-string v0, "<this>"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 24
|
|
invoke-interface {p0, p1}, Ljava/lang/CharSequence;->charAt(I)C
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final synthetic max(Ljava/lang/CharSequence;)Ljava/lang/Character;
|
|
.locals 1
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
message = "Use maxOrNull instead."
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "this.maxOrNull()"
|
|
imports = {}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
|
|
errorSince = "1.5"
|
|
hiddenSince = "1.6"
|
|
warningSince = "1.4"
|
|
.end annotation
|
|
|
|
const-string v0, "<this>"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 38
|
|
invoke-static {p0}, Lkotlin/text/StringsKt;->maxOrNull(Ljava/lang/CharSequence;)Ljava/lang/Character;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final synthetic maxBy(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
|
|
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
message = "Use maxByOrNull instead."
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "this.maxByOrNull(selector)"
|
|
imports = {}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
|
|
errorSince = "1.5"
|
|
hiddenSince = "1.6"
|
|
warningSince = "1.4"
|
|
.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 109
|
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 110
|
|
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
|
|
|
|
move-result v0
|
|
|
|
.line 111
|
|
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
.line 112
|
|
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
|
|
|
|
move-result-object p0
|
|
|
|
goto :goto_1
|
|
|
|
.line 113
|
|
: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 114
|
|
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 115
|
|
invoke-interface {p0, v3}, Ljava/lang/CharSequence;->charAt(I)C
|
|
|
|
move-result v3
|
|
|
|
.line 116
|
|
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 117
|
|
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 122
|
|
:cond_3
|
|
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
|
|
|
|
move-result-object p0
|
|
|
|
:goto_1
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final synthetic maxWith(Ljava/lang/CharSequence;Ljava/util/Comparator;)Ljava/lang/Character;
|
|
.locals 1
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
message = "Use maxWithOrNull instead."
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "this.maxWithOrNull(comparator)"
|
|
imports = {}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
|
|
errorSince = "1.5"
|
|
hiddenSince = "1.6"
|
|
warningSince = "1.4"
|
|
.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 52
|
|
invoke-static {p0, p1}, Lkotlin/text/StringsKt;->maxWithOrNull(Ljava/lang/CharSequence;Ljava/util/Comparator;)Ljava/lang/Character;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final synthetic min(Ljava/lang/CharSequence;)Ljava/lang/Character;
|
|
.locals 1
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
message = "Use minOrNull instead."
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "this.minOrNull()"
|
|
imports = {}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
|
|
errorSince = "1.5"
|
|
hiddenSince = "1.6"
|
|
warningSince = "1.4"
|
|
.end annotation
|
|
|
|
const-string v0, "<this>"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 59
|
|
invoke-static {p0}, Lkotlin/text/StringsKt;->minOrNull(Ljava/lang/CharSequence;)Ljava/lang/Character;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final synthetic minBy(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
|
|
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
message = "Use minByOrNull instead."
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "this.minByOrNull(selector)"
|
|
imports = {}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
|
|
errorSince = "1.5"
|
|
hiddenSince = "1.6"
|
|
warningSince = "1.4"
|
|
.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 123
|
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 124
|
|
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
|
|
|
|
move-result v0
|
|
|
|
.line 125
|
|
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
.line 126
|
|
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
|
|
|
|
move-result-object p0
|
|
|
|
goto :goto_1
|
|
|
|
.line 127
|
|
: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 128
|
|
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 129
|
|
invoke-interface {p0, v3}, Ljava/lang/CharSequence;->charAt(I)C
|
|
|
|
move-result v3
|
|
|
|
.line 130
|
|
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 131
|
|
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 136
|
|
:cond_3
|
|
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
|
|
|
|
move-result-object p0
|
|
|
|
:goto_1
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final synthetic minWith(Ljava/lang/CharSequence;Ljava/util/Comparator;)Ljava/lang/Character;
|
|
.locals 1
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
message = "Use minWithOrNull instead."
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "this.minWithOrNull(comparator)"
|
|
imports = {}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
|
|
errorSince = "1.5"
|
|
hiddenSince = "1.6"
|
|
warningSince = "1.4"
|
|
.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 73
|
|
invoke-static {p0, p1}, Lkotlin/text/StringsKt;->minWithOrNull(Ljava/lang/CharSequence;Ljava/util/Comparator;)Ljava/lang/Character;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static final sumOfBigDecimal(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/math/BigDecimal;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/CharSequence;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Ljava/lang/Character;",
|
|
"+",
|
|
"Ljava/math/BigDecimal;",
|
|
">;)",
|
|
"Ljava/math/BigDecimal;"
|
|
}
|
|
.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 85
|
|
invoke-static {v0, v1}, Ljava/math/BigDecimal;->valueOf(J)Ljava/math/BigDecimal;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "valueOf(...)"
|
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 86
|
|
: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 87
|
|
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/math/BigDecimal;
|
|
|
|
invoke-virtual {v0, v2}, Ljava/math/BigDecimal;->add(Ljava/math/BigDecimal;)Ljava/math/BigDecimal;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v2, "add(...)"
|
|
|
|
invoke-static {v0, v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private static final sumOfBigInteger(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/math/BigInteger;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/CharSequence;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Ljava/lang/Character;",
|
|
"+",
|
|
"Ljava/math/BigInteger;",
|
|
">;)",
|
|
"Ljava/math/BigInteger;"
|
|
}
|
|
.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 101
|
|
invoke-static {v0, v1}, Ljava/math/BigInteger;->valueOf(J)Ljava/math/BigInteger;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "valueOf(...)"
|
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 102
|
|
: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 103
|
|
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/math/BigInteger;
|
|
|
|
invoke-virtual {v0, v2}, Ljava/math/BigInteger;->add(Ljava/math/BigInteger;)Ljava/math/BigInteger;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v2, "add(...)"
|
|
|
|
invoke-static {v0, v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final toSortedSet(Ljava/lang/CharSequence;)Ljava/util/SortedSet;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/CharSequence;",
|
|
")",
|
|
"Ljava/util/SortedSet<",
|
|
"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 31
|
|
new-instance v0, Ljava/util/TreeSet;
|
|
|
|
invoke-direct {v0}, Ljava/util/TreeSet;-><init>()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/SortedSet;
|
|
|
|
return-object p0
|
|
.end method
|