Character.isUpperCase
Class Overview | Class Members |
This Package |
All Packages
public static boolean isUpperCase( char ch )
Parameters
- ch
- the character to be tested.
Returns
true if the character is uppercase;
false otherwise.
Description
Determines if the specified character is an uppercase character.
A character is uppercase if it is not in the range
'\u2000' through '\u2FFF', the Unicode
attribute table does not specify a mapping to uppercase for the
character, and at least one of the following is true:
- The attribute table specifies a mapping to lowercase for the
character.
- The name for the character contains the words
"CAPITAL LETTER".
- The name for the character contains the words
"CAPITAL LIGATURE".
Of the ISO-LATIN-1 characters (character codes 0x0000 through 0x00FF),
the following are uppercase:
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
\u00C0 \u00C1 \u00C2 \u00C3 \u00C4 \u00C5 \u00C6 \u00C7
\u00C8 \u00C9 \u00CA \u00CB \u00CC \u00CD \u00CE \u00CF \u00D0
\u00D1 \u00D2 \u00D3 \u00D4 \u00D5 \u00D6 \u00D8 \u00D9 \u00DA
\u00DB \u00DC \u00DD \u00DE
Many other Unicode characters are uppercase, too.
See Also
isLowerCase, isTitleCase, toUpperCase