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.isSurrogatePair(): It determines whether the specified pair of char values is a valid Unicode surrogate pair.
Character.isTitleCase(): It determines if the specified character is a title case character.
Character.isUnicodeIdentifierPart(): It determines if the specified character may be part of a Unicode identifier other than the first character.
Character.isUnicodeIdentifierStart(): It determines if the specified character is permissible as the first character in a Unicode identifier.
Character.isUpperCase(): It determines if the specified character is an uppercase character.
Character.isValidCodePoint(): It determines whether the specified code point is a valid Unicode code point value.
Character.isWhitespace(): It determines if the specified character is white space according to Java.
Character.lowSurrogate(): It returns the trailing surrogate (a low surrogate code unit) of the surrogate pair representing the specified supplementary character (Unicode code point) in the UTF-16 encoding.
Character Constants Part -I: Some of the constants of the Character class in Java.
Character.offsetByCodePoints(char[] a, int start, int count, int index, int codePointOffset): It returns the index within the given char subarray that is offset from the given index by codePointOffset code points.
Character.offsetByCodePoints(CharSequence seq, int index, int codePointOffset): It returns the index within the given char sequence that is offset from the given index by codePointOffsetcode points.
Character.reverseBytes(): It returns the value obtained by reversing the order of the bytes in the specified char value.
Character constants Part -II: Some of the constants of the Character class in Java.
Character constants Part -III: Some of the constants of the Character class in Java.
Character constants Part - IV: 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
Some more Methods of Character class Part -IV
No comments:
Post a Comment