aicas logoJamaica 3.2 release 62

java.lang
Class Character

java.lang.Object
  extended by java.lang.Character
All Implemented Interfaces:
Serializable, Comparable<Character>

public class Character
extends Object
implements Serializable, Comparable<Character>

Character provides a class for char values stored in objects.

Since:
1.0
See Also:
Serialized Form

Nested Class Summary
static class Character.Subset
          Subset a subset of the unicode characters.
static class Character.UnicodeBlock
          UnicodeBlock represents the characters in a unicode block.
 
Field Summary
static byte COMBINING_SPACING_MARK
          Unicode category
static byte CONNECTOR_PUNCTUATION
          Unicode category
static byte CONTROL
          Unicode category
static byte CURRENCY_SYMBOL
          Unicode category
static byte DASH_PUNCTUATION
          Unicode category
static byte DECIMAL_DIGIT_NUMBER
          Unicode category
static byte DIRECTIONALITY_ARABIC_NUMBER
          Unicode directionality
static byte DIRECTIONALITY_BOUNDARY_NEUTRAL
          Unicode directionality
static byte DIRECTIONALITY_COMMON_NUMBER_SEPARATOR
          Unicode directionality
static byte DIRECTIONALITY_EUROPEAN_NUMBER
          Unicode directionality
static byte DIRECTIONALITY_EUROPEAN_NUMBER_SEPARATOR
          Unicode directionality
static byte DIRECTIONALITY_EUROPEAN_NUMBER_TERMINATOR
          Unicode directionality
static byte DIRECTIONALITY_LEFT_TO_RIGHT
          Unicode directionality
static byte DIRECTIONALITY_LEFT_TO_RIGHT_EMBEDDING
          Unicode directionality
static byte DIRECTIONALITY_LEFT_TO_RIGHT_OVERRIDE
          Unicode directionality
static byte DIRECTIONALITY_NONSPACING_MARK
          Unicode directionality
static byte DIRECTIONALITY_OTHER_NEUTRALS
          Unicode directionality
static byte DIRECTIONALITY_PARAGRAPH_SEPARATOR
          Unicode directionality
static byte DIRECTIONALITY_POP_DIRECTIONAL_FORMAT
          Unicode directionality
static byte DIRECTIONALITY_RIGHT_TO_LEFT
          Unicode directionality
static byte DIRECTIONALITY_RIGHT_TO_LEFT_ARABIC
          Unicode directionality
static byte DIRECTIONALITY_RIGHT_TO_LEFT_EMBEDDING
          Unicode directionality
static byte DIRECTIONALITY_RIGHT_TO_LEFT_OVERRIDE
          Unicode directionality
static byte DIRECTIONALITY_SEGMENT_SEPARATOR
          Unicode directionality
static byte DIRECTIONALITY_UNDEFINED
          Unicode directionality
static byte DIRECTIONALITY_WHITESPACE
          Unicode directionality
static byte ENCLOSING_MARK
          Unicode category
static byte END_PUNCTUATION
          Unicode category
static byte FINAL_QUOTE_PUNCTUATION
          Unicode category
static byte FORMAT
          Unicode category
static byte INITIAL_QUOTE_PUNCTUATION
          Unicode category
static byte LETTER_NUMBER
          Unicode category
static byte LINE_SEPARATOR
          Unicode category
static byte LOWERCASE_LETTER
          Unicode category
static byte MATH_SYMBOL
          Unicode category
static int MAX_CODE_POINT
          Max value for code point.
static char MAX_HIGH_SURROGATE
          Maximum high surrrogate code in UTF-16 encoding.
static char MAX_LOW_SURROGATE
          Maximum low surrrogate code in UTF-16 encoding.
static int MAX_RADIX
          Maximum radix fro conversion to/from strings
static char MAX_SURROGATE
          Maximum surrrogate code in UTF-16 encoding.
static char MAX_VALUE
          Larges char value
static int MIN_CODE_POINT
          Min value for code point.
static char MIN_HIGH_SURROGATE
          Minimum high surrrogate code in UTF-16 encoding.
static char MIN_LOW_SURROGATE
          Minimum low surrrogate code in UTF-16 encoding.
static int MIN_RADIX
          Minimum radix fro conversion to/from strings
static int MIN_SUPPLEMENTARY_CODE_POINT
          Min value for supplementary code point.
static char MIN_SURROGATE
          Minimum surrrogate code in UTF-16 encoding.
static char MIN_VALUE
          Smallest char values
static byte MODIFIER_LETTER
          Unicode category
static byte MODIFIER_SYMBOL
          Unicode category
static byte NON_SPACING_MARK
          Unicode category
static byte OTHER_LETTER
          Unicode category
static byte OTHER_NUMBER
          Unicode category
static byte OTHER_PUNCTUATION
          Unicode category
static byte OTHER_SYMBOL
          Unicode category
static byte PARAGRAPH_SEPARATOR
          Unicode category
static byte PRIVATE_USE
          Unicode category
static int SIZE
          The size occupied by one char in bits.
static byte SPACE_SEPARATOR
          Unicode category
static byte START_PUNCTUATION
          Unicode category
static byte SURROGATE
          Unicode category
static byte TITLECASE_LETTER
          Unicode category
static Class<Character> TYPE
          type for char.
static byte UNASSIGNED
          Unicode category
static byte UPPERCASE_LETTER
          Unicode category
 
Constructor Summary
Character(char value)
          Constructor to create an instance of Character with the given char value.
 
Method Summary
static int charCount(int codePoint)
          Return number of 16-bit characters required to represent given code point.
 char charValue()
          charValue returns the value of this character.
static int codePointAt(char[] a, int index)
          Return the code point value at given index.
static int codePointAt(char[] a, int index, int end)
          Return the code point value at given index and before a given end.
static int codePointAt(CharSequence s, int index)
          Return the code point value at given index.
static int codePointBefore(char[] a, int index)
          Return the code point value before given index.
static int codePointBefore(char[] a, int index, int start)
          Return the code point value before given index but not before start ensures ((isLowSurrogate(a[index-1]) && (index-2 >= start) && isHighSurrogate(a[index-2])) ==> result == toCodePoint(a[index-2],a[index-1]), (!
static int codePointBefore(CharSequence s, int index)
          Return the code point value before given index.
static int codePointCount(char[] a, int start, int len)
          Count number of code points in char array from start..start+len.
static int codePointCount(CharSequence s, int start, int end)
          Count number of code points in char sequence from start..end.
 int compareTo(Character anotherCharacter)
          compareTo compares this to another instance of character.
static int digit(char ch, int radix)
          digit return the numeric value of the specified character for the given radix.
static int digit(int codePoint, int radix)
          digit return the numeric value of the specified code point for the given radix.
 boolean equals(Object obj)
          equals checks if this and obj represent the same value.
static char forDigit(int digit, int radix)
          forDigit returns the character representation of a given digit.
static byte getDirectionality(char ch)
          getDirectionality returns the directionality of the given character.
static byte getDirectionality(int codePoint)
          getDirectionality returns the directionality of the given code point.
static int getNumericValue(char ch)
          getNumericValue determines the numeric value of the given character, e.g., "1000" for the roman number "M".
static int getNumericValue(int codePoint)
          getNumericValue determines the numeric value of the given character, e.g., "1000" for the roman number "M".
static int getType(char ch)
          getType determines the category of a character
static int getType(int codePoint)
          getType determines the category of a code point.
 int hashCode()
          hashCode returns a hash code for this character.
static boolean isDefined(char ch)
          isDefined checks if a given character is defined
static boolean isDefined(int codePoint)
          isDefined checks if a given code point is defined.
static boolean isDigit(char ch)
          isDigit checks if a given character is DECIMAL_DIGIT_NUMBER.
static boolean isDigit(int codePoint)
          isDigit checks if a given code point is DECIMAL_DIGIT_NUMBER.
static boolean isHighSurrogate(char ch)
          isHighSurrogate determines whether the specified character is in the range '?' .. '?', i.e. the character is a high-surrogate code unit.
static boolean isIdentifierIgnorable(char ch)
          isIdentifierIgnorable checks if a character can be ignored within an unicode identifer.
static boolean isIdentifierIgnorable(int codePoint)
          isIdentifierIgnorable checks if a code point can be ignored within an unicode identifer.
static boolean isISOControl(char ch)
          isISOControl checks if a character is an ISO control character.
static boolean isISOControl(int codePoint)
          isISOControl checks if a code point is an ISO control character.
static boolean isJavaIdentifierPart(char ch)
          isJavaIdentifierPart checks if a character may be part of a Java identifier other than the first character.
static boolean isJavaIdentifierPart(int codePoint)
          isJavaIdentifierPart checks if a code point may be part of a Java identifier other than the first character.
static boolean isJavaIdentifierStart(char ch)
          isJavaIdentifierStart checks if a character may be the first character in a Java identifier.
static boolean isJavaIdentifierStart(int codePoint)
          isJavaIdentifierStart checks if a code point may be the first character in a Java identifier.
static boolean isJavaLetter(char ch)
          Deprecated. replaced by isJavaIdentifierStart(ch)
static boolean isJavaLetterOrDigit(char ch)
          Deprecated. replaced by isJavaIdentifierPart(ch)
static boolean isLetter(char ch)
          isLetter checks if a character is a letter (UPPERCASE_LETTER, LOWERCASE_LETTER, TITLECASE_LETTER, MODIFIER_LETTER or OTHER_LETTER)
static boolean isLetter(int codePoint)
          isLetter checks if a code point is a letter (UPPERCASE_LETTER, LOWERCASE_LETTER, TITLECASE_LETTER, MODIFIER_LETTER or OTHER_LETTER)
static boolean isLetterOrDigit(char ch)
          isLetterOrDigit checks if a character is a letter or a digit.
static boolean isLetterOrDigit(int codePoint)
          isLetterOrDigit checks if a code point is a letter or a digit.
static boolean isLowerCase(char ch)
          isLowerCase checks if a character is lower case
static boolean isLowerCase(int codePoint)
          isLowerCase checks if a code point is lower case
static boolean isLowSurrogate(char ch)
          isLowSurrogate determines whether the specified character is in the range '?' .. '?', i.e. the character is a low-surrogate code unit.
static boolean isMirrored(char ch)
          isMirrored checks if the given character is mirrored, i.e., will be displayed mirrored vertically when displayed right-to-left.
static boolean isMirrored(int codePoint)
          isMirrored checks if the given code point is mirrored, i.e., will be displayed mirrored vertically when displayed right-to-left.
static boolean isSpace(char ch)
          Deprecated. replaced by isWhitespace(ch)
static boolean isSpaceChar(char ch)
          isSpaceChar checks if a character is a space
static boolean isSpaceChar(int codePoint)
          isSpaceChar checks if a code point is a space
static boolean isSupplementaryCodePoint(int codePoint)
          isSupplementaryCodePoint determines whether the specified code point is in the range 0x10000 .. 0x10FFFF, i.e. the character is within the Unicode supplementary character range.
static boolean isSurrogatePair(char highChar, char lowChar)
          isSurrogatePair determines whether the specified characters from a valid surrogate pair.
static boolean isTitleCase(char ch)
          isTitleCase checks if a given character is TITLECASE_LETTER
static boolean isTitleCase(int codePoint)
          isTitleCase checks if a given code point is TITLECASE_LETTER
static boolean isUnicodeIdentifierPart(char ch)
          isUnicodeIdentifierPart checks if a character may be part of a Unicode identifier other than the first character.
static boolean isUnicodeIdentifierPart(int codePoint)
          isUnicodeIdentifierPart checks if a codePointaracter may be part of a Unicode identifier other than the first codePointaracter.
static boolean isUnicodeIdentifierStart(char ch)
          isUnicodeIdentifierStart checks if a character may be the first character in a Unicode identifier.
static boolean isUnicodeIdentifierStart(int codePoint)
          isUnicodeIdentifierStart checks if a code pointr may be the first character in a Unicode identifier.
static boolean isUpperCase(char ch)
          isUpperCase checks if a character is upper case
static boolean isUpperCase(int codePoint)
          isUpperCase checks if a code point is lower case
static boolean isValidCodePoint(int codePoint)
          isValidCodePoint determines whether the specified code point is in the range 0x0000 .. 0x10FFFF, i.e. it is a valid Unicode code point.
static boolean isWhitespace(char ch)
          isWhitespace checks if a character is white space
static boolean isWhitespace(int codePoint)
          isWhitespace checks if a code point is white space
static int offsetByCodePoints(char[] a, int start, int len, int index, int codePointOffset)
          Determine the character offset of a code point with given code point offset starting from a given character index in a sub array of a char array.
static int offsetByCodePoints(CharSequence s, int start, int codePointOffset)
          Determine the character offset of a code point with given code point offset starting from a given character index in a char sequence.
static char reverseBytes(char ch)
          reverseBytes swaps the bytes in a given character.
static char[] toChars(int codePoint)
          Convert code point to char array.
static int toChars(int codePoint, char[] dst, int dstIndex)
          Convert code point to UTF-16 representation
static int toCodePoint(char high, char low)
          Convert surrogate pair to code point.
static char toLowerCase(char ch)
          toLowerCase converts a character to lower chase
static int toLowerCase(int codePoint)
          toLowerCase converts a code point to lower chase
 String toString()
          Returns value as String.
static String toString(char ch)
          Converts a char into a String.
static char toTitleCase(char ch)
          toTitleCase converst the given character to title case.
static int toTitleCase(int codePoint)
          toTitleCase converst the given code point to title case.
static char toUpperCase(char ch)
          toUpperCase converts a character to upper case
static int toUpperCase(int codePoint)
          toUpperCase converts a code point to upper chase
static Character valueOf(char ch)
          valueOf returns a character instance with the given value.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

MIN_RADIX

public static final int MIN_RADIX
Minimum radix fro conversion to/from strings

See Also:
Constant Field Values

MAX_RADIX

public static final int MAX_RADIX
Maximum radix fro conversion to/from strings

See Also:
Constant Field Values

MIN_VALUE

public static final char MIN_VALUE
Smallest char values

Since:
1.0.2
See Also:
Constant Field Values

MAX_VALUE

public static final char MAX_VALUE
Larges char value

Since:
1.0.2
See Also:
Constant Field Values

TYPE

public static final Class<Character> TYPE
type for char.

Since:
1.1

UNASSIGNED

public static final byte UNASSIGNED
Unicode category

Since:
1.1
See Also:
Constant Field Values

UPPERCASE_LETTER

public static final byte UPPERCASE_LETTER
Unicode category

Since:
1.1
See Also:
Constant Field Values

LOWERCASE_LETTER

public static final byte LOWERCASE_LETTER
Unicode category

Since:
1.1
See Also:
Constant Field Values

TITLECASE_LETTER

public static final byte TITLECASE_LETTER
Unicode category

Since:
1.1
See Also:
Constant Field Values

MODIFIER_LETTER

public static final byte MODIFIER_LETTER
Unicode category

Since:
1.1
See Also:
Constant Field Values

OTHER_LETTER

public static final byte OTHER_LETTER
Unicode category

Since:
1.1
See Also:
Constant Field Values

NON_SPACING_MARK

public static final byte NON_SPACING_MARK
Unicode category

Since:
1.1
See Also:
Constant Field Values

ENCLOSING_MARK

public static final byte ENCLOSING_MARK
Unicode category

Since:
1.1
See Also:
Constant Field Values

COMBINING_SPACING_MARK

public static final byte COMBINING_SPACING_MARK
Unicode category

Since:
1.1
See Also:
Constant Field Values

DECIMAL_DIGIT_NUMBER

public static final byte DECIMAL_DIGIT_NUMBER
Unicode category

Since:
1.1
See Also:
Constant Field Values

LETTER_NUMBER

public static final byte LETTER_NUMBER
Unicode category

Since:
1.1
See Also:
Constant Field Values

OTHER_NUMBER

public static final byte OTHER_NUMBER
Unicode category

Since:
1.1
See Also:
Constant Field Values

SPACE_SEPARATOR

public static final byte SPACE_SEPARATOR
Unicode category

Since:
1.1
See Also:
Constant Field Values

LINE_SEPARATOR

public static final byte LINE_SEPARATOR
Unicode category

Since:
1.1
See Also:
Constant Field Values

PARAGRAPH_SEPARATOR

public static final byte PARAGRAPH_SEPARATOR
Unicode category

Since:
1.1
See Also:
Constant Field Values

CONTROL

public static final byte CONTROL
Unicode category

Since:
1.1
See Also:
Constant Field Values

FORMAT

public static final byte FORMAT
Unicode category

Since:
1.1
See Also:
Constant Field Values

PRIVATE_USE

public static final byte PRIVATE_USE
Unicode category

Since:
1.1
See Also:
Constant Field Values

SURROGATE

public static final byte SURROGATE
Unicode category

Since:
1.1
See Also:
Constant Field Values

DASH_PUNCTUATION

public static final byte DASH_PUNCTUATION
Unicode category

Since:
1.1
See Also:
Constant Field Values

START_PUNCTUATION

public static final byte START_PUNCTUATION
Unicode category

Since:
1.1
See Also:
Constant Field Values

END_PUNCTUATION

public static final byte END_PUNCTUATION
Unicode category

Since:
1.1
See Also:
Constant Field Values

CONNECTOR_PUNCTUATION

public static final byte CONNECTOR_PUNCTUATION
Unicode category

Since:
1.1
See Also:
Constant Field Values

OTHER_PUNCTUATION

public static final byte OTHER_PUNCTUATION
Unicode category

Since:
1.1
See Also:
Constant Field Values

MATH_SYMBOL

public static final byte MATH_SYMBOL
Unicode category

Since:
1.1
See Also:
Constant Field Values

CURRENCY_SYMBOL

public static final byte CURRENCY_SYMBOL
Unicode category

Since:
1.1
See Also:
Constant Field Values

MODIFIER_SYMBOL

public static final byte MODIFIER_SYMBOL
Unicode category

Since:
1.1
See Also:
Constant Field Values

OTHER_SYMBOL

public static final byte OTHER_SYMBOL
Unicode category

Since:
1.1
See Also:
Constant Field Values

INITIAL_QUOTE_PUNCTUATION

public static final byte INITIAL_QUOTE_PUNCTUATION
Unicode category

Since:
1.4
See Also:
Constant Field Values

FINAL_QUOTE_PUNCTUATION

public static final byte FINAL_QUOTE_PUNCTUATION
Unicode category

Since:
1.4
See Also:
Constant Field Values

DIRECTIONALITY_UNDEFINED

public static final byte DIRECTIONALITY_UNDEFINED
Unicode directionality

Since:
1.4
See Also:
Constant Field Values

DIRECTIONALITY_LEFT_TO_RIGHT

public static final byte DIRECTIONALITY_LEFT_TO_RIGHT
Unicode directionality

Since:
1.4
See Also:
Constant Field Values

DIRECTIONALITY_RIGHT_TO_LEFT

public static final byte DIRECTIONALITY_RIGHT_TO_LEFT
Unicode directionality

Since:
1.4
See Also:
Constant Field Values

DIRECTIONALITY_RIGHT_TO_LEFT_ARABIC

public static final byte DIRECTIONALITY_RIGHT_TO_LEFT_ARABIC
Unicode directionality

Since:
1.4
See Also:
Constant Field Values

DIRECTIONALITY_EUROPEAN_NUMBER

public static final byte DIRECTIONALITY_EUROPEAN_NUMBER
Unicode directionality

Since:
1.4
See Also:
Constant Field Values

DIRECTIONALITY_EUROPEAN_NUMBER_SEPARATOR

public static final byte DIRECTIONALITY_EUROPEAN_NUMBER_SEPARATOR
Unicode directionality

Since:
1.4
See Also:
Constant Field Values

DIRECTIONALITY_EUROPEAN_NUMBER_TERMINATOR

public static final byte DIRECTIONALITY_EUROPEAN_NUMBER_TERMINATOR
Unicode directionality

Since:
1.4
See Also:
Constant Field Values

DIRECTIONALITY_ARABIC_NUMBER

public static final byte DIRECTIONALITY_ARABIC_NUMBER
Unicode directionality

Since:
1.4
See Also:
Constant Field Values

DIRECTIONALITY_COMMON_NUMBER_SEPARATOR

public static final byte DIRECTIONALITY_COMMON_NUMBER_SEPARATOR
Unicode directionality

Since:
1.4
See Also:
Constant Field Values

DIRECTIONALITY_NONSPACING_MARK

public static final byte DIRECTIONALITY_NONSPACING_MARK
Unicode directionality

Since:
1.4
See Also:
Constant Field Values

DIRECTIONALITY_BOUNDARY_NEUTRAL

public static final byte DIRECTIONALITY_BOUNDARY_NEUTRAL
Unicode directionality

Since:
1.4
See Also:
Constant Field Values

DIRECTIONALITY_PARAGRAPH_SEPARATOR

public static final byte DIRECTIONALITY_PARAGRAPH_SEPARATOR
Unicode directionality

Since:
1.4
See Also:
Constant Field Values

DIRECTIONALITY_SEGMENT_SEPARATOR

public static final byte DIRECTIONALITY_SEGMENT_SEPARATOR
Unicode directionality

Since:
1.4
See Also:
Constant Field Values

DIRECTIONALITY_WHITESPACE

public static final byte DIRECTIONALITY_WHITESPACE
Unicode directionality

Since:
1.4
See Also:
Constant Field Values

DIRECTIONALITY_OTHER_NEUTRALS

public static final byte DIRECTIONALITY_OTHER_NEUTRALS
Unicode directionality

Since:
1.4
See Also:
Constant Field Values

DIRECTIONALITY_LEFT_TO_RIGHT_EMBEDDING

public static final byte DIRECTIONALITY_LEFT_TO_RIGHT_EMBEDDING
Unicode directionality

Since:
1.4
See Also:
Constant Field Values

DIRECTIONALITY_LEFT_TO_RIGHT_OVERRIDE

public static final byte DIRECTIONALITY_LEFT_TO_RIGHT_OVERRIDE
Unicode directionality

Since:
1.4
See Also:
Constant Field Values

DIRECTIONALITY_RIGHT_TO_LEFT_EMBEDDING

public static final byte DIRECTIONALITY_RIGHT_TO_LEFT_EMBEDDING
Unicode directionality

Since:
1.4
See Also:
Constant Field Values

DIRECTIONALITY_RIGHT_TO_LEFT_OVERRIDE

public static final byte DIRECTIONALITY_RIGHT_TO_LEFT_OVERRIDE
Unicode directionality

Since:
1.4
See Also:
Constant Field Values

DIRECTIONALITY_POP_DIRECTIONAL_FORMAT

public static final byte DIRECTIONALITY_POP_DIRECTIONAL_FORMAT
Unicode directionality

Since:
1.4
See Also:
Constant Field Values

MIN_HIGH_SURROGATE

public static final char MIN_HIGH_SURROGATE
Minimum high surrrogate code in UTF-16 encoding.

Since:
1.5
See Also:
Constant Field Values

MAX_HIGH_SURROGATE

public static final char MAX_HIGH_SURROGATE
Maximum high surrrogate code in UTF-16 encoding.

Since:
1.5
See Also:
Constant Field Values

MIN_LOW_SURROGATE

public static final char MIN_LOW_SURROGATE
Minimum low surrrogate code in UTF-16 encoding.

Since:
1.5
See Also:
Constant Field Values

MAX_LOW_SURROGATE

public static final char MAX_LOW_SURROGATE
Maximum low surrrogate code in UTF-16 encoding.

Since:
1.5
See Also:
Constant Field Values

MIN_SURROGATE

public static final char MIN_SURROGATE
Minimum surrrogate code in UTF-16 encoding.

Since:
1.5
See Also:
Constant Field Values

MAX_SURROGATE

public static final char MAX_SURROGATE
Maximum surrrogate code in UTF-16 encoding.

Since:
1.5
See Also:
Constant Field Values

MIN_SUPPLEMENTARY_CODE_POINT

public static final int MIN_SUPPLEMENTARY_CODE_POINT
Min value for supplementary code point.

Since:
1.5
See Also:
Constant Field Values

MIN_CODE_POINT

public static final int MIN_CODE_POINT
Min value for code point.

Since:
1.5
See Also:
Constant Field Values

MAX_CODE_POINT

public static final int MAX_CODE_POINT
Max value for code point.

Since:
1.5
See Also:
Constant Field Values

SIZE

public static final int SIZE
The size occupied by one char in bits.

Since:
1.5
See Also:
Constant Field Values
Constructor Detail

Character

public Character(char value)
Constructor to create an instance of Character with the given char value.

Parameters:
value - the value for this instance.
Method Detail

charValue

public char charValue()
charValue returns the value of this character.

Returns:
the value.

hashCode

public int hashCode()
hashCode returns a hash code for this character.

Overrides:
hashCode in class Object
Returns:
the hash code, equal to (int) charValue().

equals

public boolean equals(Object obj)
equals checks if this and obj represent the same value.

Overrides:
equals in class Object
Parameters:
obj - another object
Returns:
true of obj is a Character that represents the same value as this.

toString

public String toString()
Returns value as String.

Overrides:
toString in class Object
Returns:
value as String

toString

public static String toString(char ch)
Converts a char into a String.

Parameters:
ch - which should be converted to a String
Returns:
String of the char
Since:
1.4

getDirectionality

public static byte getDirectionality(char ch)
getDirectionality returns the directionality of the given character.

Parameters:
ch - the character
Returns:
the directionality, one of the constants DIRECTIONALITY*
Since:
1.4

isMirrored

public static boolean isMirrored(char ch)
isMirrored checks if the given character is mirrored, i.e., will be displayed mirrored vertically when displayed right-to-left.

Parameters:
ch - the character.
Returns:
true iff the character is mirrored, e.g., "(".
Since:
1.4

isLowerCase

public static boolean isLowerCase(char ch)
isLowerCase checks if a character is lower case

Parameters:
ch - the character
Returns:
true iff ch is LOWERCASE_LETTER
Since:
1.0

isUpperCase

public static boolean isUpperCase(char ch)
isUpperCase checks if a character is upper case

Parameters:
ch - the character
Returns:
true iff ch is UPPERCASE_LETTER
Since:
1.0

isTitleCase

public static boolean isTitleCase(char ch)
isTitleCase checks if a given character is TITLECASE_LETTER

Parameters:
ch - the character
Returns:
getType(ch) == TITLECASE_LETTER
Since:
1.0.2

isDigit

public static boolean isDigit(char ch)
isDigit checks if a given character is DECIMAL_DIGIT_NUMBER.

Parameters:
ch - the character
Returns:
getType(ch) == DECIMAL_DIGIT_NUMBER

isDefined

public static boolean isDefined(char ch)
isDefined checks if a given character is defined

Parameters:
ch - the character
Returns:
getType(ch) != UNASSIGNED
Since:
1.0.2

isLetter

public static boolean isLetter(char ch)
isLetter checks if a character is a letter (UPPERCASE_LETTER, LOWERCASE_LETTER, TITLECASE_LETTER, MODIFIER_LETTER or OTHER_LETTER)

Parameters:
ch - the character
Returns:
true iff ch is a letter.

isLetterOrDigit

public static boolean isLetterOrDigit(char ch)
isLetterOrDigit checks if a character is a letter or a digit.

Parameters:
ch - the character
Returns:
isLetter(ch) || isDigit(ch)
Since:
1.0.2

isJavaLetter

@Deprecated
public static boolean isJavaLetter(char ch)
Deprecated. replaced by isJavaIdentifierStart(ch)

isJavaLetter checks if a character may be the first letter in a Java identifier.

Parameters:
ch - the character
Returns:
isLetter(ch) || (ch == '$') || (ch == '_');
Since:
1.0.2

isJavaLetterOrDigit

@Deprecated
public static boolean isJavaLetterOrDigit(char ch)
Deprecated. replaced by isJavaIdentifierPart(ch)

isJavaLetterOrDigit checks if a character may be part of a Java identifier other than the first character.

Parameters:
ch - the character
Returns:
isJavaLetter(ch) || isDigit(ch)
Since:
1.0.2

isJavaIdentifierStart

public static boolean isJavaIdentifierStart(char ch)
isJavaIdentifierStart checks if a character may be the first character in a Java identifier.

Parameters:
ch - the character
Returns:
   isLetter(ch) || 
   getType(ch)==LETTER_NUMBER ||
   (getType(ch) == CURRENCY_SYMBOL) || 
   isConnectingPunctuation(ch)
 
Since:
1.1

isJavaIdentifierPart

public static boolean isJavaIdentifierPart(char ch)
isJavaIdentifierPart checks if a character may be part of a Java identifier other than the first character.

Parameters:
ch - the character
Returns:
  isLetter(ch) ||
  (getType(ch) == CURRENCY_SYMBOL) ||
  isConnectingPunctuation(ch) ||
  isDigit(ch) ||
  isNumericLetter(ch) ||
  isCombiningMark(ch) ||
  isNonSpacingMark(ch) ||
  isIdentifierIgnorable(ch);
 
Since:
1.1

isUnicodeIdentifierStart

public static boolean isUnicodeIdentifierStart(char ch)
isUnicodeIdentifierStart checks if a character may be the first character in a Unicode identifier.

Parameters:
ch - the characgter
Returns:
isLetter(ch) || (getType(ch) == LETTER_NUMBER)
Since:
1.1

isUnicodeIdentifierPart

public static boolean isUnicodeIdentifierPart(char ch)
isUnicodeIdentifierPart checks if a character may be part of a Unicode identifier other than the first character.

Parameters:
ch - the character.
Returns:
isLetter(ch) ||
  isConnectingPunctuation(ch) ||
  isDigit(ch) ||
  isNumericLetter(ch) ||
  isCombiningMark(ch) ||
  isNonSpacingMark(ch) ||
  isIdentifierIgnorable(ch)
 
Since:
1.1

isIdentifierIgnorable

public static boolean isIdentifierIgnorable(char ch)
isIdentifierIgnorable checks if a character can be ignored within an unicode identifer.

Parameters:
ch - the character
Returns:
true if ch is 0..8,E..1B, 7F..9F or getType(ch)==FORMAT
Since:
1.1

toLowerCase

public static char toLowerCase(char ch)
toLowerCase converts a character to lower chase

Parameters:
ch - the character
Returns:
the lower case version of ch.

toUpperCase

public static char toUpperCase(char ch)
toUpperCase converts a character to upper case

Parameters:
ch - the character
Returns:
the upper case version of ch

toTitleCase

public static char toTitleCase(char ch)
toTitleCase converst the given character to title case.

Parameters:
ch - the character
Returns:
the titlecase version of the character
Since:
1.0.2

digit

public static int digit(char ch,
                        int radix)
digit return the numeric value of the specified character for the given radix.

Parameters:
ch - the character
radix - the radix
Returns:
the digit value or -1 if ch is not a valid digit or not within radix.

getNumericValue

public static int getNumericValue(char ch)
getNumericValue determines the numeric value of the given character, e.g., "1000" for the roman number "M".

Parameters:
ch - the character
Returns:
the numeric value or -2 if the numeric is not a non-negative integer or -1 if the character has no numeric value.
Since:
1.1

isSpace

@Deprecated
public static boolean isSpace(char ch)
Deprecated. replaced by isWhitespace(ch)

isSpace checks if a character is white space

Parameters:
ch - the character
Returns:
"\t\n\f\r ".indexOf(ch)>=0

isSpaceChar

public static boolean isSpaceChar(char ch)
isSpaceChar checks if a character is a space

Parameters:
ch - the character
Returns:
true iff getType(ch) is SPACE_SEPARATOR, LINE_SEPARATOR or PARAGRAPH_SEPARATOR.
Since:
1.1

isWhitespace

public static boolean isWhitespace(char ch)
isWhitespace checks if a character is white space

Parameters:
ch - the character
Returns:
   isSpaceChar(ch) && (ch != ' ') && (ch != '?') && (ch != '?') ||
   ((int) ch == 0x0009) ||
   ((int) ch == 0x000A) ||
   ((int) ch == 0x000B) ||
   ((int) ch == 0x000C) ||
   ((int) ch == 0x000D) ||
   ((int) ch == 0x001C) ||
   ((int) ch == 0x001D) ||
   ((int) ch == 0x001E) ||
   ((int) ch == 0x001F)
 
Since:
1.1

isISOControl

public static boolean isISOControl(char ch)
isISOControl checks if a character is an ISO control character.

Parameters:
ch - the character
Returns:
   ((ch >= '') && (ch <= '')) ||
   ((ch >= '') && (ch <= 'Ÿ'));
 
Since:
1.1

getType

public static int getType(char ch)
getType determines the category of a character

Parameters:
ch - the character
Returns:
its category, see category constants COMBINING_SPACING_MARK, CONNECTOR_PUNCTUATION, etc.
Since:
1.1

forDigit

public static char forDigit(int digit,
                            int radix)
forDigit returns the character representation of a given digit.

Parameters:
digit - the digit.
radix - the radix
Returns:
the character representation, '' if digit or radix out of bounds.

compareTo

public int compareTo(Character anotherCharacter)
compareTo compares this to another instance of character.

Specified by:
compareTo in interface Comparable<Character>
Parameters:
anotherCharacter - the other character.
Returns:
(int) value - (int) anotherCharacter.value
Throws:
NullPointerException - if anotherCharacter is null
Since:
1.2

valueOf

public static Character valueOf(char ch)
valueOf returns a character instance with the given value. A cache is used to avoid multiple allocations of the same Character instance.

Parameters:
ch - the character value
Returns:
an instance with value equal to ch.
Since:
1.5

isValidCodePoint

public static boolean isValidCodePoint(int codePoint)
isValidCodePoint determines whether the specified code point is in the range 0x0000 .. 0x10FFFF, i.e. it is a valid Unicode code point.

Parameters:
codePoint - a Unicode code point.
Returns:
true if code point is valid.
Since:
1.5

isSupplementaryCodePoint

public static boolean isSupplementaryCodePoint(int codePoint)
isSupplementaryCodePoint determines whether the specified code point is in the range 0x10000 .. 0x10FFFF, i.e. the character is within the Unicode supplementary character range.

Parameters:
codePoint - a Unicode code point.
Returns:
true if code point is in supplementary range.
Since:
1.5

isHighSurrogate

public static boolean isHighSurrogate(char ch)
isHighSurrogate determines whether the specified character is in the range '?' .. '?', i.e. the character is a high-surrogate code unit.

Parameters:
ch - character to be tested
Returns:
true if character
Since:
1.5

isLowSurrogate

public static boolean isLowSurrogate(char ch)
isLowSurrogate determines whether the specified character is in the range '?' .. '?', i.e. the character is a low-surrogate code unit.

Parameters:
ch - character to be tested
Returns:
true if character
Since:
1.5

isSurrogatePair

public static boolean isSurrogatePair(char highChar,
                                      char lowChar)
isSurrogatePair determines whether the specified characters from a valid surrogate pair.

Parameters:
highChar - the high surrogate char
lowChar - the lowsurrogate char
Returns:
isHighSurrogate(highChar) && isLowSurrogate(lowChar)
Since:
1.5

charCount

public static int charCount(int codePoint)
Return number of 16-bit characters required to represent given code point.

Parameters:
codePoint - a code point, argument is not checked for validity.
Returns:
2 iff codePoint >= 0x10000, 1 otherwise.
Since:
1.5

toCodePoint

public static int toCodePoint(char high,
                              char low)
Convert surrogate pair to code point.

Parameters:
high - high part, should be high surrogate, but not checked
low - low part, should be low surrogate, but not checked.
Returns:
the resulting code point.
Since:
1.5

codePointAt

public static int codePointAt(CharSequence s,
                              int index)
Return the code point value at given index.

ensures

   ((isHighSurrogate(s.charAt(index)) 
     && (index+1 < s.length())
     && isLowSurrogate(s.charAt(index+1))) ==> result == toCodePoint(s.charAt(index),s.charAt(index+1)),
    (!isHighSurrogate(s.charAt(index)) 
     || (index+1 >= s.length())
     || !isLowSurrogate(s.charAt(index+1))) ==> result == (int) s.charAt(index)
    );
 

Parameters:
s - a character sequence
index - the index
Returns:
the code point at index.
Throws:
NullPointerException - if s is null
IndexOutOfBoundsException - if index<0 || index >= s.length()
Since:
1.5

codePointAt

public static int codePointAt(char[] a,
                              int index)
Return the code point value at given index.

ensures

   ((isHighSurrogate(a[index]) 
     && (index+1 < a.length)
     && isLowSurrogate(a[index+1])) ==> result == toCodePoint(a[index],a[index+1]),
    (!isHighSurrogate(a[index]) 
     || (index+1 >= a.length)
     || !isLowSurrogate(a[index+1])) ==> result == (int) a[index]
    );
 

Parameters:
a - a character array
index - the index
Returns:
the code point at index.
Throws:
NullPointerException - if a is null
IndexOutOfBoundsException - if index<0 || index >= a.length
Since:
1.5

codePointAt

public static int codePointAt(char[] a,
                              int index,
                              int end)
Return the code point value at given index and before a given end.

ensures

   ((isHighSurrogate(a[index]) 
     && (index+1 < end)
     && isLowSurrogate(a[index+1])) ==> result == toCodePoint(a[index],a[index+1]),
    (!isHighSurrogate(a[index]) 
     || (index+1 >= end)
     || !isLowSurrogate(a[index+1])) ==> result == (int) a[index]
    );
 

Parameters:
a - a character array
index - the index
end - the end
Returns:
the code point at index.
Throws:
NullPointerException - if a is null
IndexOutOfBoundsException - if index < 0 || index >= end || end < 0 || end > a.length.
Since:
1.5

codePointBefore

public static int codePointBefore(CharSequence s,
                                  int index)
Return the code point value before given index.

ensures

   ((isLowSurrogate(s.charAt(index-1)) 
     && (index-2 >= 0)
     && isHighSurrogate(s.charAt(index-2))) ==> result == toCodePoint(s.charAt(index-2),s.charAt(index-1)),
    (!isLowSurrogate(s.charAt(index-1)) 
     || (index-2 < 0)
     || !isHighSurrogate(s.charAt(index-2))) ==> result == (int) s.charAt(index-1)
    );
 

Parameters:
s - a character sequence
index - the index
Returns:
the code point before index.
Throws:
NullPointerException - if s is null
IndexOutOfBoundsException - if index<=0 || index > s.length()
Since:
1.5

codePointBefore

public static int codePointBefore(char[] a,
                                  int index)
Return the code point value before given index.

ensures

   ((isLowSurrogate(a[index-1]) 
     && (index-2 >= 0)
     && isHighSurrogate(a[index-2])) ==> result == toCodePoint(a[index-2],a[index-1]),
    (!isLowSurrogate(a[index-1]) 
     || (index-2 < 0)
     || !isHighSurrogate(a[index-2])) ==> result == (int) a[index-1]
    );
 

Parameters:
a - character sequence
index - the index
Returns:
the code point before index.
Throws:
NullPointerException - if s is null
IndexOutOfBoundsException - if index<=0 || index > a.length
Since:
1.5

codePointBefore

public static int codePointBefore(char[] a,
                                  int index,
                                  int start)
Return the code point value before given index but not before start

ensures

   ((isLowSurrogate(a[index-1]) 
     && (index-2 >= start)
     && isHighSurrogate(a[index-2])) ==> result == toCodePoint(a[index-2],a[index-1]),
    (!isLowSurrogate(a[index-1]) 
     || (index-2 < start)
     || !isHighSurrogate(a[index-2])) ==> result == (int) a[index-1]
    );
 

Parameters:
a - character sequence
index - the index
start - the start index
Returns:
the code point before index.
Throws:
NullPointerException - if s is null
IndexOutOfBoundsException - if index<=start || index > a.length || start < 0 || start >= a.length
Since:
1.5

toChars

public static int toChars(int codePoint,
                          char[] dst,
                          int dstIndex)
Convert code point to UTF-16 representation

Parameters:
codePoint - the code point
dst - the target char array
dstIndex - the start index for the target
Returns:
number of characters written to dst[dstIndex..dstIndex+result-1].
Throws:
IllegalArgumentException - if !isValidCodePoint(codePoint)
NullPointerException - if dst is null
IndexOutOfBoundsException - if dstIndex<0 || dstIndex>=dst.length || (isSupplementaryCodePoint(codePoint) && dstIndex+1>=dst.length.
Since:
1.5

toChars

public static char[] toChars(int codePoint)
Convert code point to char array.

Parameters:
codePoint - the code point
Returns:
a char array
Throws:
IllegalArgumentException - if !isValidCodePoint(codePoint);
Since:
1.5

codePointCount

public static int codePointCount(CharSequence s,
                                 int start,
                                 int end)
Count number of code points in char sequence from start..end.

Parameters:
s - a char sequence
start - the start index
end - the end index
Returns:
the number of code points in s[start..end].
Throws:
NullPointerException - if s is null
IndexOutOfBoundsException - if start<0 || end>s.length() || start > end.
Since:
1.5

codePointCount

public static int codePointCount(char[] a,
                                 int start,
                                 int len)
Count number of code points in char array from start..start+len.

Parameters:
a - a char array
start - the start index
len - the length of the sub-array
Returns:
the number of code points in a[start..start+len].
Throws:
NullPointerException - if a is null
IndexOutOfBoundsException - if start<0 || len<0 || (start+len)>a.length
Since:
1.5

offsetByCodePoints

public static int offsetByCodePoints(CharSequence s,
                                     int start,
                                     int codePointOffset)
Determine the character offset of a code point with given code point offset starting from a given character index in a char sequence.

Parameters:
s - the char sequence
start - the start index in s
codePointOffset - the index of the code point that we are looking for.
Throws:
NullPointerException - if s is null
IndexOutOfBoundsException - if codePointOffset<0 || start<0 || start >= s.length || there are not enough code points in the sequence starting at start.
Since:
1.5

offsetByCodePoints

public static int offsetByCodePoints(char[] a,
                                     int start,
                                     int len,
                                     int index,
                                     int codePointOffset)
Determine the character offset of a code point with given code point offset starting from a given character index in a sub array of a char array.

Parameters:
a - the char array
start - the start of the sub array
len - the length to the sub array
index - the index in a
codePointOffset - the index of the code point that we are looking for.
Throws:
NullPointerException - if a is null
IndexOutOfBoundsException - if start<0 || len<0 || end>a.length || indexend || there are not enough code points in the sub array.
Since:
1.5

isLowerCase

public static boolean isLowerCase(int codePoint)
isLowerCase checks if a code point is lower case

Parameters:
codePoint - the code point
Returns:
true iff codePoint is LOWERCASE_LETTER.
Since:
1.5

isUpperCase

public static boolean isUpperCase(int codePoint)
isUpperCase checks if a code point is lower case

Parameters:
codePoint - the code point
Returns:
true iff codePoint is UPPERCASE_LETTER.
Since:
1.5

isTitleCase

public static boolean isTitleCase(int codePoint)
isTitleCase checks if a given code point is TITLECASE_LETTER

Parameters:
codePoint - the code point
Returns:
getType(codePoint) == TITLECASE_LETTER
Since:
1.5

isDigit

public static boolean isDigit(int codePoint)
isDigit checks if a given code point is DECIMAL_DIGIT_NUMBER.

Parameters:
codePoint - the code point
Returns:
getType(codePoint) == DECIMAL_DIGIT_NUMBER
Since:
1.5

isDefined

public static boolean isDefined(int codePoint)
isDefined checks if a given code point is defined.

Parameters:
codePoint - the code point
Returns:
getType(codePoint) != UNASSIGNED
Since:
1.5

isLetter

public static boolean isLetter(int codePoint)
isLetter checks if a code point is a letter (UPPERCASE_LETTER, LOWERCASE_LETTER, TITLECASE_LETTER, MODIFIER_LETTER or OTHER_LETTER)

Parameters:
codePoint - the code point
Returns:
true iff cidePoint is a letter.
Since:
1.5

isLetterOrDigit

public static boolean isLetterOrDigit(int codePoint)
isLetterOrDigit checks if a code point is a letter or a digit.

Parameters:
codePoint - the code point
Returns:
isLetter(codePoint) || isDigit(codePoint)
Since:
1.5

isJavaIdentifierStart

public static boolean isJavaIdentifierStart(int codePoint)
isJavaIdentifierStart checks if a code point may be the first character in a Java identifier.

Parameters:
codePoint - the code point
Returns:
   isLetter(ch) || 
   getType(ch)==LETTER_NUMBER ||
   (getType(ch) == CURRENCY_SYMBOL) || 
   isConnectingPunctuation(ch)
 
Since:
1.5

isJavaIdentifierPart

public static boolean isJavaIdentifierPart(int codePoint)
isJavaIdentifierPart checks if a code point may be part of a Java identifier other than the first character.

Parameters:
codePoint - the code point
Returns:
  isLetter(ch) ||
  (getType(ch) == CURRENCY_SYMBOL) ||
  isConnectingPunctuation(ch) ||
  isDigit(ch) ||
  isNumericLetter(ch) ||
  isCombiningMark(ch) ||
  isNonSpacingMark(ch) ||
  isIdentifierIgnorable(ch);
 
Since:
1.5

isUnicodeIdentifierStart

public static boolean isUnicodeIdentifierStart(int codePoint)
isUnicodeIdentifierStart checks if a code pointr may be the first character in a Unicode identifier.

Parameters:
codePoint - the code point
Returns:
isLetter(codePoint) || (getType(codePoint) == LETTER_NUMBER)
Since:
1.5

isUnicodeIdentifierPart

public static boolean isUnicodeIdentifierPart(int codePoint)
isUnicodeIdentifierPart checks if a codePointaracter may be part of a Unicode identifier other than the first codePointaracter.

Parameters:
codePoint - the code point
Returns:
isLetter(codePoint) ||
  isConnectingPunctuation(codePoint) ||
  isDigit(codePoint) ||
  isNumericLetter(codePoint) ||
  isCombiningMark(codePoint) ||
  isNonSpacingMark(codePoint) ||
  isIdentifierIgnorable(codePoint)
 
Since:
1.5

isIdentifierIgnorable

public static boolean isIdentifierIgnorable(int codePoint)
isIdentifierIgnorable checks if a code point can be ignored within an unicode identifer.

Parameters:
codePoint - the code point
Returns:
true if codePoint is 0..8,E..1B, 7F..9F or getType(codePoint)==FORMAT
Since:
1.5

toLowerCase

public static int toLowerCase(int codePoint)
toLowerCase converts a code point to lower chase

Parameters:
codePoint - the code point
Returns:
the lower case version of codePoint.
Since:
1.5

toUpperCase

public static int toUpperCase(int codePoint)
toUpperCase converts a code point to upper chase

Parameters:
codePoint - the code point
Returns:
the upper case version of codePoint.
Since:
1.5

toTitleCase

public static int toTitleCase(int codePoint)
toTitleCase converst the given code point to title case.

Parameters:
codePoint - the code point
Returns:
the titlecase version of the code point
Since:
1.5

digit

public static int digit(int codePoint,
                        int radix)
digit return the numeric value of the specified code point for the given radix.

Parameters:
codePoint - the code point
radix - the radix
Returns:
the digit value or -1 if ch is not a valid digit or not within radix.
Since:
1.5

getNumericValue

public static int getNumericValue(int codePoint)
getNumericValue determines the numeric value of the given character, e.g., "1000" for the roman number "M".

Parameters:
codePoint - the code point
Returns:
the numeric value or -2 if the numeric is not a non-negative integer or -1 if the character has no numeric value.
Since:
1.5

isSpaceChar

public static boolean isSpaceChar(int codePoint)
isSpaceChar checks if a code point is a space

Parameters:
codePoint - the code point
Returns:
true iff getType(codePoint) is SPACE_SEPARATOR, LINE_SEPARATOR or PARAGRAPH_SEPARATOR.
Since:
1.1

isWhitespace

public static boolean isWhitespace(int codePoint)
isWhitespace checks if a code point is white space

Parameters:
codePoint - the code point
Returns:
   isSpaceChar(ch) && (ch != ' ') && (ch != '?') && (ch != '?') ||
   ((int) ch == 0x0009) ||
   ((int) ch == 0x000A) ||
   ((int) ch == 0x000B) ||
   ((int) ch == 0x000C) ||
   ((int) ch == 0x000D) ||
   ((int) ch == 0x001C) ||
   ((int) ch == 0x001D) ||
   ((int) ch == 0x001E) ||
   ((int) ch == 0x001F)
 
Since:
1.5

isISOControl

public static boolean isISOControl(int codePoint)
isISOControl checks if a code point is an ISO control character.

Parameters:
codePoint - the code point
Returns:
   ((ch >= '') && (ch <= '')) ||
   ((ch >= '') && (ch <= 'Ÿ'));
 
Since:
1.5

getType

public static int getType(int codePoint)
getType determines the category of a code point.

Parameters:
codePoint - the code point
Returns:
its category, see category constants COMBINING_SPACING_MARK, CONNECTOR_PUNCTUATION, etc.
Since:
1.5

getDirectionality

public static byte getDirectionality(int codePoint)
getDirectionality returns the directionality of the given code point.

Parameters:
codePoint - the code point
Returns:
the directionality, one of the constants DIRECTIONALITY*
Since:
1.5

isMirrored

public static boolean isMirrored(int codePoint)
isMirrored checks if the given code point is mirrored, i.e., will be displayed mirrored vertically when displayed right-to-left.

Parameters:
codePoint - the code point
Returns:
true iff the code point is mirrored, e.g., "(".
Since:
1.5

reverseBytes

public static char reverseBytes(char ch)
reverseBytes swaps the bytes in a given character.

Parameters:
ch - a character
Returns:
the character with bits 0..7 and 8..15 swapped.
Since:
1.5

aicas logoJamaica 3.2 release 62

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2008 aicas GmbH. All Rights Reserved.