Add decompiled APK source code (JADX)

- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
package kotlin.text;
import java.util.NoSuchElementException;
import kotlin.jvm.internal.Intrinsics;
import kotlin.ranges.RangesKt___RangesKt;
/* loaded from: classes5.dex */
public abstract class StringsKt___StringsKt extends StringsKt___StringsJvmKt {
public static char last(CharSequence charSequence) {
Intrinsics.checkNotNullParameter(charSequence, "<this>");
if (charSequence.length() == 0) {
throw new NoSuchElementException("Char sequence is empty.");
}
return charSequence.charAt(StringsKt__StringsKt.getLastIndex(charSequence));
}
public static final String drop(String str, int i) {
int coerceAtMost;
Intrinsics.checkNotNullParameter(str, "<this>");
if (i < 0) {
throw new IllegalArgumentException(("Requested character count " + i + " is less than zero.").toString());
}
coerceAtMost = RangesKt___RangesKt.coerceAtMost(i, str.length());
String substring = str.substring(coerceAtMost);
Intrinsics.checkNotNullExpressionValue(substring, "substring(...)");
return substring;
}
public static String take(String str, int i) {
int coerceAtMost;
Intrinsics.checkNotNullParameter(str, "<this>");
if (i < 0) {
throw new IllegalArgumentException(("Requested character count " + i + " is less than zero.").toString());
}
coerceAtMost = RangesKt___RangesKt.coerceAtMost(i, str.length());
String substring = str.substring(0, coerceAtMost);
Intrinsics.checkNotNullExpressionValue(substring, "substring(...)");
return substring;
}
}