jdk/src/share/classes/java/lang/Character.java
changeset 21334 c60dfce46a77
parent 18776 c17100862d86
child 23010 6dadb192ad81
equal deleted inserted replaced
21333:e940100a7176 21334:c60dfce46a77
  5392      * by {@code Character.getType(ch)}, is
  5392      * by {@code Character.getType(ch)}, is
  5393      * {@code LOWERCASE_LETTER}, or it has contributory property
  5393      * {@code LOWERCASE_LETTER}, or it has contributory property
  5394      * Other_Lowercase as defined by the Unicode Standard.
  5394      * Other_Lowercase as defined by the Unicode Standard.
  5395      * <p>
  5395      * <p>
  5396      * The following are examples of lowercase characters:
  5396      * The following are examples of lowercase characters:
  5397      * <p><blockquote><pre>
  5397      * <blockquote><pre>
  5398      * 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
  5398      * 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
  5399      * '&#92;u00DF' '&#92;u00E0' '&#92;u00E1' '&#92;u00E2' '&#92;u00E3' '&#92;u00E4' '&#92;u00E5' '&#92;u00E6'
  5399      * '&#92;u00DF' '&#92;u00E0' '&#92;u00E1' '&#92;u00E2' '&#92;u00E3' '&#92;u00E4' '&#92;u00E5' '&#92;u00E6'
  5400      * '&#92;u00E7' '&#92;u00E8' '&#92;u00E9' '&#92;u00EA' '&#92;u00EB' '&#92;u00EC' '&#92;u00ED' '&#92;u00EE'
  5400      * '&#92;u00E7' '&#92;u00E8' '&#92;u00E9' '&#92;u00EA' '&#92;u00EB' '&#92;u00EC' '&#92;u00ED' '&#92;u00EE'
  5401      * '&#92;u00EF' '&#92;u00F0' '&#92;u00F1' '&#92;u00F2' '&#92;u00F3' '&#92;u00F4' '&#92;u00F5' '&#92;u00F6'
  5401      * '&#92;u00EF' '&#92;u00F0' '&#92;u00F1' '&#92;u00F2' '&#92;u00F3' '&#92;u00F4' '&#92;u00F5' '&#92;u00F6'
  5402      * '&#92;u00F8' '&#92;u00F9' '&#92;u00FA' '&#92;u00FB' '&#92;u00FC' '&#92;u00FD' '&#92;u00FE' '&#92;u00FF'
  5402      * '&#92;u00F8' '&#92;u00F9' '&#92;u00FA' '&#92;u00FB' '&#92;u00FC' '&#92;u00FD' '&#92;u00FE' '&#92;u00FF'
  5428      * by {@link Character#getType getType(codePoint)}, is
  5428      * by {@link Character#getType getType(codePoint)}, is
  5429      * {@code LOWERCASE_LETTER}, or it has contributory property
  5429      * {@code LOWERCASE_LETTER}, or it has contributory property
  5430      * Other_Lowercase as defined by the Unicode Standard.
  5430      * Other_Lowercase as defined by the Unicode Standard.
  5431      * <p>
  5431      * <p>
  5432      * The following are examples of lowercase characters:
  5432      * The following are examples of lowercase characters:
  5433      * <p><blockquote><pre>
  5433      * <blockquote><pre>
  5434      * 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
  5434      * 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
  5435      * '&#92;u00DF' '&#92;u00E0' '&#92;u00E1' '&#92;u00E2' '&#92;u00E3' '&#92;u00E4' '&#92;u00E5' '&#92;u00E6'
  5435      * '&#92;u00DF' '&#92;u00E0' '&#92;u00E1' '&#92;u00E2' '&#92;u00E3' '&#92;u00E4' '&#92;u00E5' '&#92;u00E6'
  5436      * '&#92;u00E7' '&#92;u00E8' '&#92;u00E9' '&#92;u00EA' '&#92;u00EB' '&#92;u00EC' '&#92;u00ED' '&#92;u00EE'
  5436      * '&#92;u00E7' '&#92;u00E8' '&#92;u00E9' '&#92;u00EA' '&#92;u00EB' '&#92;u00EC' '&#92;u00ED' '&#92;u00EE'
  5437      * '&#92;u00EF' '&#92;u00F0' '&#92;u00F1' '&#92;u00F2' '&#92;u00F3' '&#92;u00F4' '&#92;u00F5' '&#92;u00F6'
  5437      * '&#92;u00EF' '&#92;u00F0' '&#92;u00F1' '&#92;u00F2' '&#92;u00F3' '&#92;u00F4' '&#92;u00F5' '&#92;u00F6'
  5438      * '&#92;u00F8' '&#92;u00F9' '&#92;u00FA' '&#92;u00FB' '&#92;u00FC' '&#92;u00FD' '&#92;u00FE' '&#92;u00FF'
  5438      * '&#92;u00F8' '&#92;u00F9' '&#92;u00FA' '&#92;u00FB' '&#92;u00FC' '&#92;u00FD' '&#92;u00FE' '&#92;u00FF'
  5459      * A character is uppercase if its general category type, provided by
  5459      * A character is uppercase if its general category type, provided by
  5460      * {@code Character.getType(ch)}, is {@code UPPERCASE_LETTER}.
  5460      * {@code Character.getType(ch)}, is {@code UPPERCASE_LETTER}.
  5461      * or it has contributory property Other_Uppercase as defined by the Unicode Standard.
  5461      * or it has contributory property Other_Uppercase as defined by the Unicode Standard.
  5462      * <p>
  5462      * <p>
  5463      * The following are examples of uppercase characters:
  5463      * The following are examples of uppercase characters:
  5464      * <p><blockquote><pre>
  5464      * <blockquote><pre>
  5465      * 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
  5465      * 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
  5466      * '&#92;u00C0' '&#92;u00C1' '&#92;u00C2' '&#92;u00C3' '&#92;u00C4' '&#92;u00C5' '&#92;u00C6' '&#92;u00C7'
  5466      * '&#92;u00C0' '&#92;u00C1' '&#92;u00C2' '&#92;u00C3' '&#92;u00C4' '&#92;u00C5' '&#92;u00C6' '&#92;u00C7'
  5467      * '&#92;u00C8' '&#92;u00C9' '&#92;u00CA' '&#92;u00CB' '&#92;u00CC' '&#92;u00CD' '&#92;u00CE' '&#92;u00CF'
  5467      * '&#92;u00C8' '&#92;u00C9' '&#92;u00CA' '&#92;u00CB' '&#92;u00CC' '&#92;u00CD' '&#92;u00CE' '&#92;u00CF'
  5468      * '&#92;u00D0' '&#92;u00D1' '&#92;u00D2' '&#92;u00D3' '&#92;u00D4' '&#92;u00D5' '&#92;u00D6' '&#92;u00D8'
  5468      * '&#92;u00D0' '&#92;u00D1' '&#92;u00D2' '&#92;u00D3' '&#92;u00D4' '&#92;u00D5' '&#92;u00D6' '&#92;u00D8'
  5469      * '&#92;u00D9' '&#92;u00DA' '&#92;u00DB' '&#92;u00DC' '&#92;u00DD' '&#92;u00DE'
  5469      * '&#92;u00D9' '&#92;u00DA' '&#92;u00DB' '&#92;u00DC' '&#92;u00DD' '&#92;u00DE'
  5470      * </pre></blockquote>
  5470      * </pre></blockquote>
  5471      * <p> Many other Unicode characters are uppercase too.<p>
  5471      * <p> Many other Unicode characters are uppercase too.
  5472      *
  5472      *
  5473      * <p><b>Note:</b> This method cannot handle <a
  5473      * <p><b>Note:</b> This method cannot handle <a
  5474      * href="#supplementary"> supplementary characters</a>. To support
  5474      * href="#supplementary"> supplementary characters</a>. To support
  5475      * all Unicode characters, including supplementary characters, use
  5475      * all Unicode characters, including supplementary characters, use
  5476      * the {@link #isUpperCase(int)} method.
  5476      * the {@link #isUpperCase(int)} method.
  5494      * A character is uppercase if its general category type, provided by
  5494      * A character is uppercase if its general category type, provided by
  5495      * {@link Character#getType(int) getType(codePoint)}, is {@code UPPERCASE_LETTER},
  5495      * {@link Character#getType(int) getType(codePoint)}, is {@code UPPERCASE_LETTER},
  5496      * or it has contributory property Other_Uppercase as defined by the Unicode Standard.
  5496      * or it has contributory property Other_Uppercase as defined by the Unicode Standard.
  5497      * <p>
  5497      * <p>
  5498      * The following are examples of uppercase characters:
  5498      * The following are examples of uppercase characters:
  5499      * <p><blockquote><pre>
  5499      * <blockquote><pre>
  5500      * 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
  5500      * 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
  5501      * '&#92;u00C0' '&#92;u00C1' '&#92;u00C2' '&#92;u00C3' '&#92;u00C4' '&#92;u00C5' '&#92;u00C6' '&#92;u00C7'
  5501      * '&#92;u00C0' '&#92;u00C1' '&#92;u00C2' '&#92;u00C3' '&#92;u00C4' '&#92;u00C5' '&#92;u00C6' '&#92;u00C7'
  5502      * '&#92;u00C8' '&#92;u00C9' '&#92;u00CA' '&#92;u00CB' '&#92;u00CC' '&#92;u00CD' '&#92;u00CE' '&#92;u00CF'
  5502      * '&#92;u00C8' '&#92;u00C9' '&#92;u00CA' '&#92;u00CB' '&#92;u00CC' '&#92;u00CD' '&#92;u00CE' '&#92;u00CF'
  5503      * '&#92;u00D0' '&#92;u00D1' '&#92;u00D2' '&#92;u00D3' '&#92;u00D4' '&#92;u00D5' '&#92;u00D6' '&#92;u00D8'
  5503      * '&#92;u00D0' '&#92;u00D1' '&#92;u00D2' '&#92;u00D3' '&#92;u00D4' '&#92;u00D5' '&#92;u00D6' '&#92;u00D8'
  5504      * '&#92;u00D9' '&#92;u00DA' '&#92;u00DB' '&#92;u00DC' '&#92;u00DD' '&#92;u00DE'
  5504      * '&#92;u00D9' '&#92;u00DA' '&#92;u00DB' '&#92;u00DC' '&#92;u00DD' '&#92;u00DE'
  5538      * <li>{@code LATIN CAPITAL LETTER D WITH SMALL LETTER Z WITH CARON}
  5538      * <li>{@code LATIN CAPITAL LETTER D WITH SMALL LETTER Z WITH CARON}
  5539      * <li>{@code LATIN CAPITAL LETTER L WITH SMALL LETTER J}
  5539      * <li>{@code LATIN CAPITAL LETTER L WITH SMALL LETTER J}
  5540      * <li>{@code LATIN CAPITAL LETTER N WITH SMALL LETTER J}
  5540      * <li>{@code LATIN CAPITAL LETTER N WITH SMALL LETTER J}
  5541      * <li>{@code LATIN CAPITAL LETTER D WITH SMALL LETTER Z}
  5541      * <li>{@code LATIN CAPITAL LETTER D WITH SMALL LETTER Z}
  5542      * </ul>
  5542      * </ul>
  5543      * <p> Many other Unicode characters are titlecase too.<p>
  5543      * <p> Many other Unicode characters are titlecase too.
  5544      *
  5544      *
  5545      * <p><b>Note:</b> This method cannot handle <a
  5545      * <p><b>Note:</b> This method cannot handle <a
  5546      * href="#supplementary"> supplementary characters</a>. To support
  5546      * href="#supplementary"> supplementary characters</a>. To support
  5547      * all Unicode characters, including supplementary characters, use
  5547      * all Unicode characters, including supplementary characters, use
  5548      * the {@link #isTitleCase(int)} method.
  5548      * the {@link #isTitleCase(int)} method.