static int | charCount(int codePoint)- Return number of 16-bit characters required to represent the given
code point.
|
char | charValue()- Returns the character which has been wrapped by this class.
|
static int | codePointAt(char[] chars, int index)- Get the code point at the specified index in the CharSequence.
|
static int | codePointAt(char[] chars, int index, int limit)- Get the code point at the specified index in the CharSequence.
|
static int | codePointAt(CharSequence sequence, int index)- Get the code point at the specified index in the CharSequence.
|
static int | codePointBefore(char[] chars, int index)- Get the code point before the specified index.
|
static int | codePointBefore(char[] chars, int index, int start)- Get the code point before the specified index.
|
static int | codePointBefore(CharSequence sequence, int index)- Get the code point before the specified index.
|
static int | codePointCount(char[] a, int offset, int count)- Returns the number of Unicode code points in the specified range of the
given char array.
|
static int | codePointCount(CharSequence seq, int beginIndex, int endIndex)- Returns the number of Unicode code points in the specified range of the
given CharSequence.
|
int | compareTo(Character anotherCharacter)- Compares another Character to this Character, numerically.
|
static int | digit(char ch, int radix)- Converts a character into a digit of the specified radix.
|
static int | digit(int codePoint, int radix)- Converts a character into a digit of the specified radix.
|
boolean | equals(Object o)- Determines if an object is equal to this object.
|
static char | forDigit(int digit, int radix)- Converts a digit into a character which represents that digit
in a specified radix.
|
static byte | getDirectionality(char ch)- Returns the Unicode directionality property of the character.
|
static byte | getDirectionality(int codePoint)- Returns the Unicode directionality property of the character.
|
static int | getNumericValue(char ch)- Returns the Unicode numeric value property of a character.
|
static int | getNumericValue(int codePoint)- Returns the Unicode numeric value property of a character.
|
static int | getType(char ch)- Returns the Unicode general category property of a character.
|
static int | getType(int codePoint)- Returns the Unicode general category property of a character.
|
int | hashCode()- Returns the numerical value (unsigned) of the wrapped character.
|
static boolean | isDefined(char ch)- Determines if a character is part of the Unicode Standard.
|
static boolean | isDefined(int codePoint)- Determines if a character is part of the Unicode Standard.
|
static boolean | isDigit(char ch)- Determines if a character is a Unicode decimal digit.
|
static boolean | isDigit(int codePoint)- Determines if a character is a Unicode decimal digit.
|
static boolean | isHighSurrogate(char ch)- Return true if the given character is a high surrogate.
|
static boolean | isISOControl(char ch)- Determines if a character has the ISO Control property.
|
static boolean | isISOControl(int codePoint)- Determines if the character is an ISO Control character.
|
static boolean | isIdentifierIgnorable(char ch)- Determines if a character is ignorable in a Unicode identifier.
|
static boolean | isIdentifierIgnorable(int codePoint)- Determines if a character is ignorable in a Unicode identifier.
|
static boolean | isJavaIdentifierPart(char ch)- Determines if a character can follow the first letter in
a Java identifier.
|
static boolean | isJavaIdentifierPart(int codePoint)- Determines if a character can follow the first letter in
a Java identifier.
|
static boolean | isJavaIdentifierStart(char ch)- Determines if a character can start a Java identifier.
|
static boolean | isJavaIdentifierStart(int codePoint)- Determines if a character can start a Java identifier.
|
static boolean | isJavaLetter(char ch)- Replaced by
isJavaIdentifierStart(char)
|
static boolean | isJavaLetterOrDigit(char ch)- Replaced by
isJavaIdentifierPart(char)
|
static boolean | isLetter(char ch)- Determines if a character is a Unicode letter.
|
static boolean | isLetter(int codePoint)- Determines if a character is a Unicode letter.
|
static boolean | isLetterOrDigit(char ch)- Determines if a character is a Unicode letter or a Unicode digit.
|
static boolean | isLetterOrDigit(int codePoint)- Determines if a character is a Unicode letter or a Unicode digit.
|
static boolean | isLowSurrogate(char ch)- Return true if the given character is a low surrogate.
|
static boolean | isLowerCase(char ch)- Determines if a character is a Unicode lowercase letter.
|
static boolean | isLowerCase(int codePoint)- Determines if a character is a Unicode lowercase letter.
|
static boolean | isMirrored(char ch)- Determines whether the character is mirrored according to Unicode.
|
static boolean | isMirrored(int codePoint)- Determines whether the character is mirrored according to Unicode.
|
static boolean | isSpace(char ch)- Replaced by
isWhitespace(char)
|
static boolean | isSpaceChar(char ch)- Determines if a character is a Unicode space character.
|
static boolean | isSpaceChar(int codePoint)- Determines if a character is a Unicode space character.
|
static boolean | isSupplementaryCodePoint(int codePoint)- Determines whether the specified code point is
in the range 0x10000 ..
|
static boolean | isSurrogatePair(char ch1, char ch2)- Return true if the given characters compose a surrogate pair.
|
static boolean | isTitleCase(char ch)- Determines if a character is a Unicode titlecase letter.
|
static boolean | isTitleCase(int codePoint)- Determines if a character is a Unicode titlecase letter.
|
static boolean | isUnicodeIdentifierPart(char ch)- Determines if a character can follow the first letter in
a Unicode identifier.
|
static boolean | isUnicodeIdentifierPart(int codePoint)- Determines if a character can follow the first letter in
a Unicode identifier.
|
static boolean | isUnicodeIdentifierStart(char ch)- Determines if a character can start a Unicode identifier.
|
static boolean | isUnicodeIdentifierStart(int codePoint)- Determines if a character can start a Unicode identifier.
|
static boolean | isUpperCase(char ch)- Determines if a character is a Unicode uppercase letter.
|
static boolean | isUpperCase(int codePoint)- Determines if a character is a Unicode uppercase letter.
|
static boolean | isValidCodePoint(int codePoint)- Determines whether the specified code point is
in the range 0x0000 ..
|
static boolean | isWhitespace(char ch)- Determines if a character is Java whitespace.
|
static boolean | isWhitespace(int codePoint)- Determines if a character is Java whitespace.
|
static int | offsetByCodePoints(char[] a, int start, int count, int index, int codePointOffset)- Returns the index into the given char subarray that is offset
codePointOffset code points from index.
|
static int | offsetByCodePoints(CharSequence seq, int index, int codePointOffset)- Returns the index into the given CharSequence that is offset
codePointOffset code points from index.
|
static char | reverseBytes(char val)- Reverse the bytes in val.
|
static char[] | toChars(int codePoint)- Converts a unicode code point to a UTF-16 representation of that
code point.
|
static int | toChars(int codePoint, char[] dst, int dstIndex)- Converts a unicode code point to its UTF-16 representation.
|
static int | toCodePoint(char high, char low)- Given a valid surrogate pair, this returns the corresponding
code point.
|
static char | toLowerCase(char ch)- Converts a Unicode character into its lowercase equivalent mapping.
|
static int | toLowerCase(int codePoint)- Converts a Unicode character into its lowercase equivalent mapping.
|
String | toString()- Converts the wrapped character into a String.
|
static String | toString(char ch)- Returns a String of length 1 representing the specified character.
|
static char | toTitleCase(char ch)- Converts a Unicode character into its titlecase equivalent mapping.
|
static int | toTitleCase(int codePoint)- Converts a Unicode character into its titlecase equivalent mapping.
|
static char | toUpperCase(char ch)- Converts a Unicode character into its uppercase equivalent mapping.
|
static int | toUpperCase(int codePoint)- Converts a Unicode character into its uppercase equivalent mapping.
|
static Character | valueOf(char val)- Returns an
Character object wrapping the value.
|