java.lang.Character
The Character class wraps a value of the primitive type char in an object. An object of class Character contains a single field whose type is char.
In addition, this class provides a large number of static methods for determining a character's category (lowercase letter, digit, etc.)and for converting characters from uppercase to lowercase and vice versa.
Some methods of Character class
Character constants Part -V: Some of the constants of the Character class in Java.
Character constants Part -VI: Some of the constants of the Character class in Java.
Character constants Part -VII: Some of the constants of the Character class in Java.
Character.toChars(): It converts the specified character (Unicode code point) to its UTF-16 representation stored in a char array.
Character.toCodePoint(): It converts the specified surrogate pair to its supplementary codepoint value.
Character.toLowerCase(): It converts the character (or Unicode )argument to lowercase using case mapping information from the UnicodeData file.
toString(): It returns a String object representing this Character's value or This method returns a String object representing the specified char (or Unicode).
Character.toTitleCase(): It converts the character argument to titlecase using case mapping information from the UnicodeData file.
Character.toUpperCase(): It converts the character argument to uppercase using case mapping information from the UnicodeData file.
Character.valueOf(): It returns a Character instance representing the specified char value.
Character constants Part -VIII: Some of the constants of the Character class in Java.
Some more Methods of Character class Part -I
Some more Methods of Character class Part -II
No comments:
Post a Comment