提交 13c1eea6 编写于 作者: M martin

6963749: Minor improvements to Character.UnicodeBlock

Summary: Fix surrogate area docs; make source more readable
Reviewed-by: okutsu, sherman
Contributed-by: NUlf Zibis <ulf.zibis@gmx.de>
上级 7f791737
...@@ -663,6 +663,9 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -663,6 +663,9 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
} }
} }
// See http://www.unicode.org/Public/UNIDATA/Blocks.txt
// for the latest specification of Unicode Blocks.
/** /**
* A family of character subsets representing the character blocks in the * A family of character subsets representing the character blocks in the
* Unicode specification. Character blocks generally define characters * Unicode specification. Character blocks generally define characters
...@@ -676,34 +679,31 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -676,34 +679,31 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
private static Map map = new HashMap(); private static Map map = new HashMap();
/** /**
* Create a UnicodeBlock with the given identifier name. * Creates a UnicodeBlock with the given identifier name.
* This name must be the same as the block identifier. * This name must be the same as the block identifier.
*/ */
private UnicodeBlock(String idName) { private UnicodeBlock(String idName) {
super(idName); super(idName);
map.put(idName.toUpperCase(Locale.US), this); map.put(idName, this);
} }
/** /**
* Create a UnicodeBlock with the given identifier name and * Creates a UnicodeBlock with the given identifier name and
* alias name. * alias name.
*/ */
private UnicodeBlock(String idName, String alias) { private UnicodeBlock(String idName, String alias) {
this(idName); this(idName);
map.put(alias.toUpperCase(Locale.US), this); map.put(alias, this);
} }
/** /**
* Create a UnicodeBlock with the given identifier name and * Creates a UnicodeBlock with the given identifier name and
* alias names. * alias names.
*/ */
private UnicodeBlock(String idName, String[] aliasName) { private UnicodeBlock(String idName, String... aliases) {
this(idName); this(idName);
if (aliasName != null) { for (String alias : aliases)
for(int x=0; x<aliasName.length; ++x) { map.put(alias, this);
map.put(aliasName[x].toUpperCase(Locale.US), this);
}
}
} }
/** /**
...@@ -711,51 +711,63 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -711,51 +711,63 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock BASIC_LATIN = public static final UnicodeBlock BASIC_LATIN =
new UnicodeBlock("BASIC_LATIN", new String[] {"Basic Latin", "BasicLatin" }); new UnicodeBlock("BASIC_LATIN",
"BASIC LATIN",
"BASICLATIN");
/** /**
* Constant for the "Latin-1 Supplement" Unicode character block. * Constant for the "Latin-1 Supplement" Unicode character block.
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock LATIN_1_SUPPLEMENT = public static final UnicodeBlock LATIN_1_SUPPLEMENT =
new UnicodeBlock("LATIN_1_SUPPLEMENT", new String[]{ "Latin-1 Supplement", "Latin-1Supplement"}); new UnicodeBlock("LATIN_1_SUPPLEMENT",
"LATIN-1 SUPPLEMENT",
"LATIN-1SUPPLEMENT");
/** /**
* Constant for the "Latin Extended-A" Unicode character block. * Constant for the "Latin Extended-A" Unicode character block.
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock LATIN_EXTENDED_A = public static final UnicodeBlock LATIN_EXTENDED_A =
new UnicodeBlock("LATIN_EXTENDED_A", new String[]{ "Latin Extended-A", "LatinExtended-A"}); new UnicodeBlock("LATIN_EXTENDED_A",
"LATIN EXTENDED-A",
"LATINEXTENDED-A");
/** /**
* Constant for the "Latin Extended-B" Unicode character block. * Constant for the "Latin Extended-B" Unicode character block.
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock LATIN_EXTENDED_B = public static final UnicodeBlock LATIN_EXTENDED_B =
new UnicodeBlock("LATIN_EXTENDED_B", new String[] {"Latin Extended-B", "LatinExtended-B"}); new UnicodeBlock("LATIN_EXTENDED_B",
"LATIN EXTENDED-B",
"LATINEXTENDED-B");
/** /**
* Constant for the "IPA Extensions" Unicode character block. * Constant for the "IPA Extensions" Unicode character block.
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock IPA_EXTENSIONS = public static final UnicodeBlock IPA_EXTENSIONS =
new UnicodeBlock("IPA_EXTENSIONS", new String[] {"IPA Extensions", "IPAExtensions"}); new UnicodeBlock("IPA_EXTENSIONS",
"IPA EXTENSIONS",
"IPAEXTENSIONS");
/** /**
* Constant for the "Spacing Modifier Letters" Unicode character block. * Constant for the "Spacing Modifier Letters" Unicode character block.
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock SPACING_MODIFIER_LETTERS = public static final UnicodeBlock SPACING_MODIFIER_LETTERS =
new UnicodeBlock("SPACING_MODIFIER_LETTERS", new String[] { "Spacing Modifier Letters", new UnicodeBlock("SPACING_MODIFIER_LETTERS",
"SpacingModifierLetters"}); "SPACING MODIFIER LETTERS",
"SPACINGMODIFIERLETTERS");
/** /**
* Constant for the "Combining Diacritical Marks" Unicode character block. * Constant for the "Combining Diacritical Marks" Unicode character block.
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock COMBINING_DIACRITICAL_MARKS = public static final UnicodeBlock COMBINING_DIACRITICAL_MARKS =
new UnicodeBlock("COMBINING_DIACRITICAL_MARKS", new String[] {"Combining Diacritical Marks", new UnicodeBlock("COMBINING_DIACRITICAL_MARKS",
"CombiningDiacriticalMarks" }); "COMBINING DIACRITICAL MARKS",
"COMBININGDIACRITICALMARKS");
/** /**
* Constant for the "Greek and Coptic" Unicode character block. * Constant for the "Greek and Coptic" Unicode character block.
...@@ -764,8 +776,10 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -764,8 +776,10 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
* *
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock GREEK public static final UnicodeBlock GREEK =
= new UnicodeBlock("GREEK", new String[] {"Greek and Coptic", "GreekandCoptic"}); new UnicodeBlock("GREEK",
"GREEK AND COPTIC",
"GREEKANDCOPTIC");
/** /**
* Constant for the "Cyrillic" Unicode character block. * Constant for the "Cyrillic" Unicode character block.
...@@ -891,44 +905,54 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -891,44 +905,54 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock HANGUL_JAMO = public static final UnicodeBlock HANGUL_JAMO =
new UnicodeBlock("HANGUL_JAMO", new String[] {"Hangul Jamo", "HangulJamo"}); new UnicodeBlock("HANGUL_JAMO",
"HANGUL JAMO",
"HANGULJAMO");
/** /**
* Constant for the "Latin Extended Additional" Unicode character block. * Constant for the "Latin Extended Additional" Unicode character block.
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock LATIN_EXTENDED_ADDITIONAL = public static final UnicodeBlock LATIN_EXTENDED_ADDITIONAL =
new UnicodeBlock("LATIN_EXTENDED_ADDITIONAL", new String[] {"Latin Extended Additional", new UnicodeBlock("LATIN_EXTENDED_ADDITIONAL",
"LatinExtendedAdditional"}); "LATIN EXTENDED ADDITIONAL",
"LATINEXTENDEDADDITIONAL");
/** /**
* Constant for the "Greek Extended" Unicode character block. * Constant for the "Greek Extended" Unicode character block.
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock GREEK_EXTENDED = public static final UnicodeBlock GREEK_EXTENDED =
new UnicodeBlock("GREEK_EXTENDED", new String[] {"Greek Extended", "GreekExtended"}); new UnicodeBlock("GREEK_EXTENDED",
"GREEK EXTENDED",
"GREEKEXTENDED");
/** /**
* Constant for the "General Punctuation" Unicode character block. * Constant for the "General Punctuation" Unicode character block.
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock GENERAL_PUNCTUATION = public static final UnicodeBlock GENERAL_PUNCTUATION =
new UnicodeBlock("GENERAL_PUNCTUATION", new String[] {"General Punctuation", "GeneralPunctuation"}); new UnicodeBlock("GENERAL_PUNCTUATION",
"GENERAL PUNCTUATION",
"GENERALPUNCTUATION");
/** /**
* Constant for the "Superscripts and Subscripts" Unicode character block. * Constant for the "Superscripts and Subscripts" Unicode character block.
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock SUPERSCRIPTS_AND_SUBSCRIPTS = public static final UnicodeBlock SUPERSCRIPTS_AND_SUBSCRIPTS =
new UnicodeBlock("SUPERSCRIPTS_AND_SUBSCRIPTS", new String[] {"Superscripts and Subscripts", new UnicodeBlock("SUPERSCRIPTS_AND_SUBSCRIPTS",
"SuperscriptsandSubscripts" }); "SUPERSCRIPTS AND SUBSCRIPTS",
"SUPERSCRIPTSANDSUBSCRIPTS");
/** /**
* Constant for the "Currency Symbols" Unicode character block. * Constant for the "Currency Symbols" Unicode character block.
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock CURRENCY_SYMBOLS = public static final UnicodeBlock CURRENCY_SYMBOLS =
new UnicodeBlock("CURRENCY_SYMBOLS", new String[] { "Currency Symbols", "CurrencySymbols"}); new UnicodeBlock("CURRENCY_SYMBOLS",
"CURRENCY SYMBOLS",
"CURRENCYSYMBOLS");
/** /**
* Constant for the "Combining Diacritical Marks for Symbols" Unicode character block. * Constant for the "Combining Diacritical Marks for Symbols" Unicode character block.
...@@ -937,24 +961,29 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -937,24 +961,29 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock COMBINING_MARKS_FOR_SYMBOLS = public static final UnicodeBlock COMBINING_MARKS_FOR_SYMBOLS =
new UnicodeBlock("COMBINING_MARKS_FOR_SYMBOLS", new String[] {"Combining Diacritical Marks for Symbols", new UnicodeBlock("COMBINING_MARKS_FOR_SYMBOLS",
"CombiningDiacriticalMarksforSymbols", "COMBINING DIACRITICAL MARKS FOR SYMBOLS",
"Combining Marks for Symbols", "COMBININGDIACRITICALMARKSFORSYMBOLS",
"CombiningMarksforSymbols" }); "COMBINING MARKS FOR SYMBOLS",
"COMBININGMARKSFORSYMBOLS");
/** /**
* Constant for the "Letterlike Symbols" Unicode character block. * Constant for the "Letterlike Symbols" Unicode character block.
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock LETTERLIKE_SYMBOLS = public static final UnicodeBlock LETTERLIKE_SYMBOLS =
new UnicodeBlock("LETTERLIKE_SYMBOLS", new String[] { "Letterlike Symbols", "LetterlikeSymbols"}); new UnicodeBlock("LETTERLIKE_SYMBOLS",
"LETTERLIKE SYMBOLS",
"LETTERLIKESYMBOLS");
/** /**
* Constant for the "Number Forms" Unicode character block. * Constant for the "Number Forms" Unicode character block.
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock NUMBER_FORMS = public static final UnicodeBlock NUMBER_FORMS =
new UnicodeBlock("NUMBER_FORMS", new String[] {"Number Forms", "NumberForms"}); new UnicodeBlock("NUMBER_FORMS",
"NUMBER FORMS",
"NUMBERFORMS");
/** /**
* Constant for the "Arrows" Unicode character block. * Constant for the "Arrows" Unicode character block.
...@@ -968,68 +997,81 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -968,68 +997,81 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock MATHEMATICAL_OPERATORS = public static final UnicodeBlock MATHEMATICAL_OPERATORS =
new UnicodeBlock("MATHEMATICAL_OPERATORS", new String[] {"Mathematical Operators", new UnicodeBlock("MATHEMATICAL_OPERATORS",
"MathematicalOperators"}); "MATHEMATICAL OPERATORS",
"MATHEMATICALOPERATORS");
/** /**
* Constant for the "Miscellaneous Technical" Unicode character block. * Constant for the "Miscellaneous Technical" Unicode character block.
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock MISCELLANEOUS_TECHNICAL = public static final UnicodeBlock MISCELLANEOUS_TECHNICAL =
new UnicodeBlock("MISCELLANEOUS_TECHNICAL", new String[] {"Miscellaneous Technical", new UnicodeBlock("MISCELLANEOUS_TECHNICAL",
"MiscellaneousTechnical"}); "MISCELLANEOUS TECHNICAL",
"MISCELLANEOUSTECHNICAL");
/** /**
* Constant for the "Control Pictures" Unicode character block. * Constant for the "Control Pictures" Unicode character block.
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock CONTROL_PICTURES = public static final UnicodeBlock CONTROL_PICTURES =
new UnicodeBlock("CONTROL_PICTURES", new String[] {"Control Pictures", "ControlPictures"}); new UnicodeBlock("CONTROL_PICTURES",
"CONTROL PICTURES",
"CONTROLPICTURES");
/** /**
* Constant for the "Optical Character Recognition" Unicode character block. * Constant for the "Optical Character Recognition" Unicode character block.
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock OPTICAL_CHARACTER_RECOGNITION = public static final UnicodeBlock OPTICAL_CHARACTER_RECOGNITION =
new UnicodeBlock("OPTICAL_CHARACTER_RECOGNITION", new String[] {"Optical Character Recognition", new UnicodeBlock("OPTICAL_CHARACTER_RECOGNITION",
"OpticalCharacterRecognition"}); "OPTICAL CHARACTER RECOGNITION",
"OPTICALCHARACTERRECOGNITION");
/** /**
* Constant for the "Enclosed Alphanumerics" Unicode character block. * Constant for the "Enclosed Alphanumerics" Unicode character block.
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock ENCLOSED_ALPHANUMERICS = public static final UnicodeBlock ENCLOSED_ALPHANUMERICS =
new UnicodeBlock("ENCLOSED_ALPHANUMERICS", new String[] {"Enclosed Alphanumerics", new UnicodeBlock("ENCLOSED_ALPHANUMERICS",
"EnclosedAlphanumerics"}); "ENCLOSED ALPHANUMERICS",
"ENCLOSEDALPHANUMERICS");
/** /**
* Constant for the "Box Drawing" Unicode character block. * Constant for the "Box Drawing" Unicode character block.
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock BOX_DRAWING = public static final UnicodeBlock BOX_DRAWING =
new UnicodeBlock("BOX_DRAWING", new String[] {"Box Drawing", "BoxDrawing"}); new UnicodeBlock("BOX_DRAWING",
"BOX DRAWING",
"BOXDRAWING");
/** /**
* Constant for the "Block Elements" Unicode character block. * Constant for the "Block Elements" Unicode character block.
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock BLOCK_ELEMENTS = public static final UnicodeBlock BLOCK_ELEMENTS =
new UnicodeBlock("BLOCK_ELEMENTS", new String[] {"Block Elements", "BlockElements"}); new UnicodeBlock("BLOCK_ELEMENTS",
"BLOCK ELEMENTS",
"BLOCKELEMENTS");
/** /**
* Constant for the "Geometric Shapes" Unicode character block. * Constant for the "Geometric Shapes" Unicode character block.
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock GEOMETRIC_SHAPES = public static final UnicodeBlock GEOMETRIC_SHAPES =
new UnicodeBlock("GEOMETRIC_SHAPES", new String[] {"Geometric Shapes", "GeometricShapes"}); new UnicodeBlock("GEOMETRIC_SHAPES",
"GEOMETRIC SHAPES",
"GEOMETRICSHAPES");
/** /**
* Constant for the "Miscellaneous Symbols" Unicode character block. * Constant for the "Miscellaneous Symbols" Unicode character block.
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock MISCELLANEOUS_SYMBOLS = public static final UnicodeBlock MISCELLANEOUS_SYMBOLS =
new UnicodeBlock("MISCELLANEOUS_SYMBOLS", new String[] {"Miscellaneous Symbols", new UnicodeBlock("MISCELLANEOUS_SYMBOLS",
"MiscellaneousSymbols"}); "MISCELLANEOUS SYMBOLS",
"MISCELLANEOUSSYMBOLS");
/** /**
* Constant for the "Dingbats" Unicode character block. * Constant for the "Dingbats" Unicode character block.
...@@ -1043,8 +1085,9 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1043,8 +1085,9 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock CJK_SYMBOLS_AND_PUNCTUATION = public static final UnicodeBlock CJK_SYMBOLS_AND_PUNCTUATION =
new UnicodeBlock("CJK_SYMBOLS_AND_PUNCTUATION", new String[] {"CJK Symbols and Punctuation", new UnicodeBlock("CJK_SYMBOLS_AND_PUNCTUATION",
"CJKSymbolsandPunctuation"}); "CJK SYMBOLS AND PUNCTUATION",
"CJKSYMBOLSANDPUNCTUATION");
/** /**
* Constant for the "Hiragana" Unicode character block. * Constant for the "Hiragana" Unicode character block.
...@@ -1072,8 +1115,9 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1072,8 +1115,9 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock HANGUL_COMPATIBILITY_JAMO = public static final UnicodeBlock HANGUL_COMPATIBILITY_JAMO =
new UnicodeBlock("HANGUL_COMPATIBILITY_JAMO", new String[] {"Hangul Compatibility Jamo", new UnicodeBlock("HANGUL_COMPATIBILITY_JAMO",
"HangulCompatibilityJamo"}); "HANGUL COMPATIBILITY JAMO",
"HANGULCOMPATIBILITYJAMO");
/** /**
* Constant for the "Kanbun" Unicode character block. * Constant for the "Kanbun" Unicode character block.
...@@ -1087,37 +1131,45 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1087,37 +1131,45 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock ENCLOSED_CJK_LETTERS_AND_MONTHS = public static final UnicodeBlock ENCLOSED_CJK_LETTERS_AND_MONTHS =
new UnicodeBlock("ENCLOSED_CJK_LETTERS_AND_MONTHS", new String[] {"Enclosed CJK Letters and Months", new UnicodeBlock("ENCLOSED_CJK_LETTERS_AND_MONTHS",
"EnclosedCJKLettersandMonths"}); "ENCLOSED CJK LETTERS AND MONTHS",
"ENCLOSEDCJKLETTERSANDMONTHS");
/** /**
* Constant for the "CJK Compatibility" Unicode character block. * Constant for the "CJK Compatibility" Unicode character block.
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock CJK_COMPATIBILITY = public static final UnicodeBlock CJK_COMPATIBILITY =
new UnicodeBlock("CJK_COMPATIBILITY", new String[] {"CJK Compatibility", "CJKCompatibility"}); new UnicodeBlock("CJK_COMPATIBILITY",
"CJK COMPATIBILITY",
"CJKCOMPATIBILITY");
/** /**
* Constant for the "CJK Unified Ideographs" Unicode character block. * Constant for the "CJK Unified Ideographs" Unicode character block.
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock CJK_UNIFIED_IDEOGRAPHS = public static final UnicodeBlock CJK_UNIFIED_IDEOGRAPHS =
new UnicodeBlock("CJK_UNIFIED_IDEOGRAPHS", new String[] {"CJK Unified Ideographs", new UnicodeBlock("CJK_UNIFIED_IDEOGRAPHS",
"CJKUnifiedIdeographs"}); "CJK UNIFIED IDEOGRAPHS",
"CJKUNIFIEDIDEOGRAPHS");
/** /**
* Constant for the "Hangul Syllables" Unicode character block. * Constant for the "Hangul Syllables" Unicode character block.
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock HANGUL_SYLLABLES = public static final UnicodeBlock HANGUL_SYLLABLES =
new UnicodeBlock("HANGUL_SYLLABLES", new String[] {"Hangul Syllables", "HangulSyllables"}); new UnicodeBlock("HANGUL_SYLLABLES",
"HANGUL SYLLABLES",
"HANGULSYLLABLES");
/** /**
* Constant for the "Private Use Area" Unicode character block. * Constant for the "Private Use Area" Unicode character block.
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock PRIVATE_USE_AREA = public static final UnicodeBlock PRIVATE_USE_AREA =
new UnicodeBlock("PRIVATE_USE_AREA", new String[] {"Private Use Area", "PrivateUseArea"}); new UnicodeBlock("PRIVATE_USE_AREA",
"PRIVATE USE AREA",
"PRIVATEUSEAREA");
/** /**
* Constant for the "CJK Compatibility Ideographs" Unicode character block. * Constant for the "CJK Compatibility Ideographs" Unicode character block.
...@@ -1125,56 +1177,62 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1125,56 +1177,62 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock CJK_COMPATIBILITY_IDEOGRAPHS = public static final UnicodeBlock CJK_COMPATIBILITY_IDEOGRAPHS =
new UnicodeBlock("CJK_COMPATIBILITY_IDEOGRAPHS", new UnicodeBlock("CJK_COMPATIBILITY_IDEOGRAPHS",
new String[] {"CJK Compatibility Ideographs", "CJK COMPATIBILITY IDEOGRAPHS",
"CJKCompatibilityIdeographs"}); "CJKCOMPATIBILITYIDEOGRAPHS");
/** /**
* Constant for the "Alphabetic Presentation Forms" Unicode character block. * Constant for the "Alphabetic Presentation Forms" Unicode character block.
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock ALPHABETIC_PRESENTATION_FORMS = public static final UnicodeBlock ALPHABETIC_PRESENTATION_FORMS =
new UnicodeBlock("ALPHABETIC_PRESENTATION_FORMS", new String[] {"Alphabetic Presentation Forms", new UnicodeBlock("ALPHABETIC_PRESENTATION_FORMS",
"AlphabeticPresentationForms"}); "ALPHABETIC PRESENTATION FORMS",
"ALPHABETICPRESENTATIONFORMS");
/** /**
* Constant for the "Arabic Presentation Forms-A" Unicode character block. * Constant for the "Arabic Presentation Forms-A" Unicode character block.
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock ARABIC_PRESENTATION_FORMS_A = public static final UnicodeBlock ARABIC_PRESENTATION_FORMS_A =
new UnicodeBlock("ARABIC_PRESENTATION_FORMS_A", new String[] {"Arabic Presentation Forms-A", new UnicodeBlock("ARABIC_PRESENTATION_FORMS_A",
"ArabicPresentationForms-A"}); "ARABIC PRESENTATION FORMS-A",
"ARABICPRESENTATIONFORMS-A");
/** /**
* Constant for the "Combining Half Marks" Unicode character block. * Constant for the "Combining Half Marks" Unicode character block.
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock COMBINING_HALF_MARKS = public static final UnicodeBlock COMBINING_HALF_MARKS =
new UnicodeBlock("COMBINING_HALF_MARKS", new String[] {"Combining Half Marks", new UnicodeBlock("COMBINING_HALF_MARKS",
"CombiningHalfMarks"}); "COMBINING HALF MARKS",
"COMBININGHALFMARKS");
/** /**
* Constant for the "CJK Compatibility Forms" Unicode character block. * Constant for the "CJK Compatibility Forms" Unicode character block.
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock CJK_COMPATIBILITY_FORMS = public static final UnicodeBlock CJK_COMPATIBILITY_FORMS =
new UnicodeBlock("CJK_COMPATIBILITY_FORMS", new String[] {"CJK Compatibility Forms", new UnicodeBlock("CJK_COMPATIBILITY_FORMS",
"CJKCompatibilityForms"}); "CJK COMPATIBILITY FORMS",
"CJKCOMPATIBILITYFORMS");
/** /**
* Constant for the "Small Form Variants" Unicode character block. * Constant for the "Small Form Variants" Unicode character block.
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock SMALL_FORM_VARIANTS = public static final UnicodeBlock SMALL_FORM_VARIANTS =
new UnicodeBlock("SMALL_FORM_VARIANTS", new String[] {"Small Form Variants", new UnicodeBlock("SMALL_FORM_VARIANTS",
"SmallFormVariants"}); "SMALL FORM VARIANTS",
"SMALLFORMVARIANTS");
/** /**
* Constant for the "Arabic Presentation Forms-B" Unicode character block. * Constant for the "Arabic Presentation Forms-B" Unicode character block.
* @since 1.2 * @since 1.2
*/ */
public static final UnicodeBlock ARABIC_PRESENTATION_FORMS_B = public static final UnicodeBlock ARABIC_PRESENTATION_FORMS_B =
new UnicodeBlock("ARABIC_PRESENTATION_FORMS_B", new String[] {"Arabic Presentation Forms-B", new UnicodeBlock("ARABIC_PRESENTATION_FORMS_B",
"ArabicPresentationForms-B"}); "ARABIC PRESENTATION FORMS-B",
"ARABICPRESENTATIONFORMS-B");
/** /**
* Constant for the "Halfwidth and Fullwidth Forms" Unicode character block. * Constant for the "Halfwidth and Fullwidth Forms" Unicode character block.
...@@ -1182,8 +1240,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1182,8 +1240,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock HALFWIDTH_AND_FULLWIDTH_FORMS = public static final UnicodeBlock HALFWIDTH_AND_FULLWIDTH_FORMS =
new UnicodeBlock("HALFWIDTH_AND_FULLWIDTH_FORMS", new UnicodeBlock("HALFWIDTH_AND_FULLWIDTH_FORMS",
new String[] {"Halfwidth and Fullwidth Forms", "HALFWIDTH AND FULLWIDTH FORMS",
"HalfwidthandFullwidthForms"}); "HALFWIDTHANDFULLWIDTHFORMS");
/** /**
* Constant for the "Specials" Unicode character block. * Constant for the "Specials" Unicode character block.
...@@ -1252,8 +1310,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1252,8 +1310,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS = public static final UnicodeBlock UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS =
new UnicodeBlock("UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS", new UnicodeBlock("UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS",
new String[] {"Unified Canadian Aboriginal Syllabics", "UNIFIED CANADIAN ABORIGINAL SYLLABICS",
"UnifiedCanadianAboriginalSyllabics"}); "UNIFIEDCANADIANABORIGINALSYLLABICS");
/** /**
* Constant for the "Ogham" Unicode character block. * Constant for the "Ogham" Unicode character block.
...@@ -1288,61 +1346,72 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1288,61 +1346,72 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
* @since 1.4 * @since 1.4
*/ */
public static final UnicodeBlock BRAILLE_PATTERNS = public static final UnicodeBlock BRAILLE_PATTERNS =
new UnicodeBlock("BRAILLE_PATTERNS", new String[] {"Braille Patterns", new UnicodeBlock("BRAILLE_PATTERNS",
"BraillePatterns"}); "BRAILLE PATTERNS",
"BRAILLEPATTERNS");
/** /**
* Constant for the "CJK Radicals Supplement" Unicode character block. * Constant for the "CJK Radicals Supplement" Unicode character block.
* @since 1.4 * @since 1.4
*/ */
public static final UnicodeBlock CJK_RADICALS_SUPPLEMENT = public static final UnicodeBlock CJK_RADICALS_SUPPLEMENT =
new UnicodeBlock("CJK_RADICALS_SUPPLEMENT", new String[] {"CJK Radicals Supplement", new UnicodeBlock("CJK_RADICALS_SUPPLEMENT",
"CJKRadicalsSupplement"}); "CJK RADICALS SUPPLEMENT",
"CJKRADICALSSUPPLEMENT");
/** /**
* Constant for the "Kangxi Radicals" Unicode character block. * Constant for the "Kangxi Radicals" Unicode character block.
* @since 1.4 * @since 1.4
*/ */
public static final UnicodeBlock KANGXI_RADICALS = public static final UnicodeBlock KANGXI_RADICALS =
new UnicodeBlock("KANGXI_RADICALS", new String[] {"Kangxi Radicals", "KangxiRadicals"}); new UnicodeBlock("KANGXI_RADICALS",
"KANGXI RADICALS",
"KANGXIRADICALS");
/** /**
* Constant for the "Ideographic Description Characters" Unicode character block. * Constant for the "Ideographic Description Characters" Unicode character block.
* @since 1.4 * @since 1.4
*/ */
public static final UnicodeBlock IDEOGRAPHIC_DESCRIPTION_CHARACTERS = public static final UnicodeBlock IDEOGRAPHIC_DESCRIPTION_CHARACTERS =
new UnicodeBlock("IDEOGRAPHIC_DESCRIPTION_CHARACTERS", new String[] {"Ideographic Description Characters", new UnicodeBlock("IDEOGRAPHIC_DESCRIPTION_CHARACTERS",
"IdeographicDescriptionCharacters"}); "IDEOGRAPHIC DESCRIPTION CHARACTERS",
"IDEOGRAPHICDESCRIPTIONCHARACTERS");
/** /**
* Constant for the "Bopomofo Extended" Unicode character block. * Constant for the "Bopomofo Extended" Unicode character block.
* @since 1.4 * @since 1.4
*/ */
public static final UnicodeBlock BOPOMOFO_EXTENDED = public static final UnicodeBlock BOPOMOFO_EXTENDED =
new UnicodeBlock("BOPOMOFO_EXTENDED", new String[] {"Bopomofo Extended", new UnicodeBlock("BOPOMOFO_EXTENDED",
"BopomofoExtended"}); "BOPOMOFO EXTENDED",
"BOPOMOFOEXTENDED");
/** /**
* Constant for the "CJK Unified Ideographs Extension A" Unicode character block. * Constant for the "CJK Unified Ideographs Extension A" Unicode character block.
* @since 1.4 * @since 1.4
*/ */
public static final UnicodeBlock CJK_UNIFIED_IDEOGRAPHS_EXTENSION_A = public static final UnicodeBlock CJK_UNIFIED_IDEOGRAPHS_EXTENSION_A =
new UnicodeBlock("CJK_UNIFIED_IDEOGRAPHS_EXTENSION_A", new String[] {"CJK Unified Ideographs Extension A", new UnicodeBlock("CJK_UNIFIED_IDEOGRAPHS_EXTENSION_A",
"CJKUnifiedIdeographsExtensionA"}); "CJK UNIFIED IDEOGRAPHS EXTENSION A",
"CJKUNIFIEDIDEOGRAPHSEXTENSIONA");
/** /**
* Constant for the "Yi Syllables" Unicode character block. * Constant for the "Yi Syllables" Unicode character block.
* @since 1.4 * @since 1.4
*/ */
public static final UnicodeBlock YI_SYLLABLES = public static final UnicodeBlock YI_SYLLABLES =
new UnicodeBlock("YI_SYLLABLES", new String[] {"Yi Syllables", "YiSyllables"}); new UnicodeBlock("YI_SYLLABLES",
"YI SYLLABLES",
"YISYLLABLES");
/** /**
* Constant for the "Yi Radicals" Unicode character block. * Constant for the "Yi Radicals" Unicode character block.
* @since 1.4 * @since 1.4
*/ */
public static final UnicodeBlock YI_RADICALS = public static final UnicodeBlock YI_RADICALS =
new UnicodeBlock("YI_RADICALS", new String[] {"Yi Radicals", "YiRadicals"}); new UnicodeBlock("YI_RADICALS",
"YI RADICALS",
"YIRADICALS");
/** /**
...@@ -1351,10 +1420,10 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1351,10 +1420,10 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock CYRILLIC_SUPPLEMENTARY = public static final UnicodeBlock CYRILLIC_SUPPLEMENTARY =
new UnicodeBlock("CYRILLIC_SUPPLEMENTARY", new UnicodeBlock("CYRILLIC_SUPPLEMENTARY",
new String[] {"Cyrillic Supplementary", "CYRILLIC SUPPLEMENTARY",
"CyrillicSupplementary", "CYRILLICSUPPLEMENTARY",
"Cyrillic Supplement", "CYRILLIC SUPPLEMENT",
"CyrillicSupplement"}); "CYRILLICSUPPLEMENT");
/** /**
* Constant for the "Tagalog" Unicode character block. * Constant for the "Tagalog" Unicode character block.
...@@ -1396,21 +1465,27 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1396,21 +1465,27 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
* @since 1.5 * @since 1.5
*/ */
public static final UnicodeBlock TAI_LE = public static final UnicodeBlock TAI_LE =
new UnicodeBlock("TAI_LE", new String[] {"Tai Le", "TaiLe"}); new UnicodeBlock("TAI_LE",
"TAI LE",
"TAILE");
/** /**
* Constant for the "Khmer Symbols" Unicode character block. * Constant for the "Khmer Symbols" Unicode character block.
* @since 1.5 * @since 1.5
*/ */
public static final UnicodeBlock KHMER_SYMBOLS = public static final UnicodeBlock KHMER_SYMBOLS =
new UnicodeBlock("KHMER_SYMBOLS", new String[] {"Khmer Symbols", "KhmerSymbols"}); new UnicodeBlock("KHMER_SYMBOLS",
"KHMER SYMBOLS",
"KHMERSYMBOLS");
/** /**
* Constant for the "Phonetic Extensions" Unicode character block. * Constant for the "Phonetic Extensions" Unicode character block.
* @since 1.5 * @since 1.5
*/ */
public static final UnicodeBlock PHONETIC_EXTENSIONS = public static final UnicodeBlock PHONETIC_EXTENSIONS =
new UnicodeBlock("PHONETIC_EXTENSIONS", new String[] {"Phonetic Extensions", "PhoneticExtensions"}); new UnicodeBlock("PHONETIC_EXTENSIONS",
"PHONETIC EXTENSIONS",
"PHONETICEXTENSIONS");
/** /**
* Constant for the "Miscellaneous Mathematical Symbols-A" Unicode character block. * Constant for the "Miscellaneous Mathematical Symbols-A" Unicode character block.
...@@ -1418,33 +1493,35 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1418,33 +1493,35 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock MISCELLANEOUS_MATHEMATICAL_SYMBOLS_A = public static final UnicodeBlock MISCELLANEOUS_MATHEMATICAL_SYMBOLS_A =
new UnicodeBlock("MISCELLANEOUS_MATHEMATICAL_SYMBOLS_A", new UnicodeBlock("MISCELLANEOUS_MATHEMATICAL_SYMBOLS_A",
new String[]{"Miscellaneous Mathematical Symbols-A", "MISCELLANEOUS MATHEMATICAL SYMBOLS-A",
"MiscellaneousMathematicalSymbols-A"}); "MISCELLANEOUSMATHEMATICALSYMBOLS-A");
/** /**
* Constant for the "Supplemental Arrows-A" Unicode character block. * Constant for the "Supplemental Arrows-A" Unicode character block.
* @since 1.5 * @since 1.5
*/ */
public static final UnicodeBlock SUPPLEMENTAL_ARROWS_A = public static final UnicodeBlock SUPPLEMENTAL_ARROWS_A =
new UnicodeBlock("SUPPLEMENTAL_ARROWS_A", new String[] {"Supplemental Arrows-A", new UnicodeBlock("SUPPLEMENTAL_ARROWS_A",
"SupplementalArrows-A"}); "SUPPLEMENTAL ARROWS-A",
"SUPPLEMENTALARROWS-A");
/** /**
* Constant for the "Supplemental Arrows-B" Unicode character block. * Constant for the "Supplemental Arrows-B" Unicode character block.
* @since 1.5 * @since 1.5
*/ */
public static final UnicodeBlock SUPPLEMENTAL_ARROWS_B = public static final UnicodeBlock SUPPLEMENTAL_ARROWS_B =
new UnicodeBlock("SUPPLEMENTAL_ARROWS_B", new String[] {"Supplemental Arrows-B", new UnicodeBlock("SUPPLEMENTAL_ARROWS_B",
"SupplementalArrows-B"}); "SUPPLEMENTAL ARROWS-B",
"SUPPLEMENTALARROWS-B");
/** /**
* Constant for the "Miscellaneous Mathematical Symbols-B" Unicode character block. * Constant for the "Miscellaneous Mathematical Symbols-B" Unicode character block.
* @since 1.5 * @since 1.5
*/ */
public static final UnicodeBlock MISCELLANEOUS_MATHEMATICAL_SYMBOLS_B public static final UnicodeBlock MISCELLANEOUS_MATHEMATICAL_SYMBOLS_B =
= new UnicodeBlock("MISCELLANEOUS_MATHEMATICAL_SYMBOLS_B", new UnicodeBlock("MISCELLANEOUS_MATHEMATICAL_SYMBOLS_B",
new String[] {"Miscellaneous Mathematical Symbols-B", "MISCELLANEOUS MATHEMATICAL SYMBOLS-B",
"MiscellaneousMathematicalSymbols-B"}); "MISCELLANEOUSMATHEMATICALSYMBOLS-B");
/** /**
* Constant for the "Supplemental Mathematical Operators" Unicode character block. * Constant for the "Supplemental Mathematical Operators" Unicode character block.
...@@ -1452,127 +1529,151 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1452,127 +1529,151 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock SUPPLEMENTAL_MATHEMATICAL_OPERATORS = public static final UnicodeBlock SUPPLEMENTAL_MATHEMATICAL_OPERATORS =
new UnicodeBlock("SUPPLEMENTAL_MATHEMATICAL_OPERATORS", new UnicodeBlock("SUPPLEMENTAL_MATHEMATICAL_OPERATORS",
new String[]{"Supplemental Mathematical Operators", "SUPPLEMENTAL MATHEMATICAL OPERATORS",
"SupplementalMathematicalOperators"} ); "SUPPLEMENTALMATHEMATICALOPERATORS");
/** /**
* Constant for the "Miscellaneous Symbols and Arrows" Unicode character block. * Constant for the "Miscellaneous Symbols and Arrows" Unicode character block.
* @since 1.5 * @since 1.5
*/ */
public static final UnicodeBlock MISCELLANEOUS_SYMBOLS_AND_ARROWS = public static final UnicodeBlock MISCELLANEOUS_SYMBOLS_AND_ARROWS =
new UnicodeBlock("MISCELLANEOUS_SYMBOLS_AND_ARROWS", new String[] {"Miscellaneous Symbols and Arrows", new UnicodeBlock("MISCELLANEOUS_SYMBOLS_AND_ARROWS",
"MiscellaneousSymbolsandArrows"}); "MISCELLANEOUS SYMBOLS AND ARROWS",
"MISCELLANEOUSSYMBOLSANDARROWS");
/** /**
* Constant for the "Katakana Phonetic Extensions" Unicode character block. * Constant for the "Katakana Phonetic Extensions" Unicode character block.
* @since 1.5 * @since 1.5
*/ */
public static final UnicodeBlock KATAKANA_PHONETIC_EXTENSIONS = public static final UnicodeBlock KATAKANA_PHONETIC_EXTENSIONS =
new UnicodeBlock("KATAKANA_PHONETIC_EXTENSIONS", new String[] {"Katakana Phonetic Extensions", new UnicodeBlock("KATAKANA_PHONETIC_EXTENSIONS",
"KatakanaPhoneticExtensions"}); "KATAKANA PHONETIC EXTENSIONS",
"KATAKANAPHONETICEXTENSIONS");
/** /**
* Constant for the "Yijing Hexagram Symbols" Unicode character block. * Constant for the "Yijing Hexagram Symbols" Unicode character block.
* @since 1.5 * @since 1.5
*/ */
public static final UnicodeBlock YIJING_HEXAGRAM_SYMBOLS = public static final UnicodeBlock YIJING_HEXAGRAM_SYMBOLS =
new UnicodeBlock("YIJING_HEXAGRAM_SYMBOLS", new String[] {"Yijing Hexagram Symbols", new UnicodeBlock("YIJING_HEXAGRAM_SYMBOLS",
"YijingHexagramSymbols"}); "YIJING HEXAGRAM SYMBOLS",
"YIJINGHEXAGRAMSYMBOLS");
/** /**
* Constant for the "Variation Selectors" Unicode character block. * Constant for the "Variation Selectors" Unicode character block.
* @since 1.5 * @since 1.5
*/ */
public static final UnicodeBlock VARIATION_SELECTORS = public static final UnicodeBlock VARIATION_SELECTORS =
new UnicodeBlock("VARIATION_SELECTORS", new String[] {"Variation Selectors", "VariationSelectors"}); new UnicodeBlock("VARIATION_SELECTORS",
"VARIATION SELECTORS",
"VARIATIONSELECTORS");
/** /**
* Constant for the "Linear B Syllabary" Unicode character block. * Constant for the "Linear B Syllabary" Unicode character block.
* @since 1.5 * @since 1.5
*/ */
public static final UnicodeBlock LINEAR_B_SYLLABARY = public static final UnicodeBlock LINEAR_B_SYLLABARY =
new UnicodeBlock("LINEAR_B_SYLLABARY", new String[] {"Linear B Syllabary", "LinearBSyllabary"}); new UnicodeBlock("LINEAR_B_SYLLABARY",
"LINEAR B SYLLABARY",
"LINEARBSYLLABARY");
/** /**
* Constant for the "Linear B Ideograms" Unicode character block. * Constant for the "Linear B Ideograms" Unicode character block.
* @since 1.5 * @since 1.5
*/ */
public static final UnicodeBlock LINEAR_B_IDEOGRAMS = public static final UnicodeBlock LINEAR_B_IDEOGRAMS =
new UnicodeBlock("LINEAR_B_IDEOGRAMS", new String[] {"Linear B Ideograms", "LinearBIdeograms"}); new UnicodeBlock("LINEAR_B_IDEOGRAMS",
"LINEAR B IDEOGRAMS",
"LINEARBIDEOGRAMS");
/** /**
* Constant for the "Aegean Numbers" Unicode character block. * Constant for the "Aegean Numbers" Unicode character block.
* @since 1.5 * @since 1.5
*/ */
public static final UnicodeBlock AEGEAN_NUMBERS = public static final UnicodeBlock AEGEAN_NUMBERS =
new UnicodeBlock("AEGEAN_NUMBERS", new String[] {"Aegean Numbers", "AegeanNumbers"}); new UnicodeBlock("AEGEAN_NUMBERS",
"AEGEAN NUMBERS",
"AEGEANNUMBERS");
/** /**
* Constant for the "Old Italic" Unicode character block. * Constant for the "Old Italic" Unicode character block.
* @since 1.5 * @since 1.5
*/ */
public static final UnicodeBlock OLD_ITALIC = public static final UnicodeBlock OLD_ITALIC =
new UnicodeBlock("OLD_ITALIC", new String[] {"Old Italic", "OldItalic"}); new UnicodeBlock("OLD_ITALIC",
"OLD ITALIC",
"OLDITALIC");
/** /**
* Constant for the "Gothic" Unicode character block. * Constant for the "Gothic" Unicode character block.
* @since 1.5 * @since 1.5
*/ */
public static final UnicodeBlock GOTHIC = new UnicodeBlock("GOTHIC"); public static final UnicodeBlock GOTHIC =
new UnicodeBlock("GOTHIC");
/** /**
* Constant for the "Ugaritic" Unicode character block. * Constant for the "Ugaritic" Unicode character block.
* @since 1.5 * @since 1.5
*/ */
public static final UnicodeBlock UGARITIC = new UnicodeBlock("UGARITIC"); public static final UnicodeBlock UGARITIC =
new UnicodeBlock("UGARITIC");
/** /**
* Constant for the "Deseret" Unicode character block. * Constant for the "Deseret" Unicode character block.
* @since 1.5 * @since 1.5
*/ */
public static final UnicodeBlock DESERET = new UnicodeBlock("DESERET"); public static final UnicodeBlock DESERET =
new UnicodeBlock("DESERET");
/** /**
* Constant for the "Shavian" Unicode character block. * Constant for the "Shavian" Unicode character block.
* @since 1.5 * @since 1.5
*/ */
public static final UnicodeBlock SHAVIAN = new UnicodeBlock("SHAVIAN"); public static final UnicodeBlock SHAVIAN =
new UnicodeBlock("SHAVIAN");
/** /**
* Constant for the "Osmanya" Unicode character block. * Constant for the "Osmanya" Unicode character block.
* @since 1.5 * @since 1.5
*/ */
public static final UnicodeBlock OSMANYA = new UnicodeBlock("OSMANYA"); public static final UnicodeBlock OSMANYA =
new UnicodeBlock("OSMANYA");
/** /**
* Constant for the "Cypriot Syllabary" Unicode character block. * Constant for the "Cypriot Syllabary" Unicode character block.
* @since 1.5 * @since 1.5
*/ */
public static final UnicodeBlock CYPRIOT_SYLLABARY = public static final UnicodeBlock CYPRIOT_SYLLABARY =
new UnicodeBlock("CYPRIOT_SYLLABARY", new String[] {"Cypriot Syllabary", "CypriotSyllabary"}); new UnicodeBlock("CYPRIOT_SYLLABARY",
"CYPRIOT SYLLABARY",
"CYPRIOTSYLLABARY");
/** /**
* Constant for the "Byzantine Musical Symbols" Unicode character block. * Constant for the "Byzantine Musical Symbols" Unicode character block.
* @since 1.5 * @since 1.5
*/ */
public static final UnicodeBlock BYZANTINE_MUSICAL_SYMBOLS = public static final UnicodeBlock BYZANTINE_MUSICAL_SYMBOLS =
new UnicodeBlock("BYZANTINE_MUSICAL_SYMBOLS", new String[] {"Byzantine Musical Symbols", new UnicodeBlock("BYZANTINE_MUSICAL_SYMBOLS",
"ByzantineMusicalSymbols"}); "BYZANTINE MUSICAL SYMBOLS",
"BYZANTINEMUSICALSYMBOLS");
/** /**
* Constant for the "Musical Symbols" Unicode character block. * Constant for the "Musical Symbols" Unicode character block.
* @since 1.5 * @since 1.5
*/ */
public static final UnicodeBlock MUSICAL_SYMBOLS = public static final UnicodeBlock MUSICAL_SYMBOLS =
new UnicodeBlock("MUSICAL_SYMBOLS", new String[] {"Musical Symbols", "MusicalSymbols"}); new UnicodeBlock("MUSICAL_SYMBOLS",
"MUSICAL SYMBOLS",
"MUSICALSYMBOLS");
/** /**
* Constant for the "Tai Xuan Jing Symbols" Unicode character block. * Constant for the "Tai Xuan Jing Symbols" Unicode character block.
* @since 1.5 * @since 1.5
*/ */
public static final UnicodeBlock TAI_XUAN_JING_SYMBOLS = public static final UnicodeBlock TAI_XUAN_JING_SYMBOLS =
new UnicodeBlock("TAI_XUAN_JING_SYMBOLS", new String[] {"Tai Xuan Jing Symbols", new UnicodeBlock("TAI_XUAN_JING_SYMBOLS",
"TaiXuanJingSymbols"}); "TAI XUAN JING SYMBOLS",
"TAIXUANJINGSYMBOLS");
/** /**
* Constant for the "Mathematical Alphanumeric Symbols" Unicode character block. * Constant for the "Mathematical Alphanumeric Symbols" Unicode character block.
...@@ -1580,7 +1681,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1580,7 +1681,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock MATHEMATICAL_ALPHANUMERIC_SYMBOLS = public static final UnicodeBlock MATHEMATICAL_ALPHANUMERIC_SYMBOLS =
new UnicodeBlock("MATHEMATICAL_ALPHANUMERIC_SYMBOLS", new UnicodeBlock("MATHEMATICAL_ALPHANUMERIC_SYMBOLS",
new String[] {"Mathematical Alphanumeric Symbols", "MathematicalAlphanumericSymbols"}); "MATHEMATICAL ALPHANUMERIC SYMBOLS",
"MATHEMATICALALPHANUMERICSYMBOLS");
/** /**
* Constant for the "CJK Unified Ideographs Extension B" Unicode character block. * Constant for the "CJK Unified Ideographs Extension B" Unicode character block.
...@@ -1588,7 +1690,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1588,7 +1690,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock CJK_UNIFIED_IDEOGRAPHS_EXTENSION_B = public static final UnicodeBlock CJK_UNIFIED_IDEOGRAPHS_EXTENSION_B =
new UnicodeBlock("CJK_UNIFIED_IDEOGRAPHS_EXTENSION_B", new UnicodeBlock("CJK_UNIFIED_IDEOGRAPHS_EXTENSION_B",
new String[] {"CJK Unified Ideographs Extension B", "CJKUnifiedIdeographsExtensionB"}); "CJK UNIFIED IDEOGRAPHS EXTENSION B",
"CJKUNIFIEDIDEOGRAPHSEXTENSIONB");
/** /**
* Constant for the "CJK Compatibility Ideographs Supplement" Unicode character block. * Constant for the "CJK Compatibility Ideographs Supplement" Unicode character block.
...@@ -1596,22 +1699,24 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1596,22 +1699,24 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock CJK_COMPATIBILITY_IDEOGRAPHS_SUPPLEMENT = public static final UnicodeBlock CJK_COMPATIBILITY_IDEOGRAPHS_SUPPLEMENT =
new UnicodeBlock("CJK_COMPATIBILITY_IDEOGRAPHS_SUPPLEMENT", new UnicodeBlock("CJK_COMPATIBILITY_IDEOGRAPHS_SUPPLEMENT",
new String[]{"CJK Compatibility Ideographs Supplement", "CJK COMPATIBILITY IDEOGRAPHS SUPPLEMENT",
"CJKCompatibilityIdeographsSupplement"}); "CJKCOMPATIBILITYIDEOGRAPHSSUPPLEMENT");
/** /**
* Constant for the "Tags" Unicode character block. * Constant for the "Tags" Unicode character block.
* @since 1.5 * @since 1.5
*/ */
public static final UnicodeBlock TAGS = new UnicodeBlock("TAGS"); public static final UnicodeBlock TAGS =
new UnicodeBlock("TAGS");
/** /**
* Constant for the "Variation Selectors Supplement" Unicode character block. * Constant for the "Variation Selectors Supplement" Unicode character block.
* @since 1.5 * @since 1.5
*/ */
public static final UnicodeBlock VARIATION_SELECTORS_SUPPLEMENT = public static final UnicodeBlock VARIATION_SELECTORS_SUPPLEMENT =
new UnicodeBlock("VARIATION_SELECTORS_SUPPLEMENT", new String[] {"Variation Selectors Supplement", new UnicodeBlock("VARIATION_SELECTORS_SUPPLEMENT",
"VariationSelectorsSupplement"}); "VARIATION SELECTORS SUPPLEMENT",
"VARIATIONSELECTORSSUPPLEMENT");
/** /**
* Constant for the "Supplementary Private Use Area-A" Unicode character block. * Constant for the "Supplementary Private Use Area-A" Unicode character block.
...@@ -1619,8 +1724,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1619,8 +1724,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock SUPPLEMENTARY_PRIVATE_USE_AREA_A = public static final UnicodeBlock SUPPLEMENTARY_PRIVATE_USE_AREA_A =
new UnicodeBlock("SUPPLEMENTARY_PRIVATE_USE_AREA_A", new UnicodeBlock("SUPPLEMENTARY_PRIVATE_USE_AREA_A",
new String[] {"Supplementary Private Use Area-A", "SUPPLEMENTARY PRIVATE USE AREA-A",
"SupplementaryPrivateUseArea-A"}); "SUPPLEMENTARYPRIVATEUSEAREA-A");
/** /**
* Constant for the "Supplementary Private Use Area-B" Unicode character block. * Constant for the "Supplementary Private Use Area-B" Unicode character block.
...@@ -1628,39 +1733,44 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1628,39 +1733,44 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock SUPPLEMENTARY_PRIVATE_USE_AREA_B = public static final UnicodeBlock SUPPLEMENTARY_PRIVATE_USE_AREA_B =
new UnicodeBlock("SUPPLEMENTARY_PRIVATE_USE_AREA_B", new UnicodeBlock("SUPPLEMENTARY_PRIVATE_USE_AREA_B",
new String[] {"Supplementary Private Use Area-B", "SUPPLEMENTARY PRIVATE USE AREA-B",
"SupplementaryPrivateUseArea-B"}); "SUPPLEMENTARYPRIVATEUSEAREA-B");
/** /**
* Constant for the "High Surrogates" Unicode character block. * Constant for the "High Surrogates" Unicode character block.
* This block represents codepoint values in the high surrogate * This block represents codepoint values in the high surrogate
* range: 0xD800 through 0xDB7F * range: U+D800 through U+DB7F
* *
* @since 1.5 * @since 1.5
*/ */
public static final UnicodeBlock HIGH_SURROGATES = public static final UnicodeBlock HIGH_SURROGATES =
new UnicodeBlock("HIGH_SURROGATES", new String[] {"High Surrogates", "HighSurrogates"}); new UnicodeBlock("HIGH_SURROGATES",
"HIGH SURROGATES",
"HIGHSURROGATES");
/** /**
* Constant for the "High Private Use Surrogates" Unicode character block. * Constant for the "High Private Use Surrogates" Unicode character block.
* This block represents codepoint values in the high surrogate * This block represents codepoint values in the private use high surrogate
* range: 0xDB80 through 0xDBFF * range: U+DB80 through U+DBFF
* *
* @since 1.5 * @since 1.5
*/ */
public static final UnicodeBlock HIGH_PRIVATE_USE_SURROGATES = public static final UnicodeBlock HIGH_PRIVATE_USE_SURROGATES =
new UnicodeBlock("HIGH_PRIVATE_USE_SURROGATES", new String[] { "High Private Use Surrogates", new UnicodeBlock("HIGH_PRIVATE_USE_SURROGATES",
"HighPrivateUseSurrogates"}); "HIGH PRIVATE USE SURROGATES",
"HIGHPRIVATEUSESURROGATES");
/** /**
* Constant for the "Low Surrogates" Unicode character block. * Constant for the "Low Surrogates" Unicode character block.
* This block represents codepoint values in the high surrogate * This block represents codepoint values in the low surrogate
* range: 0xDC00 through 0xDFFF * range: U+DC00 through U+DFFF
* *
* @since 1.5 * @since 1.5
*/ */
public static final UnicodeBlock LOW_SURROGATES = public static final UnicodeBlock LOW_SURROGATES =
new UnicodeBlock("LOW_SURROGATES", new String[] {"Low Surrogates", "LowSurrogates"}); new UnicodeBlock("LOW_SURROGATES",
"LOW SURROGATES",
"LOWSURROGATES");
/** /**
* Constant for the "Arabic Supplement" Unicode character block. * Constant for the "Arabic Supplement" Unicode character block.
...@@ -1668,14 +1778,15 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1668,14 +1778,15 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock ARABIC_SUPPLEMENT = public static final UnicodeBlock ARABIC_SUPPLEMENT =
new UnicodeBlock("ARABIC_SUPPLEMENT", new UnicodeBlock("ARABIC_SUPPLEMENT",
new String[] { "Arabic Supplement", "ARABIC SUPPLEMENT",
"ArabicSupplement"}); "ARABICSUPPLEMENT");
/** /**
* Constant for the "NKo" Unicode character block. * Constant for the "NKo" Unicode character block.
* @since 1.7 * @since 1.7
*/ */
public static final UnicodeBlock NKO = new UnicodeBlock("NKO"); public static final UnicodeBlock NKO =
new UnicodeBlock("NKO");
/** /**
* Constant for the "Ethiopic Supplement" Unicode character block. * Constant for the "Ethiopic Supplement" Unicode character block.
...@@ -1683,8 +1794,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1683,8 +1794,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock ETHIOPIC_SUPPLEMENT = public static final UnicodeBlock ETHIOPIC_SUPPLEMENT =
new UnicodeBlock("ETHIOPIC_SUPPLEMENT", new UnicodeBlock("ETHIOPIC_SUPPLEMENT",
new String[] { "Ethiopic Supplement", "ETHIOPIC SUPPLEMENT",
"EthiopicSupplement"}); "ETHIOPICSUPPLEMENT");
/** /**
* Constant for the "New Tai Lue" Unicode character block. * Constant for the "New Tai Lue" Unicode character block.
...@@ -1692,8 +1803,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1692,8 +1803,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock NEW_TAI_LUE = public static final UnicodeBlock NEW_TAI_LUE =
new UnicodeBlock("NEW_TAI_LUE", new UnicodeBlock("NEW_TAI_LUE",
new String[] { "New Tai Lue", "NEW TAI LUE",
"NewTaiLue"}); "NEWTAILUE");
/** /**
* Constant for the "Buginese" Unicode character block. * Constant for the "Buginese" Unicode character block.
...@@ -1720,7 +1831,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1720,7 +1831,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
* Constant for the "Lepcha" Unicode character block. * Constant for the "Lepcha" Unicode character block.
* @since 1.7 * @since 1.7
*/ */
public static final UnicodeBlock LEPCHA = new UnicodeBlock("LEPCHA"); public static final UnicodeBlock LEPCHA =
new UnicodeBlock("LEPCHA");
/** /**
* Constant for the "Ol Chiki" Unicode character block. * Constant for the "Ol Chiki" Unicode character block.
...@@ -1728,8 +1840,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1728,8 +1840,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock OL_CHIKI = public static final UnicodeBlock OL_CHIKI =
new UnicodeBlock("OL_CHIKI", new UnicodeBlock("OL_CHIKI",
new String[] { "Ol Chiki", "OL CHIKI",
"OlChiki"}); "OLCHIKI");
/** /**
* Constant for the "Phonetic Extensions Supplement" Unicode character * Constant for the "Phonetic Extensions Supplement" Unicode character
...@@ -1738,8 +1850,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1738,8 +1850,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock PHONETIC_EXTENSIONS_SUPPLEMENT = public static final UnicodeBlock PHONETIC_EXTENSIONS_SUPPLEMENT =
new UnicodeBlock("PHONETIC_EXTENSIONS_SUPPLEMENT", new UnicodeBlock("PHONETIC_EXTENSIONS_SUPPLEMENT",
new String[] { "Phonetic Extensions Supplement", "PHONETIC EXTENSIONS SUPPLEMENT",
"PhoneticExtensionsSupplement"}); "PHONETICEXTENSIONSSUPPLEMENT");
/** /**
* Constant for the "Combining Diacritical Marks Supplement" Unicode * Constant for the "Combining Diacritical Marks Supplement" Unicode
...@@ -1748,8 +1860,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1748,8 +1860,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock COMBINING_DIACRITICAL_MARKS_SUPPLEMENT = public static final UnicodeBlock COMBINING_DIACRITICAL_MARKS_SUPPLEMENT =
new UnicodeBlock("COMBINING_DIACRITICAL_MARKS_SUPPLEMENT", new UnicodeBlock("COMBINING_DIACRITICAL_MARKS_SUPPLEMENT",
new String[] { "Combining Diacritical Marks Supplement", "COMBINING DIACRITICAL MARKS SUPPLEMENT",
"CombiningDiacriticalMarksSupplement"}); "COMBININGDIACRITICALMARKSSUPPLEMENT");
/** /**
* Constant for the "Glagolitic" Unicode character block. * Constant for the "Glagolitic" Unicode character block.
...@@ -1764,14 +1876,15 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1764,14 +1876,15 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock LATIN_EXTENDED_C = public static final UnicodeBlock LATIN_EXTENDED_C =
new UnicodeBlock("LATIN_EXTENDED_C", new UnicodeBlock("LATIN_EXTENDED_C",
new String[] { "Latin Extended-C", "LATIN EXTENDED-C",
"LatinExtended-C"}); "LATINEXTENDED-C");
/** /**
* Constant for the "Coptic" Unicode character block. * Constant for the "Coptic" Unicode character block.
* @since 1.7 * @since 1.7
*/ */
public static final UnicodeBlock COPTIC = new UnicodeBlock("COPTIC"); public static final UnicodeBlock COPTIC =
new UnicodeBlock("COPTIC");
/** /**
* Constant for the "Georgian Supplement" Unicode character block. * Constant for the "Georgian Supplement" Unicode character block.
...@@ -1779,8 +1892,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1779,8 +1892,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock GEORGIAN_SUPPLEMENT = public static final UnicodeBlock GEORGIAN_SUPPLEMENT =
new UnicodeBlock("GEORGIAN_SUPPLEMENT", new UnicodeBlock("GEORGIAN_SUPPLEMENT",
new String[] { "Georgian Supplement", "GEORGIAN SUPPLEMENT",
"GeorgianSupplement"}); "GEORGIANSUPPLEMENT");
/** /**
* Constant for the "Tifinagh" Unicode character block. * Constant for the "Tifinagh" Unicode character block.
...@@ -1795,8 +1908,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1795,8 +1908,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock ETHIOPIC_EXTENDED = public static final UnicodeBlock ETHIOPIC_EXTENDED =
new UnicodeBlock("ETHIOPIC_EXTENDED", new UnicodeBlock("ETHIOPIC_EXTENDED",
new String[] { "Ethiopic Extended", "ETHIOPIC EXTENDED",
"EthiopicExtended"}); "ETHIOPICEXTENDED");
/** /**
* Constant for the "Cyrillic Extended-A" Unicode character block. * Constant for the "Cyrillic Extended-A" Unicode character block.
...@@ -1804,8 +1917,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1804,8 +1917,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock CYRILLIC_EXTENDED_A = public static final UnicodeBlock CYRILLIC_EXTENDED_A =
new UnicodeBlock("CYRILLIC_EXTENDED_A", new UnicodeBlock("CYRILLIC_EXTENDED_A",
new String[] { "Cyrillic Extended-A", "CYRILLIC EXTENDED-A",
"CyrillicExtended-A"}); "CYRILLICEXTENDED-A");
/** /**
* Constant for the "Supplemental Punctuation" Unicode character block. * Constant for the "Supplemental Punctuation" Unicode character block.
...@@ -1813,8 +1926,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1813,8 +1926,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock SUPPLEMENTAL_PUNCTUATION = public static final UnicodeBlock SUPPLEMENTAL_PUNCTUATION =
new UnicodeBlock("SUPPLEMENTAL_PUNCTUATION", new UnicodeBlock("SUPPLEMENTAL_PUNCTUATION",
new String[] { "Supplemental Punctuation", "SUPPLEMENTAL PUNCTUATION",
"SupplementalPunctuation"}); "SUPPLEMENTALPUNCTUATION");
/** /**
* Constant for the "CJK Strokes" Unicode character block. * Constant for the "CJK Strokes" Unicode character block.
...@@ -1822,14 +1935,15 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1822,14 +1935,15 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock CJK_STROKES = public static final UnicodeBlock CJK_STROKES =
new UnicodeBlock("CJK_STROKES", new UnicodeBlock("CJK_STROKES",
new String[] { "CJK Strokes", "CJK STROKES",
"CJKStrokes"}); "CJKSTROKES");
/** /**
* Constant for the "Vai" Unicode character block. * Constant for the "Vai" Unicode character block.
* @since 1.7 * @since 1.7
*/ */
public static final UnicodeBlock VAI = new UnicodeBlock("VAI"); public static final UnicodeBlock VAI =
new UnicodeBlock("VAI");
/** /**
* Constant for the "Cyrillic Extended-B" Unicode character block. * Constant for the "Cyrillic Extended-B" Unicode character block.
...@@ -1837,8 +1951,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1837,8 +1951,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock CYRILLIC_EXTENDED_B = public static final UnicodeBlock CYRILLIC_EXTENDED_B =
new UnicodeBlock("CYRILLIC_EXTENDED_B", new UnicodeBlock("CYRILLIC_EXTENDED_B",
new String[] { "Cyrillic Extended-B", "CYRILLIC EXTENDED-B",
"CyrillicExtended-B"}); "CYRILLICEXTENDED-B");
/** /**
* Constant for the "Modifier Tone Letters" Unicode character block. * Constant for the "Modifier Tone Letters" Unicode character block.
...@@ -1846,8 +1960,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1846,8 +1960,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock MODIFIER_TONE_LETTERS = public static final UnicodeBlock MODIFIER_TONE_LETTERS =
new UnicodeBlock("MODIFIER_TONE_LETTERS", new UnicodeBlock("MODIFIER_TONE_LETTERS",
new String[] { "Modifier Tone Letters", "MODIFIER TONE LETTERS",
"ModifierToneLetters"}); "MODIFIERTONELETTERS");
/** /**
* Constant for the "Latin Extended-D" Unicode character block. * Constant for the "Latin Extended-D" Unicode character block.
...@@ -1855,8 +1969,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1855,8 +1969,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock LATIN_EXTENDED_D = public static final UnicodeBlock LATIN_EXTENDED_D =
new UnicodeBlock("LATIN_EXTENDED_D", new UnicodeBlock("LATIN_EXTENDED_D",
new String[] { "Latin Extended-D", "LATIN EXTENDED-D",
"LatinExtended-D"}); "LATINEXTENDED-D");
/** /**
* Constant for the "Syloti Nagri" Unicode character block. * Constant for the "Syloti Nagri" Unicode character block.
...@@ -1864,15 +1978,16 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1864,15 +1978,16 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock SYLOTI_NAGRI = public static final UnicodeBlock SYLOTI_NAGRI =
new UnicodeBlock("SYLOTI_NAGRI", new UnicodeBlock("SYLOTI_NAGRI",
new String[] { "Syloti Nagri", "SYLOTI NAGRI",
"SylotiNagri"}); "SYLOTINAGRI");
/** /**
* Constant for the "Phags-pa" Unicode character block. * Constant for the "Phags-pa" Unicode character block.
* @since 1.7 * @since 1.7
*/ */
public static final UnicodeBlock PHAGS_PA = public static final UnicodeBlock PHAGS_PA =
new UnicodeBlock("PHAGS_PA", new String[] { "Phags-pa"}); new UnicodeBlock("PHAGS_PA",
"PHAGS-PA");
/** /**
* Constant for the "Saurashtra" Unicode character block. * Constant for the "Saurashtra" Unicode character block.
...@@ -1887,20 +2002,22 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1887,20 +2002,22 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock KAYAH_LI = public static final UnicodeBlock KAYAH_LI =
new UnicodeBlock("KAYAH_LI", new UnicodeBlock("KAYAH_LI",
new String[] { "Kayah Li", "KAYAH LI",
"KayahLi"}); "KAYAHLI");
/** /**
* Constant for the "Rejang" Unicode character block. * Constant for the "Rejang" Unicode character block.
* @since 1.7 * @since 1.7
*/ */
public static final UnicodeBlock REJANG = new UnicodeBlock("REJANG"); public static final UnicodeBlock REJANG =
new UnicodeBlock("REJANG");
/** /**
* Constant for the "Cham" Unicode character block. * Constant for the "Cham" Unicode character block.
* @since 1.7 * @since 1.7
*/ */
public static final UnicodeBlock CHAM = new UnicodeBlock("CHAM"); public static final UnicodeBlock CHAM =
new UnicodeBlock("CHAM");
/** /**
* Constant for the "Vertical Forms" Unicode character block. * Constant for the "Vertical Forms" Unicode character block.
...@@ -1908,8 +2025,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1908,8 +2025,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock VERTICAL_FORMS = public static final UnicodeBlock VERTICAL_FORMS =
new UnicodeBlock("VERTICAL_FORMS", new UnicodeBlock("VERTICAL_FORMS",
new String[] { "Vertical Forms", "VERTICAL FORMS",
"VerticalForms"}); "VERTICALFORMS");
/** /**
* Constant for the "Ancient Greek Numbers" Unicode character block. * Constant for the "Ancient Greek Numbers" Unicode character block.
...@@ -1917,8 +2034,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1917,8 +2034,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock ANCIENT_GREEK_NUMBERS = public static final UnicodeBlock ANCIENT_GREEK_NUMBERS =
new UnicodeBlock("ANCIENT_GREEK_NUMBERS", new UnicodeBlock("ANCIENT_GREEK_NUMBERS",
new String[] { "Ancient Greek Numbers", "ANCIENT GREEK NUMBERS",
"AncientGreekNumbers"}); "ANCIENTGREEKNUMBERS");
/** /**
* Constant for the "Ancient Symbols" Unicode character block. * Constant for the "Ancient Symbols" Unicode character block.
...@@ -1926,8 +2043,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1926,8 +2043,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock ANCIENT_SYMBOLS = public static final UnicodeBlock ANCIENT_SYMBOLS =
new UnicodeBlock("ANCIENT_SYMBOLS", new UnicodeBlock("ANCIENT_SYMBOLS",
new String[] { "Ancient Symbols", "ANCIENT SYMBOLS",
"AncientSymbols"}); "ANCIENTSYMBOLS");
/** /**
* Constant for the "Phaistos Disc" Unicode character block. * Constant for the "Phaistos Disc" Unicode character block.
...@@ -1935,20 +2052,22 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1935,20 +2052,22 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock PHAISTOS_DISC = public static final UnicodeBlock PHAISTOS_DISC =
new UnicodeBlock("PHAISTOS_DISC", new UnicodeBlock("PHAISTOS_DISC",
new String[] { "Phaistos Disc", "PHAISTOS DISC",
"PhaistosDisc"}); "PHAISTOSDISC");
/** /**
* Constant for the "Lycian" Unicode character block. * Constant for the "Lycian" Unicode character block.
* @since 1.7 * @since 1.7
*/ */
public static final UnicodeBlock LYCIAN = new UnicodeBlock("LYCIAN"); public static final UnicodeBlock LYCIAN =
new UnicodeBlock("LYCIAN");
/** /**
* Constant for the "Carian" Unicode character block. * Constant for the "Carian" Unicode character block.
* @since 1.7 * @since 1.7
*/ */
public static final UnicodeBlock CARIAN = new UnicodeBlock("CARIAN"); public static final UnicodeBlock CARIAN =
new UnicodeBlock("CARIAN");
/** /**
* Constant for the "Old Persian" Unicode character block. * Constant for the "Old Persian" Unicode character block.
...@@ -1956,8 +2075,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1956,8 +2075,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock OLD_PERSIAN = public static final UnicodeBlock OLD_PERSIAN =
new UnicodeBlock("OLD_PERSIAN", new UnicodeBlock("OLD_PERSIAN",
new String[] { "Old Persian", "OLD PERSIAN",
"OldPersian"}); "OLDPERSIAN");
/** /**
* Constant for the "Phoenician" Unicode character block. * Constant for the "Phoenician" Unicode character block.
...@@ -1970,7 +2089,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1970,7 +2089,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
* Constant for the "Lydian" Unicode character block. * Constant for the "Lydian" Unicode character block.
* @since 1.7 * @since 1.7
*/ */
public static final UnicodeBlock LYDIAN = new UnicodeBlock("LYDIAN"); public static final UnicodeBlock LYDIAN =
new UnicodeBlock("LYDIAN");
/** /**
* Constant for the "Kharoshthi" Unicode character block. * Constant for the "Kharoshthi" Unicode character block.
...@@ -1993,8 +2113,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -1993,8 +2113,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock CUNEIFORM_NUMBERS_AND_PUNCTUATION = public static final UnicodeBlock CUNEIFORM_NUMBERS_AND_PUNCTUATION =
new UnicodeBlock("CUNEIFORM_NUMBERS_AND_PUNCTUATION", new UnicodeBlock("CUNEIFORM_NUMBERS_AND_PUNCTUATION",
new String[] { "Cuneiform Numbers and Punctuation", "CUNEIFORM NUMBERS AND PUNCTUATION",
"CuneiformNumbersandPunctuation"}); "CUNEIFORMNUMBERSANDPUNCTUATION");
/** /**
* Constant for the "Ancient Greek Musical Notation" Unicode character * Constant for the "Ancient Greek Musical Notation" Unicode character
...@@ -2003,8 +2123,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -2003,8 +2123,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock ANCIENT_GREEK_MUSICAL_NOTATION = public static final UnicodeBlock ANCIENT_GREEK_MUSICAL_NOTATION =
new UnicodeBlock("ANCIENT_GREEK_MUSICAL_NOTATION", new UnicodeBlock("ANCIENT_GREEK_MUSICAL_NOTATION",
new String[] { "Ancient Greek Musical Notation", "ANCIENT GREEK MUSICAL NOTATION",
"AncientGreekMusicalNotation"}); "ANCIENTGREEKMUSICALNOTATION");
/** /**
* Constant for the "Counting Rod Numerals" Unicode character block. * Constant for the "Counting Rod Numerals" Unicode character block.
...@@ -2012,8 +2132,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -2012,8 +2132,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock COUNTING_ROD_NUMERALS = public static final UnicodeBlock COUNTING_ROD_NUMERALS =
new UnicodeBlock("COUNTING_ROD_NUMERALS", new UnicodeBlock("COUNTING_ROD_NUMERALS",
new String[] { "Counting Rod Numerals", "COUNTING ROD NUMERALS",
"CountingRodNumerals"}); "COUNTINGRODNUMERALS");
/** /**
* Constant for the "Mahjong Tiles" Unicode character block. * Constant for the "Mahjong Tiles" Unicode character block.
...@@ -2021,8 +2141,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -2021,8 +2141,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock MAHJONG_TILES = public static final UnicodeBlock MAHJONG_TILES =
new UnicodeBlock("MAHJONG_TILES", new UnicodeBlock("MAHJONG_TILES",
new String[] { "Mahjong Tiles", "MAHJONG TILES",
"MahjongTiles"}); "MAHJONGTILES");
/** /**
* Constant for the "Domino Tiles" Unicode character block. * Constant for the "Domino Tiles" Unicode character block.
...@@ -2030,8 +2150,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -2030,8 +2150,8 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
*/ */
public static final UnicodeBlock DOMINO_TILES = public static final UnicodeBlock DOMINO_TILES =
new UnicodeBlock("DOMINO_TILES", new UnicodeBlock("DOMINO_TILES",
new String[] { "Domino Tiles", "DOMINO TILES",
"DominoTiles"}); "DOMINOTILES");
private static final int blockStarts[] = { private static final int blockStarts[] = {
0x0000, // 0000..007F; Basic Latin 0x0000, // 0000..007F; Basic Latin
...@@ -2047,7 +2167,7 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -2047,7 +2167,7 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
0x0530, // 0530..058F; Armenian 0x0530, // 0530..058F; Armenian
0x0590, // 0590..05FF; Hebrew 0x0590, // 0590..05FF; Hebrew
0x0600, // 0600..06FF; Arabic 0x0600, // 0600..06FF; Arabic
0x0700, // 0700..074F; Syria 0x0700, // 0700..074F; Syriac
0x0750, // 0750..077F; Arabic Supplement 0x0750, // 0750..077F; Arabic Supplement
0x0780, // 0780..07BF; Thaana 0x0780, // 0780..07BF; Thaana
0x07C0, // 07C0..07FF; NKo 0x07C0, // 07C0..07FF; NKo
...@@ -2447,11 +2567,10 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -2447,11 +2567,10 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
* given character, or <code>null</code> if the character is not a * given character, or <code>null</code> if the character is not a
* member of a defined block. * member of a defined block.
* *
* <p><b>Note:</b> This method cannot handle <a * <p><b>Note:</b> This method cannot handle
* href="Character.html#supplementary"> supplementary * <a href="Character.html#supplementary"> supplementary
* characters</a>. To support all Unicode characters, * characters</a>. To support all Unicode characters, including
* including supplementary characters, use the {@link * supplementary characters, use the {@link #of(int)} method.
* #of(int)} method.
* *
* @param c The character in question * @param c The character in question
* @return The <code>UnicodeBlock</code> instance representing the * @return The <code>UnicodeBlock</code> instance representing the
...@@ -2463,7 +2582,6 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara ...@@ -2463,7 +2582,6 @@ class Character extends Object implements java.io.Serializable, Comparable<Chara
return of((int)c); return of((int)c);
} }
/** /**
* Returns the object representing the Unicode block * Returns the object representing the Unicode block
* containing the given character (Unicode code point), or * containing the given character (Unicode code point), or
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册