- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
22 lines
609 B
Java
22 lines
609 B
Java
package kotlin.text;
|
|
|
|
import kotlin.ranges.IntRange;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public abstract class CharsKt__CharJVMKt {
|
|
public static final boolean isWhitespace(char c) {
|
|
return Character.isWhitespace(c) || Character.isSpaceChar(c);
|
|
}
|
|
|
|
public static final int digitOf(char c, int i) {
|
|
return Character.digit((int) c, i);
|
|
}
|
|
|
|
public static final int checkRadix(int i) {
|
|
if (new IntRange(2, 36).contains(i)) {
|
|
return i;
|
|
}
|
|
throw new IllegalArgumentException("radix " + i + " was not in valid range " + new IntRange(2, 36));
|
|
}
|
|
}
|