Java Reference
In-Depth Information
were the same except for possible differences in case. The case conver-
sion methods are:
public static codePoint toLowerCase( codePoint ch)
Returns the lowercase character equivalent of ch . If there is
no lowercase equivalent, ch is returned.
public static codePoint toUpperCase( codePoint ch)
Returns the uppercase character equivalent of ch . If there is
no uppercase equivalent, ch is returned.
public static codePoint toTitleCase( codePoint ch)
Returns the titlecase character equivalent of ch. If there is no
titlecase equivalent, the result of toUpperCase(ch) is returned.
The Character class has many methods to test whether a given character
is of a particular type in any Unicode character set (for example, isDigit
recognizes digits in Ethiopic and Khmer). The methods are passed a char
or int code point and return a boolean that answers a question. These
methods are:
Method
Is the Character…
a defined Unicode character?
isDefined
a digit?
isDigit
ignorable in any identifier (such as a
direction control directive)?
isIdentifierIgnorable
 
Search WWH ::




Custom Search