public class TextUtils extends Object
| Constructor and Description |
|---|
TextUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
digitValue(char c)
Interpret a character as a digit (in any base up to 36) and return the
numeric value.
|
static boolean |
isDigits(String text) |
static boolean |
isHex(char c)
Is this a hex digit?
|
static boolean |
isOctal(char c)
Is this an octal digit?
|
static String |
unsignedToString(int value)
Convert an unsigned 32-bit integer to a string.
|
static String |
unsignedToString(long value)
Convert an unsigned 64-bit integer to a string.
|
public static String unsignedToString(long value)
public static String unsignedToString(int value)
public static boolean isHex(char c)
public static boolean isOctal(char c)
public static int digitValue(char c)
Character.digit() but we don't accept
non-ASCII digits.public static boolean isDigits(String text)
Copyright © 2022. All rights reserved.