java.lang.Character (JDK 1.0)
This class provides an immutable object wrapper around the primitive char data type. charValue() returns the char value of a Character object. A number of class methods provide the Java/Unicode equivalent of the C <ctype.h> character macros for checking the type of characters and converting to uppercase and lowercase letters. getType() returns the character type. The return value is one of the constants defined by the class, which represents a number of broad Unicode character categories.
digit() returns the integer equivalent of a given character for a given radix (e.g., radix 16 for hexadecimal). forDigit() returns the character that corresponds to the specified value for the specified radix.
public final classCharacterextends Object implements Serializable { //Public ConstructorpublicCharacter(charvalue); //Constantspublic static final intMAX_RADIX,MIN_RADIX; public static final charMAX_VALUE,MIN_VALUE; 1.1public static final ClassTYPE; //Character Type Constants1.1public static final byteCOMBINING_SPACING_MARK,CONNECTOR_PUNCTUATION,CONTROL; 1.1public static final byteCURRENCY_SYMBOL,DASH_PUNCTUATION,DECIMAL_DIGIT_NUMBER; 1.1public static final byteENCLOSING_MARK,END_PUNCTUATION,FORMAT; 1.1public static final byteLETTER_NUMBER,LINE_SEPARATOR,LOWERCASE_LETTER; 1.1public static final byteMATH_SYMBOL,MODIFIER_LETTER,MODIFIER_SYMBOL; 1.1public static final byteNON_SPACING_MARK,OTHER_LETTER,OTHER_NUMBER; 1.1public static final byteOTHER_PUNCTUATION,OTHER_SYMBOL,PARAGRAPH_SEPARATOR; 1.1public static final bytePRIVATE_USE,SPACE_SEPARATOR,START_PUNCTUATION; 1.1public static final byteSURROGATE,TITLECASE_LETTER,UNASSIGNED; 1.1public static final byteUPPERCASE_LETTER; //Class Methodspublic static intdigit(charch, intradix); public static charforDigit(intdigit, intradix); 1.1public static intgetNumericValue(charch); 1.1public static intgetType(charch); public static booleanisDefined(charch); public static booleanisDigit(charch); 1.1public static booleanisISOControl(charch); 1.1public static booleanisIdentifierIgnorable(charch); 1.1public static booleanisJavaIdentifierPart(charch); 1.1public static booleanisJavaIdentifierStart(charch); # public static booleanisJavaLetter(charch); # public static booleanisJavaLetterOrDigit(charch); public static booleanisLetter(charch); public static booleanisLetterOrDigit(charch); public static booleanisLowerCase(charch); # public static booleanisSpace(charch); 1.1public static booleanisSpaceChar(charch); public static booleanisTitleCase(charch); 1.1public static booleanisUnicodeIdentifierPart(charch); 1.1public static booleanisUnicodeIdentifierStart(charch); public static booleanisUpperCase(charch); 1.1public static booleanisWhitespace(charch); public static chartoLowerCase(charch); public static chartoTitleCase(charch); public static chartoUpperCase(charch); //Public Instance Methodspublic charcharValue(); public booleanequals(Objectobj); //Overrides Objectpublic inthashCode(); //Overrides Objectpublic StringtoString(); //Overrides Object}