Home | History | Annotate | Download | only in lang

Lines Matching defs:DIGIT

79  *      values '10' - '35'. UCharacter also does this in digit and
133 * - digit: isDigit(c) or getType(c)==DECIMAL_DIGIT_NUMBER
3542 public static final int DIGIT = 2;
3725 * Returnss the numeric value of a decimal digit code point.
3727 * <code>java.lang.Character.digit()</code>. Note that this
3732 * digit value, and also treated numeric letters and other numbers as
3735 * <br>A code point is a valid digit if and only if:
3737 * <li>ch is a decimal digit or one of the european letters, and
3743 * specified radix, or -1 if the code point is not a decimal digit
3747 public static int digit(int ch, int radix)
3750 int value = digit(ch);
3752 // ch is not a decimal digit, try latin letters
3762 * Returnss the numeric value of a decimal digit code point.
3763 * <br>This is a convenience overload of <code>digit(int, int)</code>
3770 * or -1 if the code point is not a decimal digit or if its
3774 public static int digit(int ch)
3776 return UCharacterProperty.INSTANCE.digit(ch);
3872 * Determines if a code point is a Java digit.
3880 * @return true if this code point is a digit
3923 * Determines if the specified code point is a letter or digit.
3926 * @param ch code point to determine if it is a letter or a digit
3927 * @return true if code point is a letter or a digit
5748 public static char forDigit(int digit, int radix) {
5749 return java.lang.Character.forDigit(digit, radix);
6372 * Han digit characters