Determine whether the character represents a valid digit in a given base.
Determine whether the character represents a valid digit in a given base.
the radix
true if the character is a valid digit in the
indicated radix, false if not.
Determine whether the character represents a valid hexadecimal digit.
Determine whether the character represents a valid hexadecimal
digit. This is a specialization of isDigit(radix).
true if the character is a valid hexadecimal
digit, false if not.
Determine if a character is non-printable.
Determine if a character is non-printable. Note that the notion of "non-printable" in Unicode can be problematic, depending on the encoding. A printable Unicode character, printed in UTF-8 on a terminal that only handles ISO-8859.1 may not, strictly speaking, be "printable" on that terminal.
This method's notion of "printable" assumes that the output device
is capable of displaying Unicode encodings (e.g., UTF-8). In other
words, this method could also be called isUnicodePrintable().
See also http://stackoverflow.com/q/220547
true if printable, false if not.
An analog to Scala's
RichCharclass, providing some methods that neitherRichCharnorChar(nor, for that matter,java.lang.Character) provide. By importing the implicit conversion functions, you can use the methods in this class transparently from aChar,RichCharorCharacterobject.