Class Chars


  • @InternalApi
    public final class Chars
    extends Object
    Consider this class private.
    Since:
    2.3
    • Method Detail

      • getUpperCaseHex

        public static char getUpperCaseHex​(int digit)
        Converts a digit into an upper-case hexadecimal character or the null character if invalid.
        Parameters:
        digit - a number 0 - 15
        Returns:
        the hex character for that digit or '\0' if invalid
        Since:
        2.8.2
      • getLowerCaseHex

        public static char getLowerCaseHex​(int digit)
        Converts a digit into an lower-case hexadecimal character or the null character if invalid.
        Parameters:
        digit - a number 0 - 15
        Returns:
        the hex character for that digit or '\0' if invalid
        Since:
        2.8.2