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
hashCode(): It returns a hash code for this Character (or the hash code value of the char value).
Character.highSurrogate(): It returns the leading surrogate (a high surrogate code unit) of the surrogate pair representing the specified supplementary character (Unicode code point) in the UTF-16 encoding.
Character.isAlphabetic(): It determines if the specified character (Unicode code point) is alphabetic.
Character.isBmpCodePoint(): It determines whether the specified character (Unicode code point)is in the Basic Multilingual Plane (BMP).
Character.isDefined(): It determines if a character (Unicode code point) is defined in Unicode.
Character.isDigit(): It determines if the specified character is a digit.
Character.isHighSurrogate(): It determines if the given char value is a Unicode high-surrogate code unit.
Character.isIdentifierIgnorable(): It determines if the specified character should be regarded as an ignorable character in a Java identifier or a Unicode identifier.
Character.isIdeographic(): It determines if the specified character (Unicode code point) is a CJKV(Chinese, Japanese, Korean, and Vietnamese) ideograph, as defined by the Unicode Standard.
Character.isISOControl(): It determines if the specified character is an ISO control character.
Character.isJavaIdentifierPart(): It determines if the specified character may be part of a Java identifier as other than the first character.
Character.isJavaIdentifierStart(): It determines if the specified character is permissible as the first character in a Java identifier.
Character.isLetter(): It determines if the specified character is a letter.
Character.isLetterOrDigit(): It determines if the specified character is a letter or digit.
Character.isLowerCase(): It determines if the specified character is a lowercase character.
Character.isLowSurrogate(): It determines if the given char value is a Unicode low-surrogate code unit(also known as a trailing-surrogate code unit).
Character.isMirrored(): It determines whether the character is mirrored according to the Unicode specification. Mirrored characters should have their glyphs horizontally mirrored when displayed in text that is right-to-left.
Character.isSpaceChar(): It determines if the specified character is a Unicode space character.
Character.isSupplementaryCodePoint(): It determines whether the specified character (Unicode code point)is in the supplementary character range.
Character.isSurrogate(): It determines if the given char value is a Unicode surrogate code unit.
Some more Methods of Character class Part- I
Some more Methods of Character class Part -III
Some more Methods of Character class Part -IV
No comments:
Post a Comment