Method Summary |
char |
charValue()
Returns the value of this Character object. |
int |
compareTo(Character anotherCharacter)
Compares two Character objects numerically. |
int |
compareTo(Object o)
Compares this Character object to another object. |
static int |
digit(char ch, int radix)
Returns the numeric value of the character ch in
the specified radix. |
boolean |
equals(Object obj)
Compares this object against the specified object. |
static char |
forDigit(int digit, int radix)
Determines the character representation for a specific digit
in the specified radix. |
static byte |
getDirectionality(char ch)
Returns the Unicode directionality property for the given
character. |
static int |
getNumericValue(char ch)
Returns the int value that the specified Unicode
character represents. |
static int |
getType(char ch)
Returns a value indicating a character's general category. |
int |
hashCode()
Returns a hash code for this Character . |
static boolean |
isDefined(char ch)
Determines if a character is defined in Unicode. |
static boolean |
isDigit(char ch)
Determines if the specified character is a digit. |
static boolean |
isIdentifierIgnorable(char ch)
Determines if the specified character should be regarded as an
ignorable character in a Java identifier or a Unicode identifier. |
static boolean |
isISOControl(char ch)
Determines if the specified character is an ISO control
character. |
static boolean |
isJavaIdentifierPart(char ch)
Determines if the specified character may be part of a Java
identifier as other than the first character. |
static boolean |
isJavaIdentifierStart(char ch)
Determines if the specified character is permissible as the
first character in a Java identifier. |
static boolean |
isJavaLetter(char ch)
Deprecated. Replaced by isJavaIdentifierStart(char). |
static boolean |
isJavaLetterOrDigit(char ch)
Deprecated. Replaced by isJavaIdentifierPart(char). |
static boolean |
isLetter(char ch)
Determines if the specified character is a letter. |
static boolean |
isLetterOrDigit(char ch)
Determines if the specified character is a letter or digit. |
static boolean |
isLowerCase(char ch)
Determines if the specified character is a lowercase
character. |
static boolean |
isMirrored(char ch)
Determines whether the character is mirrored according to the
Unicode specification. |
static boolean |
isSpace(char ch)
Deprecated. Replaced by isWhitespace(char). |
static boolean |
isSpaceChar(char ch)
Determines if the specified character is a Unicode space
character. |
static boolean |
isTitleCase(char ch)
Determines if the specified character is a titlecase
character. |
static boolean |
isUnicodeIdentifierPart(char ch)
Determines if the specified character may be part of a Unicode
identifier as other than the first character. |
static boolean |
isUnicodeIdentifierStart(char ch)
Determines if the specified character is permissible as the
first character in a Unicode identifier. |
static boolean |
isUpperCase(char ch)
Determines if the specified character is an uppercase
character. |
static boolean |
isWhitespace(char ch)
Determines if the specified character is white space according
to Java. |
static char |
toLowerCase(char ch)
Converts the character argument to lowercase using case
mapping information from the UnicodeData file. |
String |
toString()
Returns a String object representing this
Character 's value. |
static String |
toString(char c)
Returns a String object representing the
specified char . |
static char |
toTitleCase(char ch)
Converts the character argument to titlecase using case
mapping information from the UnicodeData file. |
static char |
toUpperCase(char ch)
Converts the character argument to uppercase using case
mapping information from the UnicodeData file. |