JML

java.lang
Class Character

java.lang.Object
  extended byjava.lang.Character
All Implemented Interfaces:
Comparable, Serializable

public final class Character
extends Object
implements Serializable, Comparable


Nested Class Summary
private static class Character.CharacterCache
           
static class Character.Subset
           
static class Character.UnicodeBlock
           
 
Field Summary
static byte COMBINING_SPACING_MARK
           
static byte CONNECTOR_PUNCTUATION
           
static byte CONTROL
           
static byte CURRENCY_SYMBOL
           
static byte DASH_PUNCTUATION
           
static byte DECIMAL_DIGIT_NUMBER
           
static byte DIRECTIONALITY_ARABIC_NUMBER
           
static byte DIRECTIONALITY_BOUNDARY_NEUTRAL
           
static byte DIRECTIONALITY_COMMON_NUMBER_SEPARATOR
           
static byte DIRECTIONALITY_EUROPEAN_NUMBER
           
static byte DIRECTIONALITY_EUROPEAN_NUMBER_SEPARATOR
           
static byte DIRECTIONALITY_EUROPEAN_NUMBER_TERMINATOR
           
static byte DIRECTIONALITY_LEFT_TO_RIGHT
           
static byte DIRECTIONALITY_LEFT_TO_RIGHT_EMBEDDING
           
static byte DIRECTIONALITY_LEFT_TO_RIGHT_OVERRIDE
           
static byte DIRECTIONALITY_NONSPACING_MARK
           
static byte DIRECTIONALITY_OTHER_NEUTRALS
           
static byte DIRECTIONALITY_PARAGRAPH_SEPARATOR
           
static byte DIRECTIONALITY_POP_DIRECTIONAL_FORMAT
           
static byte DIRECTIONALITY_RIGHT_TO_LEFT
           
static byte DIRECTIONALITY_RIGHT_TO_LEFT_ARABIC
           
static byte DIRECTIONALITY_RIGHT_TO_LEFT_EMBEDDING
           
static byte DIRECTIONALITY_RIGHT_TO_LEFT_OVERRIDE
           
static byte DIRECTIONALITY_SEGMENT_SEPARATOR
           
static byte DIRECTIONALITY_UNDEFINED
           
static byte DIRECTIONALITY_WHITESPACE
           
static byte ENCLOSING_MARK
           
static byte END_PUNCTUATION
           
(package private) static int ERROR
           
private static int FAST_PATH_MAX
           
static byte FINAL_QUOTE_PUNCTUATION
           
static byte FORMAT
           
static byte INITIAL_QUOTE_PUNCTUATION
           
static byte LETTER_NUMBER
           
static byte LINE_SEPARATOR
           
static byte LOWERCASE_LETTER
           
static byte MATH_SYMBOL
           
static int MAX_CODE_POINT
           
static char MAX_HIGH_SURROGATE
           
static char MAX_LOW_SURROGATE
           
static int MAX_RADIX
           
static char MAX_SURROGATE
           
static char MAX_VALUE
           
static int MIN_CODE_POINT
           
static char MIN_HIGH_SURROGATE
           
static char MIN_LOW_SURROGATE
           
static int MIN_RADIX
           
static int MIN_SUPPLEMENTARY_CODE_POINT
           
static char MIN_SURROGATE
           
static char MIN_VALUE
           
static byte MODIFIER_LETTER
           
static byte MODIFIER_SYMBOL
           
static byte NON_SPACING_MARK
           
static byte OTHER_LETTER
           
static byte OTHER_NUMBER
           
static byte OTHER_PUNCTUATION
           
static byte OTHER_SYMBOL
           
static byte PARAGRAPH_SEPARATOR
           
static byte PRIVATE_USE
           
private static long serialVersionUID
           
static int SIZE
           
static byte SPACE_SEPARATOR
           
static byte START_PUNCTUATION
           
static byte SURROGATE
           
static byte TITLECASE_LETTER
           
static Class TYPE
           
static byte UNASSIGNED
           
static byte UPPERCASE_LETTER
           
private  char value
           
 
Constructor Summary
Character(char)
           
 
Method Summary
static int charCount(int)
           
 char charValue()
           
static int codePointAt(char[], int)
           
static int codePointAt(char[], int, int)
           
static int codePointAt(CharSequence, int)
           
(package private) static int codePointAtImpl(char[], int, int)
           
static int codePointBefore(char[], int)
           
static int codePointBefore(char[], int, int)
           
static int codePointBefore(CharSequence, int)
           
(package private) static int codePointBeforeImpl(char[], int, int)
           
static int codePointCount(char[], int, int)
           
static int codePointCount(CharSequence, int, int)
           
(package private) static int codePointCountImpl(char[], int, int)
           
 int compareTo(Character)
           
 int compareTo(Object)
           
static int digit(char, int)
           
static int digit(int, int)
           
 boolean equals(Object)
           
static char forDigit(int, int)
           
static byte getDirectionality(char)
           
static byte getDirectionality(int)
           
static int getNumericValue(char)
           
static int getNumericValue(int)
           
private static int getPlane(int)
           
static int getType(char)
           
static int getType(int)
           
 int hashCode()
           
static boolean isDefined(char)
           
static boolean isDefined(int)
           
static boolean isDigit(char)
           
static boolean isDigit(int)
           
static boolean isHighSurrogate(char)
           
static boolean isIdentifierIgnorable(char)
           
static boolean isIdentifierIgnorable(int)
           
static boolean isISOControl(char)
           
static boolean isISOControl(int)
           
static boolean isJavaIdentifierPart(char)
           
static boolean isJavaIdentifierPart(int)
           
static boolean isJavaIdentifierStart(char)
           
static boolean isJavaIdentifierStart(int)
           
static boolean isJavaLetter(char)
           
static boolean isJavaLetterOrDigit(char)
           
static boolean isLetter(char)
           
static boolean isLetter(int)
           
static boolean isLetterOrDigit(char)
           
static boolean isLetterOrDigit(int)
           
static boolean isLowerCase(char)
           
static boolean isLowerCase(int)
           
static boolean isLowSurrogate(char)
           
static boolean isMirrored(char)
           
static boolean isMirrored(int)
           
static boolean isSpace(char)
           
static boolean isSpaceChar(char)
           
static boolean isSpaceChar(int)
           
static boolean isSupplementaryCodePoint(int)
           
static boolean isSurrogatePair(char, char)
           
static boolean isTitleCase(char)
           
static boolean isTitleCase(int)
           
static boolean isUnicodeIdentifierPart(char)
           
static boolean isUnicodeIdentifierPart(int)
           
static boolean isUnicodeIdentifierStart(char)
           
static boolean isUnicodeIdentifierStart(int)
           
static boolean isUpperCase(char)
           
static boolean isUpperCase(int)
           
static boolean isValidCodePoint(int)
           
static boolean isWhitespace(char)
           
static boolean isWhitespace(int)
           
static int offsetByCodePoints(char[], int, int, int, int)
           
static int offsetByCodePoints(CharSequence, int, int)
           
(package private) static int offsetByCodePointsImpl(char[], int, int, int, int)
           
static char reverseBytes(char)
           
static char[] toChars(int)
           
static int toChars(int, char[], int)
           
static int toCodePoint(char, char)
           
static char toLowerCase(char)
           
static int toLowerCase(int)
           
 String toString()
           
static String toString(char)
           
(package private) static void toSurrogates(int, char[], int)
           
static char toTitleCase(char)
           
static int toTitleCase(int)
           
static char toUpperCase(char)
           
static int toUpperCase(int)
           
(package private) static char[] toUpperCaseCharArray(int)
           
(package private) static int toUpperCaseEx(int)
           
static Character valueOf(char)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DIRECTIONALITY_EUROPEAN_NUMBER

public static final byte DIRECTIONALITY_EUROPEAN_NUMBER

DIRECTIONALITY_LEFT_TO_RIGHT_EMBEDDING

public static final byte DIRECTIONALITY_LEFT_TO_RIGHT_EMBEDDING

DIRECTIONALITY_RIGHT_TO_LEFT_ARABIC

public static final byte DIRECTIONALITY_RIGHT_TO_LEFT_ARABIC

MAX_SURROGATE

public static final char MAX_SURROGATE

START_PUNCTUATION

public static final byte START_PUNCTUATION

DASH_PUNCTUATION

public static final byte DASH_PUNCTUATION

MODIFIER_LETTER

public static final byte MODIFIER_LETTER

CONNECTOR_PUNCTUATION

public static final byte CONNECTOR_PUNCTUATION

FINAL_QUOTE_PUNCTUATION

public static final byte FINAL_QUOTE_PUNCTUATION

DIRECTIONALITY_RIGHT_TO_LEFT_EMBEDDING

public static final byte DIRECTIONALITY_RIGHT_TO_LEFT_EMBEDDING

OTHER_PUNCTUATION

public static final byte OTHER_PUNCTUATION

MAX_VALUE

public static final char MAX_VALUE

PRIVATE_USE

public static final byte PRIVATE_USE

DIRECTIONALITY_UNDEFINED

public static final byte DIRECTIONALITY_UNDEFINED

DIRECTIONALITY_RIGHT_TO_LEFT

public static final byte DIRECTIONALITY_RIGHT_TO_LEFT

COMBINING_SPACING_MARK

public static final byte COMBINING_SPACING_MARK

MIN_VALUE

public static final char MIN_VALUE

INITIAL_QUOTE_PUNCTUATION

public static final byte INITIAL_QUOTE_PUNCTUATION

MAX_CODE_POINT

public static final int MAX_CODE_POINT

DECIMAL_DIGIT_NUMBER

public static final byte DECIMAL_DIGIT_NUMBER

END_PUNCTUATION

public static final byte END_PUNCTUATION

value

private final char value

DIRECTIONALITY_LEFT_TO_RIGHT_OVERRIDE

public static final byte DIRECTIONALITY_LEFT_TO_RIGHT_OVERRIDE

DIRECTIONALITY_PARAGRAPH_SEPARATOR

public static final byte DIRECTIONALITY_PARAGRAPH_SEPARATOR

serialVersionUID

private static final long serialVersionUID

DIRECTIONALITY_LEFT_TO_RIGHT

public static final byte DIRECTIONALITY_LEFT_TO_RIGHT

NON_SPACING_MARK

public static final byte NON_SPACING_MARK

MIN_SUPPLEMENTARY_CODE_POINT

public static final int MIN_SUPPLEMENTARY_CODE_POINT

FORMAT

public static final byte FORMAT

MAX_HIGH_SURROGATE

public static final char MAX_HIGH_SURROGATE

MODIFIER_SYMBOL

public static final byte MODIFIER_SYMBOL

PARAGRAPH_SEPARATOR

public static final byte PARAGRAPH_SEPARATOR

SIZE

public static final int SIZE

DIRECTIONALITY_EUROPEAN_NUMBER_SEPARATOR

public static final byte DIRECTIONALITY_EUROPEAN_NUMBER_SEPARATOR

OTHER_LETTER

public static final byte OTHER_LETTER

LETTER_NUMBER

public static final byte LETTER_NUMBER

LOWERCASE_LETTER

public static final byte LOWERCASE_LETTER

MATH_SYMBOL

public static final byte MATH_SYMBOL

DIRECTIONALITY_OTHER_NEUTRALS

public static final byte DIRECTIONALITY_OTHER_NEUTRALS

MIN_CODE_POINT

public static final int MIN_CODE_POINT

ERROR

static final int ERROR

MAX_LOW_SURROGATE

public static final char MAX_LOW_SURROGATE

ENCLOSING_MARK

public static final byte ENCLOSING_MARK

MIN_HIGH_SURROGATE

public static final char MIN_HIGH_SURROGATE

DIRECTIONALITY_WHITESPACE

public static final byte DIRECTIONALITY_WHITESPACE

DIRECTIONALITY_NONSPACING_MARK

public static final byte DIRECTIONALITY_NONSPACING_MARK

LINE_SEPARATOR

public static final byte LINE_SEPARATOR

SURROGATE

public static final byte SURROGATE

FAST_PATH_MAX

private static final int FAST_PATH_MAX

DIRECTIONALITY_POP_DIRECTIONAL_FORMAT

public static final byte DIRECTIONALITY_POP_DIRECTIONAL_FORMAT

UNASSIGNED

public static final byte UNASSIGNED

DIRECTIONALITY_EUROPEAN_NUMBER_TERMINATOR

public static final byte DIRECTIONALITY_EUROPEAN_NUMBER_TERMINATOR

MIN_SURROGATE

public static final char MIN_SURROGATE

TYPE

public static final Class TYPE

TITLECASE_LETTER

public static final byte TITLECASE_LETTER

CONTROL

public static final byte CONTROL

MAX_RADIX

public static final int MAX_RADIX

DIRECTIONALITY_ARABIC_NUMBER

public static final byte DIRECTIONALITY_ARABIC_NUMBER

UPPERCASE_LETTER

public static final byte UPPERCASE_LETTER

DIRECTIONALITY_RIGHT_TO_LEFT_OVERRIDE

public static final byte DIRECTIONALITY_RIGHT_TO_LEFT_OVERRIDE

SPACE_SEPARATOR

public static final byte SPACE_SEPARATOR

MIN_RADIX

public static final int MIN_RADIX

OTHER_SYMBOL

public static final byte OTHER_SYMBOL

CURRENCY_SYMBOL

public static final byte CURRENCY_SYMBOL

MIN_LOW_SURROGATE

public static final char MIN_LOW_SURROGATE

DIRECTIONALITY_BOUNDARY_NEUTRAL

public static final byte DIRECTIONALITY_BOUNDARY_NEUTRAL

OTHER_NUMBER

public static final byte OTHER_NUMBER

DIRECTIONALITY_SEGMENT_SEPARATOR

public static final byte DIRECTIONALITY_SEGMENT_SEPARATOR

DIRECTIONALITY_COMMON_NUMBER_SEPARATOR

public static final byte DIRECTIONALITY_COMMON_NUMBER_SEPARATOR
Constructor Detail

Character

public Character(char)
Method Detail

valueOf

public static Character valueOf(char)

charValue

public char charValue()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

toString

public static String toString(char)

getPlane

private static int getPlane(int)

isValidCodePoint

public static boolean isValidCodePoint(int)

isSupplementaryCodePoint

public static boolean isSupplementaryCodePoint(int)

isHighSurrogate

public static boolean isHighSurrogate(char)

isLowSurrogate

public static boolean isLowSurrogate(char)

isSurrogatePair

public static boolean isSurrogatePair(char,
                                      char)

charCount

public static int charCount(int)

toCodePoint

public static int toCodePoint(char,
                              char)

codePointAt

public static int codePointAt(CharSequence,
                              int)

codePointAt

public static int codePointAt(char[],
                              int)

codePointAt

public static int codePointAt(char[],
                              int,
                              int)

codePointAtImpl

static int codePointAtImpl(char[],
                           int,
                           int)

codePointBefore

public static int codePointBefore(CharSequence,
                                  int)

codePointBefore

public static int codePointBefore(char[],
                                  int)

codePointBefore

public static int codePointBefore(char[],
                                  int,
                                  int)

codePointBeforeImpl

static int codePointBeforeImpl(char[],
                               int,
                               int)

toChars

public static int toChars(int,
                          char[],
                          int)

toChars

public static char[] toChars(int)

toSurrogates

static void toSurrogates(int,
                         char[],
                         int)

codePointCount

public static int codePointCount(CharSequence,
                                 int,
                                 int)

codePointCount

public static int codePointCount(char[],
                                 int,
                                 int)

codePointCountImpl

static int codePointCountImpl(char[],
                              int,
                              int)

offsetByCodePoints

public static int offsetByCodePoints(CharSequence,
                                     int,
                                     int)

offsetByCodePoints

public static int offsetByCodePoints(char[],
                                     int,
                                     int,
                                     int,
                                     int)

offsetByCodePointsImpl

static int offsetByCodePointsImpl(char[],
                                  int,
                                  int,
                                  int,
                                  int)

isLowerCase

public static boolean isLowerCase(char)

isLowerCase

public static boolean isLowerCase(int)

isUpperCase

public static boolean isUpperCase(char)

isUpperCase

public static boolean isUpperCase(int)

isTitleCase

public static boolean isTitleCase(char)

isTitleCase

public static boolean isTitleCase(int)

isDigit

public static boolean isDigit(char)

isDigit

public static boolean isDigit(int)

isDefined

public static boolean isDefined(char)

isDefined

public static boolean isDefined(int)

isLetter

public static boolean isLetter(char)

isLetter

public static boolean isLetter(int)

isLetterOrDigit

public static boolean isLetterOrDigit(char)

isLetterOrDigit

public static boolean isLetterOrDigit(int)

isJavaLetter

public static boolean isJavaLetter(char)

isJavaLetterOrDigit

public static boolean isJavaLetterOrDigit(char)

isJavaIdentifierStart

public static boolean isJavaIdentifierStart(char)

isJavaIdentifierStart

public static boolean isJavaIdentifierStart(int)

isJavaIdentifierPart

public static boolean isJavaIdentifierPart(char)

isJavaIdentifierPart

public static boolean isJavaIdentifierPart(int)

isUnicodeIdentifierStart

public static boolean isUnicodeIdentifierStart(char)

isUnicodeIdentifierStart

public static boolean isUnicodeIdentifierStart(int)

isUnicodeIdentifierPart

public static boolean isUnicodeIdentifierPart(char)

isUnicodeIdentifierPart

public static boolean isUnicodeIdentifierPart(int)

isIdentifierIgnorable

public static boolean isIdentifierIgnorable(char)

isIdentifierIgnorable

public static boolean isIdentifierIgnorable(int)

toLowerCase

public static char toLowerCase(char)

toLowerCase

public static int toLowerCase(int)

toUpperCase

public static char toUpperCase(char)

toUpperCase

public static int toUpperCase(int)

toTitleCase

public static char toTitleCase(char)

toTitleCase

public static int toTitleCase(int)

digit

public static int digit(char,
                        int)

digit

public static int digit(int,
                        int)

getNumericValue

public static int getNumericValue(char)

getNumericValue

public static int getNumericValue(int)

isSpace

public static boolean isSpace(char)

isSpaceChar

public static boolean isSpaceChar(char)

isSpaceChar

public static boolean isSpaceChar(int)

isWhitespace

public static boolean isWhitespace(char)

isWhitespace

public static boolean isWhitespace(int)

isISOControl

public static boolean isISOControl(char)

isISOControl

public static boolean isISOControl(int)

getType

public static int getType(char)

getType

public static int getType(int)

forDigit

public static char forDigit(int,
                            int)

getDirectionality

public static byte getDirectionality(char)

getDirectionality

public static byte getDirectionality(int)

isMirrored

public static boolean isMirrored(char)

isMirrored

public static boolean isMirrored(int)

compareTo

public int compareTo(Character)

toUpperCaseEx

static int toUpperCaseEx(int)

toUpperCaseCharArray

static char[] toUpperCaseCharArray(int)

reverseBytes

public static char reverseBytes(char)

compareTo

public volatile int compareTo(Object)
Specified by:
compareTo in interface Comparable

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.