Lines Matching defs:radix

125      * The minimum radix available for conversion to and from strings.
127 * for the radix argument in radix-conversion methods such as the
139 * The maximum radix available for conversion to and from strings.
141 * for the radix argument in radix-conversion methods such as the
6272 * specified radix.
6274 * If the radix is not in the range {@code MIN_RADIX} ≤
6275 * {@code radix} ≤ {@code MAX_RADIX} or if the
6277 * radix, {@code -1} is returned. A character is a valid digit
6282 * single-character decomposition) is less than the specified radix.
6286 * {@code radix + 'A' - 10}.
6291 * {@code radix + 'a' - 10}.
6297 * {@code radix + '\u005CuFF21' - 10}.
6303 * {@code radix + '\u005CuFF41' - 10}.
6314 * @param radix the radix.
6316 * specified radix.
6320 public static int digit(char ch, int radix) {
6321 return digit((int)ch, radix);
6326 * code point) in the specified radix.
6328 * <p>If the radix is not in the range {@code MIN_RADIX} &le;
6329 * {@code radix} &le; {@code MAX_RADIX} or if the
6331 * radix, {@code -1} is returned. A character is a valid digit
6336 * single-character decomposition) is less than the specified radix.
6340 * {@code radix + 'A' - 10}.
6345 * {@code radix + 'a' - 10}.
6351 * {@code radix + '\u005CuFF21' - 10}.
6358 * {@code radix + '\u005CuFF41'- 10}.
6365 * @param radix the radix.
6367 * specified radix.
6372 public static int digit(int codePoint, int radix) {
6373 return CharacterData.of(codePoint).digit(codePoint, radix);
6739 * the specified radix. If the value of {@code radix} is not a
6740 * valid radix, or the value of {@code digit} is not a valid
6741 * digit in the specified radix, the null character
6744 * The {@code radix} argument is valid if it is greater than or
6747 * {@code 0 <= digit < radix}.
6754 * @param radix the radix.
6756 * in the specified radix.
6761 public static char forDigit(int digit, int radix) {
6762 if ((digit >= radix) || (digit < 0)) {
6765 if ((radix < Character.MIN_RADIX) || (radix > Character.MAX_RADIX)) {