| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Character
| Constructor Summary | |
| Character(char value)Constructs a new instance of the receiver which represents the char valued argument. | |
| Method Summary | |
|  char | charValue()Answers the char value which the receiver represents. | 
|  int | compareTo(Character c)Compare the receiver to the specified Character to determine the relative ordering. | 
|  int | compareTo(java.lang.Object o)Answers an integer indicating the relative positions of the receiver and the argument in the natural order of elements of the receiver's class. | 
| static boolean | isDigit(char c)Answers whether the character is a digit. | 
| static boolean | isLetter(char c)Answers whether the character is a letter. | 
| static boolean | isLetterOrDigit(char c)Answers whether the character is a letter or a digit. | 
| static boolean | isSpaceChar(char c)Answers whether the character is a Unicode space character. | 
| static boolean | isWhitespace(char c)Answers whether the character is a whitespace character in Java. | 
| static char | toLowerCase(char c)Answers the lower case equivalent for the character when the character is an upper case letter, otherwise answer the character. | 
| static char | toUpperCase(char c)Answers the upper case equivalent for the character when the character is a lower case letter, otherwise answer the character. | 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public Character(char value)
value - the char to store in the new instance.| Method Detail | 
public char charValue()
public int compareTo(Character c)
c - the Character
NullPointerException - if c is null.public int compareTo(java.lang.Object o)
Comparable
compareTo in interface Comparableo - Object an object to compare the receiver to
public static char toLowerCase(char c)
c - the character
c is not a lower case character then
         its lower case counterpart, otherwise just cpublic static char toUpperCase(char c)
c - the character
c is not an upper case character then
         its upper case counterpart, otherwise just cpublic static boolean isDigit(char c)
c - the character
public static boolean isWhitespace(char c)
c - the character
true if the supplied c is a
         whitespace character in Java, otherwise false.public static boolean isLetter(char c)
c - the character
public static boolean isLetterOrDigit(char c)
c - the character
public static boolean isSpaceChar(char c)
c - the character
| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||