1. /*
  2. * @(#)Character.java 1.30 04/06/28
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.lang;
  8. import java.util.Map;
  9. import java.util.HashMap;
  10. import java.util.Locale;
  11. /**
  12. * The <code>Character</code> class wraps a value of the primitive
  13. * type <code>char</code> in an object. An object of type
  14. * <code>Character</code> contains a single field whose type is
  15. * <code>char</code>.
  16. * <p>
  17. * In addition, this class provides several methods for determining
  18. * a character's category (lowercase letter, digit, etc.) and for converting
  19. * characters from uppercase to lowercase and vice versa.
  20. * <p>
  21. * Character information is based on the Unicode Standard, version 4.0.
  22. * <p>
  23. * The methods and data of class <code>Character</code> are defined by
  24. * the information in the <i>UnicodeData</i> file that is part of the
  25. * Unicode Character Database maintained by the Unicode
  26. * Consortium. This file specifies various properties including name
  27. * and general category for every defined Unicode code point or
  28. * character range.
  29. * <p>
  30. * The file and its description are available from the Unicode Consortium at:
  31. * <ul>
  32. * <li><a href="http://www.unicode.org">http://www.unicode.org</a>
  33. * </ul>
  34. *
  35. * <h4><a name="unicode">Unicode Character Representations</a></h4>
  36. *
  37. * <p>The <code>char</code> data type (and therefore the value that a
  38. * <code>Character</code> object encapsulates) are based on the
  39. * original Unicode specification, which defined characters as
  40. * fixed-width 16-bit entities. The Unicode standard has since been
  41. * changed to allow for characters whose representation requires more
  42. * than 16 bits. The range of legal <em>code point</em>s is now
  43. * U+0000 to U+10FFFF, known as <em>Unicode scalar value</em>.
  44. * (Refer to the <a
  45. * href="http://www.unicode.org/reports/tr27/#notation"><i>
  46. * definition</i></a> of the U+<i>n</i> notation in the Unicode
  47. * standard.)
  48. *
  49. * <p>The set of characters from U+0000 to U+FFFF is sometimes
  50. * referred to as the <em>Basic Multilingual Plane (BMP)</em>. <a
  51. * name="supplementary">Characters</a> whose code points are greater
  52. * than U+FFFF are called <em>supplementary character</em>s. The Java
  53. * 2 platform uses the UTF-16 representation in <code>char</code>
  54. * arrays and in the <code>String</code> and <code>StringBuffer</code>
  55. * classes. In this representation, supplementary characters are
  56. * represented as a pair of <code>char</code> values, the first from
  57. * the <em>high-surrogates</em> range, (\uD800-\uDBFF), the
  58. * second from the <em>low-surrogates</em> range
  59. * (\uDC00-\uDFFF).
  60. *
  61. * <p>A <code>char</code> value, therefore, represents Basic
  62. * Multilingual Plane (BMP) code points, including the surrogate
  63. * code points, or code units of the UTF-16 encoding. An
  64. * <code>int</code> value represents all Unicode code points,
  65. * including supplementary code points. The lower (least significant)
  66. * 21 bits of <code>int</code> are used to represent Unicode code
  67. * points and the upper (most significant) 11 bits must be zero.
  68. * Unless otherwise specified, the behavior with respect to
  69. * supplementary characters and surrogate <code>char</code> values is
  70. * as follows:
  71. *
  72. * <ul>
  73. * <li>The methods that only accept a <code>char</code> value cannot support
  74. * supplementary characters. They treat <code>char</code> values from the
  75. * surrogate ranges as undefined characters. For example,
  76. * <code>Character.isLetter('\uD840')</code> returns <code>false</code>, even though
  77. * this specific value if followed by any low-surrogate value in a string
  78. * would represent a letter.
  79. *
  80. * <li>The methods that accept an <code>int</code> value support all
  81. * Unicode characters, including supplementary characters. For
  82. * example, <code>Character.isLetter(0x2F81A)</code> returns
  83. * <code>true</code> because the code point value represents a letter
  84. * (a CJK ideograph).
  85. * </ul>
  86. *
  87. * <p>In the J2SE API documentation, <em>Unicode code point</em> is
  88. * used for character values in the range between U+0000 and U+10FFFF,
  89. * and <em>Unicode code unit</em> is used for 16-bit
  90. * <code>char</code> values that are code units of the <em>UTF-16</em>
  91. * encoding. For more information on Unicode terminology, refer to the
  92. * <a href="http://www.unicode.org/glossary/">Unicode Glossary</a>.
  93. *
  94. * @author Lee Boynton
  95. * @author Guy Steele
  96. * @author Akira Tanaka
  97. * @since 1.0
  98. */
  99. public final
  100. class Character extends Object implements java.io.Serializable, Comparable<Character> {
  101. /**
  102. * The minimum radix available for conversion to and from strings.
  103. * The constant value of this field is the smallest value permitted
  104. * for the radix argument in radix-conversion methods such as the
  105. * <code>digit</code> method, the <code>forDigit</code>
  106. * method, and the <code>toString</code> method of class
  107. * <code>Integer</code>.
  108. *
  109. * @see java.lang.Character#digit(char, int)
  110. * @see java.lang.Character#forDigit(int, int)
  111. * @see java.lang.Integer#toString(int, int)
  112. * @see java.lang.Integer#valueOf(java.lang.String)
  113. */
  114. public static final int MIN_RADIX = 2;
  115. /**
  116. * The maximum radix available for conversion to and from strings.
  117. * The constant value of this field is the largest value permitted
  118. * for the radix argument in radix-conversion methods such as the
  119. * <code>digit</code> method, the <code>forDigit</code>
  120. * method, and the <code>toString</code> method of class
  121. * <code>Integer</code>.
  122. *
  123. * @see java.lang.Character#digit(char, int)
  124. * @see java.lang.Character#forDigit(int, int)
  125. * @see java.lang.Integer#toString(int, int)
  126. * @see java.lang.Integer#valueOf(java.lang.String)
  127. */
  128. public static final int MAX_RADIX = 36;
  129. /**
  130. * The constant value of this field is the smallest value of type
  131. * <code>char</code>, <code>'\u0000'</code>.
  132. *
  133. * @since 1.0.2
  134. */
  135. public static final char MIN_VALUE = '\u0000';
  136. /**
  137. * The constant value of this field is the largest value of type
  138. * <code>char</code>, <code>'\uFFFF'</code>.
  139. *
  140. * @since 1.0.2
  141. */
  142. public static final char MAX_VALUE = '\uffff';
  143. /**
  144. * The <code>Class</code> instance representing the primitive type
  145. * <code>char</code>.
  146. *
  147. * @since 1.1
  148. */
  149. public static final Class<Character> TYPE = Class.getPrimitiveClass("char");
  150. /*
  151. * Normative general types
  152. */
  153. /*
  154. * General character types
  155. */
  156. /**
  157. * General category "Cn" in the Unicode specification.
  158. * @since 1.1
  159. */
  160. public static final byte
  161. UNASSIGNED = 0;
  162. /**
  163. * General category "Lu" in the Unicode specification.
  164. * @since 1.1
  165. */
  166. public static final byte
  167. UPPERCASE_LETTER = 1;
  168. /**
  169. * General category "Ll" in the Unicode specification.
  170. * @since 1.1
  171. */
  172. public static final byte
  173. LOWERCASE_LETTER = 2;
  174. /**
  175. * General category "Lt" in the Unicode specification.
  176. * @since 1.1
  177. */
  178. public static final byte
  179. TITLECASE_LETTER = 3;
  180. /**
  181. * General category "Lm" in the Unicode specification.
  182. * @since 1.1
  183. */
  184. public static final byte
  185. MODIFIER_LETTER = 4;
  186. /**
  187. * General category "Lo" in the Unicode specification.
  188. * @since 1.1
  189. */
  190. public static final byte
  191. OTHER_LETTER = 5;
  192. /**
  193. * General category "Mn" in the Unicode specification.
  194. * @since 1.1
  195. */
  196. public static final byte
  197. NON_SPACING_MARK = 6;
  198. /**
  199. * General category "Me" in the Unicode specification.
  200. * @since 1.1
  201. */
  202. public static final byte
  203. ENCLOSING_MARK = 7;
  204. /**
  205. * General category "Mc" in the Unicode specification.
  206. * @since 1.1
  207. */
  208. public static final byte
  209. COMBINING_SPACING_MARK = 8;
  210. /**
  211. * General category "Nd" in the Unicode specification.
  212. * @since 1.1
  213. */
  214. public static final byte
  215. DECIMAL_DIGIT_NUMBER = 9;
  216. /**
  217. * General category "Nl" in the Unicode specification.
  218. * @since 1.1
  219. */
  220. public static final byte
  221. LETTER_NUMBER = 10;
  222. /**
  223. * General category "No" in the Unicode specification.
  224. * @since 1.1
  225. */
  226. public static final byte
  227. OTHER_NUMBER = 11;
  228. /**
  229. * General category "Zs" in the Unicode specification.
  230. * @since 1.1
  231. */
  232. public static final byte
  233. SPACE_SEPARATOR = 12;
  234. /**
  235. * General category "Zl" in the Unicode specification.
  236. * @since 1.1
  237. */
  238. public static final byte
  239. LINE_SEPARATOR = 13;
  240. /**
  241. * General category "Zp" in the Unicode specification.
  242. * @since 1.1
  243. */
  244. public static final byte
  245. PARAGRAPH_SEPARATOR = 14;
  246. /**
  247. * General category "Cc" in the Unicode specification.
  248. * @since 1.1
  249. */
  250. public static final byte
  251. CONTROL = 15;
  252. /**
  253. * General category "Cf" in the Unicode specification.
  254. * @since 1.1
  255. */
  256. public static final byte
  257. FORMAT = 16;
  258. /**
  259. * General category "Co" in the Unicode specification.
  260. * @since 1.1
  261. */
  262. public static final byte
  263. PRIVATE_USE = 18;
  264. /**
  265. * General category "Cs" in the Unicode specification.
  266. * @since 1.1
  267. */
  268. public static final byte
  269. SURROGATE = 19;
  270. /**
  271. * General category "Pd" in the Unicode specification.
  272. * @since 1.1
  273. */
  274. public static final byte
  275. DASH_PUNCTUATION = 20;
  276. /**
  277. * General category "Ps" in the Unicode specification.
  278. * @since 1.1
  279. */
  280. public static final byte
  281. START_PUNCTUATION = 21;
  282. /**
  283. * General category "Pe" in the Unicode specification.
  284. * @since 1.1
  285. */
  286. public static final byte
  287. END_PUNCTUATION = 22;
  288. /**
  289. * General category "Pc" in the Unicode specification.
  290. * @since 1.1
  291. */
  292. public static final byte
  293. CONNECTOR_PUNCTUATION = 23;
  294. /**
  295. * General category "Po" in the Unicode specification.
  296. * @since 1.1
  297. */
  298. public static final byte
  299. OTHER_PUNCTUATION = 24;
  300. /**
  301. * General category "Sm" in the Unicode specification.
  302. * @since 1.1
  303. */
  304. public static final byte
  305. MATH_SYMBOL = 25;
  306. /**
  307. * General category "Sc" in the Unicode specification.
  308. * @since 1.1
  309. */
  310. public static final byte
  311. CURRENCY_SYMBOL = 26;
  312. /**
  313. * General category "Sk" in the Unicode specification.
  314. * @since 1.1
  315. */
  316. public static final byte
  317. MODIFIER_SYMBOL = 27;
  318. /**
  319. * General category "So" in the Unicode specification.
  320. * @since 1.1
  321. */
  322. public static final byte
  323. OTHER_SYMBOL = 28;
  324. /**
  325. * General category "Pi" in the Unicode specification.
  326. * @since 1.4
  327. */
  328. public static final byte
  329. INITIAL_QUOTE_PUNCTUATION = 29;
  330. /**
  331. * General category "Pf" in the Unicode specification.
  332. * @since 1.4
  333. */
  334. public static final byte
  335. FINAL_QUOTE_PUNCTUATION = 30;
  336. /**
  337. * Error or non-char flag
  338. * @since 1.4
  339. */
  340. static final char CHAR_ERROR = '\uFFFF';
  341. /**
  342. * Undefined bidirectional character type. Undefined <code>char</code>
  343. * values have undefined directionality in the Unicode specification.
  344. * @since 1.4
  345. */
  346. public static final byte DIRECTIONALITY_UNDEFINED = -1;
  347. /**
  348. * Strong bidirectional character type "L" in the Unicode specification.
  349. * @since 1.4
  350. */
  351. public static final byte DIRECTIONALITY_LEFT_TO_RIGHT = 0;
  352. /**
  353. * Strong bidirectional character type "R" in the Unicode specification.
  354. * @since 1.4
  355. */
  356. public static final byte DIRECTIONALITY_RIGHT_TO_LEFT = 1;
  357. /**
  358. * Strong bidirectional character type "AL" in the Unicode specification.
  359. * @since 1.4
  360. */
  361. public static final byte DIRECTIONALITY_RIGHT_TO_LEFT_ARABIC = 2;
  362. /**
  363. * Weak bidirectional character type "EN" in the Unicode specification.
  364. * @since 1.4
  365. */
  366. public static final byte DIRECTIONALITY_EUROPEAN_NUMBER = 3;
  367. /**
  368. * Weak bidirectional character type "ES" in the Unicode specification.
  369. * @since 1.4
  370. */
  371. public static final byte DIRECTIONALITY_EUROPEAN_NUMBER_SEPARATOR = 4;
  372. /**
  373. * Weak bidirectional character type "ET" in the Unicode specification.
  374. * @since 1.4
  375. */
  376. public static final byte DIRECTIONALITY_EUROPEAN_NUMBER_TERMINATOR = 5;
  377. /**
  378. * Weak bidirectional character type "AN" in the Unicode specification.
  379. * @since 1.4
  380. */
  381. public static final byte DIRECTIONALITY_ARABIC_NUMBER = 6;
  382. /**
  383. * Weak bidirectional character type "CS" in the Unicode specification.
  384. * @since 1.4
  385. */
  386. public static final byte DIRECTIONALITY_COMMON_NUMBER_SEPARATOR = 7;
  387. /**
  388. * Weak bidirectional character type "NSM" in the Unicode specification.
  389. * @since 1.4
  390. */
  391. public static final byte DIRECTIONALITY_NONSPACING_MARK = 8;
  392. /**
  393. * Weak bidirectional character type "BN" in the Unicode specification.
  394. * @since 1.4
  395. */
  396. public static final byte DIRECTIONALITY_BOUNDARY_NEUTRAL = 9;
  397. /**
  398. * Neutral bidirectional character type "B" in the Unicode specification.
  399. * @since 1.4
  400. */
  401. public static final byte DIRECTIONALITY_PARAGRAPH_SEPARATOR = 10;
  402. /**
  403. * Neutral bidirectional character type "S" in the Unicode specification.
  404. * @since 1.4
  405. */
  406. public static final byte DIRECTIONALITY_SEGMENT_SEPARATOR = 11;
  407. /**
  408. * Neutral bidirectional character type "WS" in the Unicode specification.
  409. * @since 1.4
  410. */
  411. public static final byte DIRECTIONALITY_WHITESPACE = 12;
  412. /**
  413. * Neutral bidirectional character type "ON" in the Unicode specification.
  414. * @since 1.4
  415. */
  416. public static final byte DIRECTIONALITY_OTHER_NEUTRALS = 13;
  417. /**
  418. * Strong bidirectional character type "LRE" in the Unicode specification.
  419. * @since 1.4
  420. */
  421. public static final byte DIRECTIONALITY_LEFT_TO_RIGHT_EMBEDDING = 14;
  422. /**
  423. * Strong bidirectional character type "LRO" in the Unicode specification.
  424. * @since 1.4
  425. */
  426. public static final byte DIRECTIONALITY_LEFT_TO_RIGHT_OVERRIDE = 15;
  427. /**
  428. * Strong bidirectional character type "RLE" in the Unicode specification.
  429. * @since 1.4
  430. */
  431. public static final byte DIRECTIONALITY_RIGHT_TO_LEFT_EMBEDDING = 16;
  432. /**
  433. * Strong bidirectional character type "RLO" in the Unicode specification.
  434. * @since 1.4
  435. */
  436. public static final byte DIRECTIONALITY_RIGHT_TO_LEFT_OVERRIDE = 17;
  437. /**
  438. * Weak bidirectional character type "PDF" in the Unicode specification.
  439. * @since 1.4
  440. */
  441. public static final byte DIRECTIONALITY_POP_DIRECTIONAL_FORMAT = 18;
  442. /**
  443. * The minimum value of a Unicode high-surrogate code unit in the
  444. * UTF-16 encoding. A high-surrogate is also known as a
  445. * <i>leading-surrogate</i>.
  446. *
  447. * @since 1.5
  448. */
  449. public static final char MIN_HIGH_SURROGATE = '\uD800';
  450. /**
  451. * The maximum value of a Unicode high-surrogate code unit in the
  452. * UTF-16 encoding. A high-surrogate is also known as a
  453. * <i>leading-surrogate</i>.
  454. *
  455. * @since 1.5
  456. */
  457. public static final char MAX_HIGH_SURROGATE = '\uDBFF';
  458. /**
  459. * The minimum value of a Unicode low-surrogate code unit in the
  460. * UTF-16 encoding. A low-surrogate is also known as a
  461. * <i>trailing-surrogate</i>.
  462. *
  463. * @since 1.5
  464. */
  465. public static final char MIN_LOW_SURROGATE = '\uDC00';
  466. /**
  467. * The maximum value of a Unicode low-surrogate code unit in the
  468. * UTF-16 encoding. A low-surrogate is also known as a
  469. * <i>trailing-surrogate</i>.
  470. *
  471. * @since 1.5
  472. */
  473. public static final char MAX_LOW_SURROGATE = '\uDFFF';
  474. /**
  475. * The minimum value of a Unicode surrogate code unit in the UTF-16 encoding.
  476. *
  477. * @since 1.5
  478. */
  479. public static final char MIN_SURROGATE = MIN_HIGH_SURROGATE;
  480. /**
  481. * The maximum value of a Unicode surrogate code unit in the UTF-16 encoding.
  482. *
  483. * @since 1.5
  484. */
  485. public static final char MAX_SURROGATE = MAX_LOW_SURROGATE;
  486. /**
  487. * The minimum value of a supplementary code point.
  488. *
  489. * @since 1.5
  490. */
  491. public static final int MIN_SUPPLEMENTARY_CODE_POINT = 0x010000;
  492. /**
  493. * The minimum value of a Unicode code point.
  494. *
  495. * @since 1.5
  496. */
  497. public static final int MIN_CODE_POINT = 0x000000;
  498. /**
  499. * The maximum value of a Unicode code point.
  500. *
  501. * @since 1.5
  502. */
  503. public static final int MAX_CODE_POINT = 0x10ffff;
  504. /**
  505. * Instances of this class represent particular subsets of the Unicode
  506. * character set. The only family of subsets defined in the
  507. * <code>Character</code> class is <code>{@link Character.UnicodeBlock
  508. * UnicodeBlock}</code>. Other portions of the Java API may define other
  509. * subsets for their own purposes.
  510. *
  511. * @since 1.2
  512. */
  513. public static class Subset {
  514. private String name;
  515. /**
  516. * Constructs a new <code>Subset</code> instance.
  517. *
  518. * @exception NullPointerException if name is <code>null</code>
  519. * @param name The name of this subset
  520. */
  521. protected Subset(String name) {
  522. if (name == null) {
  523. throw new NullPointerException("name");
  524. }
  525. this.name = name;
  526. }
  527. /**
  528. * Compares two <code>Subset</code> objects for equality.
  529. * This method returns <code>true</code> if and only if
  530. * <code>this</code> and the argument refer to the same
  531. * object; since this method is <code>final</code>, this
  532. * guarantee holds for all subclasses.
  533. */
  534. public final boolean equals(Object obj) {
  535. return (this == obj);
  536. }
  537. /**
  538. * Returns the standard hash code as defined by the
  539. * <code>{@link Object#hashCode}</code> method. This method
  540. * is <code>final</code> in order to ensure that the
  541. * <code>equals</code> and <code>hashCode</code> methods will
  542. * be consistent in all subclasses.
  543. */
  544. public final int hashCode() {
  545. return super.hashCode();
  546. }
  547. /**
  548. * Returns the name of this subset.
  549. */
  550. public final String toString() {
  551. return name;
  552. }
  553. }
  554. /**
  555. * A family of character subsets representing the character blocks in the
  556. * Unicode specification. Character blocks generally define characters
  557. * used for a specific script or purpose. A character is contained by
  558. * at most one Unicode block.
  559. *
  560. * @since 1.2
  561. */
  562. public static final class UnicodeBlock extends Subset {
  563. private static Map map = new HashMap();
  564. /**
  565. * Create a UnicodeBlock with the given identifier name.
  566. * This name must be the same as the block identifier.
  567. */
  568. private UnicodeBlock(String idName) {
  569. super(idName);
  570. map.put(idName.toUpperCase(Locale.US), this);
  571. }
  572. /**
  573. * Create a UnicodeBlock with the given identifier name and
  574. * alias name.
  575. */
  576. private UnicodeBlock(String idName, String alias) {
  577. this(idName);
  578. map.put(alias.toUpperCase(Locale.US), this);
  579. }
  580. /**
  581. * Create a UnicodeBlock with the given identifier name and
  582. * alias names.
  583. */
  584. private UnicodeBlock(String idName, String[] aliasName) {
  585. this(idName);
  586. if (aliasName != null) {
  587. for(int x=0; x<aliasName.length; ++x) {
  588. map.put(aliasName[x].toUpperCase(Locale.US), this);
  589. }
  590. }
  591. }
  592. /**
  593. * Constant for the "Basic Latin" Unicode character block.
  594. * @since 1.2
  595. */
  596. public static final UnicodeBlock BASIC_LATIN =
  597. new UnicodeBlock("BASIC_LATIN", new String[] {"Basic Latin", "BasicLatin" });
  598. /**
  599. * Constant for the "Latin-1 Supplement" Unicode character block.
  600. * @since 1.2
  601. */
  602. public static final UnicodeBlock LATIN_1_SUPPLEMENT =
  603. new UnicodeBlock("LATIN_1_SUPPLEMENT", new String[]{ "Latin-1 Supplement", "Latin-1Supplement"});
  604. /**
  605. * Constant for the "Latin Extended-A" Unicode character block.
  606. * @since 1.2
  607. */
  608. public static final UnicodeBlock LATIN_EXTENDED_A =
  609. new UnicodeBlock("LATIN_EXTENDED_A", new String[]{ "Latin Extended-A", "LatinExtended-A"});
  610. /**
  611. * Constant for the "Latin Extended-B" Unicode character block.
  612. * @since 1.2
  613. */
  614. public static final UnicodeBlock LATIN_EXTENDED_B =
  615. new UnicodeBlock("LATIN_EXTENDED_B", new String[] {"Latin Extended-B", "LatinExtended-B"});
  616. /**
  617. * Constant for the "IPA Extensions" Unicode character block.
  618. * @since 1.2
  619. */
  620. public static final UnicodeBlock IPA_EXTENSIONS =
  621. new UnicodeBlock("IPA_EXTENSIONS", new String[] {"IPA Extensions", "IPAExtensions"});
  622. /**
  623. * Constant for the "Spacing Modifier Letters" Unicode character block.
  624. * @since 1.2
  625. */
  626. public static final UnicodeBlock SPACING_MODIFIER_LETTERS =
  627. new UnicodeBlock("SPACING_MODIFIER_LETTERS", new String[] { "Spacing Modifier Letters",
  628. "SpacingModifierLetters"});
  629. /**
  630. * Constant for the "Combining Diacritical Marks" Unicode character block.
  631. * @since 1.2
  632. */
  633. public static final UnicodeBlock COMBINING_DIACRITICAL_MARKS =
  634. new UnicodeBlock("COMBINING_DIACRITICAL_MARKS", new String[] {"Combining Diacritical Marks",
  635. "CombiningDiacriticalMarks" });
  636. /**
  637. * Constant for the "Greek and Coptic" Unicode character block.
  638. * <p>
  639. * This block was previously known as the "Greek" block.
  640. *
  641. * @since 1.2
  642. */
  643. public static final UnicodeBlock GREEK
  644. = new UnicodeBlock("GREEK", new String[] {"Greek and Coptic", "GreekandCoptic"});
  645. /**
  646. * Constant for the "Cyrillic" Unicode character block.
  647. * @since 1.2
  648. */
  649. public static final UnicodeBlock CYRILLIC =
  650. new UnicodeBlock("CYRILLIC");
  651. /**
  652. * Constant for the "Armenian" Unicode character block.
  653. * @since 1.2
  654. */
  655. public static final UnicodeBlock ARMENIAN =
  656. new UnicodeBlock("ARMENIAN");
  657. /**
  658. * Constant for the "Hebrew" Unicode character block.
  659. * @since 1.2
  660. */
  661. public static final UnicodeBlock HEBREW =
  662. new UnicodeBlock("HEBREW");
  663. /**
  664. * Constant for the "Arabic" Unicode character block.
  665. * @since 1.2
  666. */
  667. public static final UnicodeBlock ARABIC =
  668. new UnicodeBlock("ARABIC");
  669. /**
  670. * Constant for the "Devanagari" Unicode character block.
  671. * @since 1.2
  672. */
  673. public static final UnicodeBlock DEVANAGARI =
  674. new UnicodeBlock("DEVANAGARI");
  675. /**
  676. * Constant for the "Bengali" Unicode character block.
  677. * @since 1.2
  678. */
  679. public static final UnicodeBlock BENGALI =
  680. new UnicodeBlock("BENGALI");
  681. /**
  682. * Constant for the "Gurmukhi" Unicode character block.
  683. * @since 1.2
  684. */
  685. public static final UnicodeBlock GURMUKHI =
  686. new UnicodeBlock("GURMUKHI");
  687. /**
  688. * Constant for the "Gujarati" Unicode character block.
  689. * @since 1.2
  690. */
  691. public static final UnicodeBlock GUJARATI =
  692. new UnicodeBlock("GUJARATI");
  693. /**
  694. * Constant for the "Oriya" Unicode character block.
  695. * @since 1.2
  696. */
  697. public static final UnicodeBlock ORIYA =
  698. new UnicodeBlock("ORIYA");
  699. /**
  700. * Constant for the "Tamil" Unicode character block.
  701. * @since 1.2
  702. */
  703. public static final UnicodeBlock TAMIL =
  704. new UnicodeBlock("TAMIL");
  705. /**
  706. * Constant for the "Telugu" Unicode character block.
  707. * @since 1.2
  708. */
  709. public static final UnicodeBlock TELUGU =
  710. new UnicodeBlock("TELUGU");
  711. /**
  712. * Constant for the "Kannada" Unicode character block.
  713. * @since 1.2
  714. */
  715. public static final UnicodeBlock KANNADA =
  716. new UnicodeBlock("KANNADA");
  717. /**
  718. * Constant for the "Malayalam" Unicode character block.
  719. * @since 1.2
  720. */
  721. public static final UnicodeBlock MALAYALAM =
  722. new UnicodeBlock("MALAYALAM");
  723. /**
  724. * Constant for the "Thai" Unicode character block.
  725. * @since 1.2
  726. */
  727. public static final UnicodeBlock THAI =
  728. new UnicodeBlock("THAI");
  729. /**
  730. * Constant for the "Lao" Unicode character block.
  731. * @since 1.2
  732. */
  733. public static final UnicodeBlock LAO =
  734. new UnicodeBlock("LAO");
  735. /**
  736. * Constant for the "Tibetan" Unicode character block.
  737. * @since 1.2
  738. */
  739. public static final UnicodeBlock TIBETAN =
  740. new UnicodeBlock("TIBETAN");
  741. /**
  742. * Constant for the "Georgian" Unicode character block.
  743. * @since 1.2
  744. */
  745. public static final UnicodeBlock GEORGIAN =
  746. new UnicodeBlock("GEORGIAN");
  747. /**
  748. * Constant for the "Hangul Jamo" Unicode character block.
  749. * @since 1.2
  750. */
  751. public static final UnicodeBlock HANGUL_JAMO =
  752. new UnicodeBlock("HANGUL_JAMO", new String[] {"Hangul Jamo", "HangulJamo"});
  753. /**
  754. * Constant for the "Latin Extended Additional" Unicode character block.
  755. * @since 1.2
  756. */
  757. public static final UnicodeBlock LATIN_EXTENDED_ADDITIONAL =
  758. new UnicodeBlock("LATIN_EXTENDED_ADDITIONAL", new String[] {"Latin Extended Additional",
  759. "LatinExtendedAdditional"});
  760. /**
  761. * Constant for the "Greek Extended" Unicode character block.
  762. * @since 1.2
  763. */
  764. public static final UnicodeBlock GREEK_EXTENDED =
  765. new UnicodeBlock("GREEK_EXTENDED", new String[] {"Greek Extended", "GreekExtended"});
  766. /**
  767. * Constant for the "General Punctuation" Unicode character block.
  768. * @since 1.2
  769. */
  770. public static final UnicodeBlock GENERAL_PUNCTUATION =
  771. new UnicodeBlock("GENERAL_PUNCTUATION", new String[] {"General Punctuation", "GeneralPunctuation"});
  772. /**
  773. * Constant for the "Superscripts and Subscripts" Unicode character block.
  774. * @since 1.2
  775. */
  776. public static final UnicodeBlock SUPERSCRIPTS_AND_SUBSCRIPTS =
  777. new UnicodeBlock("SUPERSCRIPTS_AND_SUBSCRIPTS", new String[] {"Superscripts and Subscripts",
  778. "SuperscriptsandSubscripts" });
  779. /**
  780. * Constant for the "Currency Symbols" Unicode character block.
  781. * @since 1.2
  782. */
  783. public static final UnicodeBlock CURRENCY_SYMBOLS =
  784. new UnicodeBlock("CURRENCY_SYMBOLS", new String[] { "Currency Symbols", "CurrencySymbols"});
  785. /**
  786. * Constant for the "Combining Diacritical Marks for Symbols" Unicode character block.
  787. * <p>
  788. * This block was previously known as "Combining Marks for Symbols".
  789. * @since 1.2
  790. */
  791. public static final UnicodeBlock COMBINING_MARKS_FOR_SYMBOLS =
  792. new UnicodeBlock("COMBINING_MARKS_FOR_SYMBOLS", new String[] {"Combining Diacritical Marks for Symbols",
  793. "CombiningDiacriticalMarksforSymbols",
  794. "Combining Marks for Symbols",
  795. "CombiningMarksforSymbols" });
  796. /**
  797. * Constant for the "Letterlike Symbols" Unicode character block.
  798. * @since 1.2
  799. */
  800. public static final UnicodeBlock LETTERLIKE_SYMBOLS =
  801. new UnicodeBlock("LETTERLIKE_SYMBOLS", new String[] { "Letterlike Symbols", "LetterlikeSymbols"});
  802. /**
  803. * Constant for the "Number Forms" Unicode character block.
  804. * @since 1.2
  805. */
  806. public static final UnicodeBlock NUMBER_FORMS =
  807. new UnicodeBlock("NUMBER_FORMS", new String[] {"Number Forms", "NumberForms"});
  808. /**
  809. * Constant for the "Arrows" Unicode character block.
  810. * @since 1.2
  811. */
  812. public static final UnicodeBlock ARROWS =
  813. new UnicodeBlock("ARROWS");
  814. /**
  815. * Constant for the "Mathematical Operators" Unicode character block.
  816. * @since 1.2
  817. */
  818. public static final UnicodeBlock MATHEMATICAL_OPERATORS =
  819. new UnicodeBlock("MATHEMATICAL_OPERATORS", new String[] {"Mathematical Operators",
  820. "MathematicalOperators"});
  821. /**
  822. * Constant for the "Miscellaneous Technical" Unicode character block.
  823. * @since 1.2
  824. */
  825. public static final UnicodeBlock MISCELLANEOUS_TECHNICAL =
  826. new UnicodeBlock("MISCELLANEOUS_TECHNICAL", new String[] {"Miscellaneous Technical",
  827. "MiscellaneousTechnical"});
  828. /**
  829. * Constant for the "Control Pictures" Unicode character block.
  830. * @since 1.2
  831. */
  832. public static final UnicodeBlock CONTROL_PICTURES =
  833. new UnicodeBlock("CONTROL_PICTURES", new String[] {"Control Pictures", "ControlPictures"});
  834. /**
  835. * Constant for the "Optical Character Recognition" Unicode character block.
  836. * @since 1.2
  837. */
  838. public static final UnicodeBlock OPTICAL_CHARACTER_RECOGNITION =
  839. new UnicodeBlock("OPTICAL_CHARACTER_RECOGNITION", new String[] {"Optical Character Recognition",
  840. "OpticalCharacterRecognition"});
  841. /**
  842. * Constant for the "Enclosed Alphanumerics" Unicode character block.
  843. * @since 1.2
  844. */
  845. public static final UnicodeBlock ENCLOSED_ALPHANUMERICS =
  846. new UnicodeBlock("ENCLOSED_ALPHANUMERICS", new String[] {"Enclosed Alphanumerics",
  847. "EnclosedAlphanumerics"});
  848. /**
  849. * Constant for the "Box Drawing" Unicode character block.
  850. * @since 1.2
  851. */
  852. public static final UnicodeBlock BOX_DRAWING =
  853. new UnicodeBlock("BOX_DRAWING", new String[] {"Box Drawing", "BoxDrawing"});
  854. /**
  855. * Constant for the "Block Elements" Unicode character block.
  856. * @since 1.2
  857. */
  858. public static final UnicodeBlock BLOCK_ELEMENTS =
  859. new UnicodeBlock("BLOCK_ELEMENTS", new String[] {"Block Elements", "BlockElements"});
  860. /**
  861. * Constant for the "Geometric Shapes" Unicode character block.
  862. * @since 1.2
  863. */
  864. public static final UnicodeBlock GEOMETRIC_SHAPES =
  865. new UnicodeBlock("GEOMETRIC_SHAPES", new String[] {"Geometric Shapes", "GeometricShapes"});
  866. /**
  867. * Constant for the "Miscellaneous Symbols" Unicode character block.
  868. * @since 1.2
  869. */
  870. public static final UnicodeBlock MISCELLANEOUS_SYMBOLS =
  871. new UnicodeBlock("MISCELLANEOUS_SYMBOLS", new String[] {"Miscellaneous Symbols",
  872. "MiscellaneousSymbols"});
  873. /**
  874. * Constant for the "Dingbats" Unicode character block.
  875. * @since 1.2
  876. */
  877. public static final UnicodeBlock DINGBATS =
  878. new UnicodeBlock("DINGBATS");
  879. /**
  880. * Constant for the "CJK Symbols and Punctuation" Unicode character block.
  881. * @since 1.2
  882. */
  883. public static final UnicodeBlock CJK_SYMBOLS_AND_PUNCTUATION =
  884. new UnicodeBlock("CJK_SYMBOLS_AND_PUNCTUATION", new String[] {"CJK Symbols and Punctuation",
  885. "CJKSymbolsandPunctuation"});
  886. /**
  887. * Constant for the "Hiragana" Unicode character block.
  888. * @since 1.2
  889. */
  890. public static final UnicodeBlock HIRAGANA =
  891. new UnicodeBlock("HIRAGANA");
  892. /**
  893. * Constant for the "Katakana" Unicode character block.
  894. * @since 1.2
  895. */
  896. public static final UnicodeBlock KATAKANA =
  897. new UnicodeBlock("KATAKANA");
  898. /**
  899. * Constant for the "Bopomofo" Unicode character block.
  900. * @since 1.2
  901. */
  902. public static final UnicodeBlock BOPOMOFO =
  903. new UnicodeBlock("BOPOMOFO");
  904. /**
  905. * Constant for the "Hangul Compatibility Jamo" Unicode character block.
  906. * @since 1.2
  907. */
  908. public static final UnicodeBlock HANGUL_COMPATIBILITY_JAMO =
  909. new UnicodeBlock("HANGUL_COMPATIBILITY_JAMO", new String[] {"Hangul Compatibility Jamo",
  910. "HangulCompatibilityJamo"});
  911. /**
  912. * Constant for the "Kanbun" Unicode character block.
  913. * @since 1.2
  914. */
  915. public static final UnicodeBlock KANBUN =
  916. new UnicodeBlock("KANBUN");
  917. /**
  918. * Constant for the "Enclosed CJK Letters and Months" Unicode character block.
  919. * @since 1.2
  920. */
  921. public static final UnicodeBlock ENCLOSED_CJK_LETTERS_AND_MONTHS =
  922. new UnicodeBlock("ENCLOSED_CJK_LETTERS_AND_MONTHS", new String[] {"Enclosed CJK Letters and Months",
  923. "EnclosedCJKLettersandMonths"});
  924. /**
  925. * Constant for the "CJK Compatibility" Unicode character block.
  926. * @since 1.2
  927. */
  928. public static final UnicodeBlock CJK_COMPATIBILITY =
  929. new UnicodeBlock("CJK_COMPATIBILITY", new String[] {"CJK Compatibility", "CJKCompatibility"});
  930. /**
  931. * Constant for the "CJK Unified Ideographs" Unicode character block.
  932. * @since 1.2
  933. */
  934. public static final UnicodeBlock CJK_UNIFIED_IDEOGRAPHS =
  935. new UnicodeBlock("CJK_UNIFIED_IDEOGRAPHS", new String[] {"CJK Unified Ideographs",
  936. "CJKUnifiedIdeographs"});
  937. /**
  938. * Constant for the "Hangul Syllables" Unicode character block.
  939. * @since 1.2
  940. */
  941. public static final UnicodeBlock HANGUL_SYLLABLES =
  942. new UnicodeBlock("HANGUL_SYLLABLES", new String[] {"Hangul Syllables", "HangulSyllables"});
  943. /**
  944. * Constant for the "Private Use Area" Unicode character block.
  945. * @since 1.2
  946. */
  947. public static final UnicodeBlock PRIVATE_USE_AREA =
  948. new UnicodeBlock("PRIVATE_USE_AREA", new String[] {"Private Use Area", "PrivateUseArea"});
  949. /**
  950. * Constant for the "CJK Compatibility Ideographs" Unicode character block.
  951. * @since 1.2
  952. */
  953. public static final UnicodeBlock CJK_COMPATIBILITY_IDEOGRAPHS =
  954. new UnicodeBlock("CJK_COMPATIBILITY_IDEOGRAPHS",
  955. new String[] {"CJK Compatibility Ideographs",
  956. "CJKCompatibilityIdeographs"});
  957. /**
  958. * Constant for the "Alphabetic Presentation Forms" Unicode character block.
  959. * @since 1.2
  960. */
  961. public static final UnicodeBlock ALPHABETIC_PRESENTATION_FORMS =
  962. new UnicodeBlock("ALPHABETIC_PRESENTATION_FORMS", new String[] {"Alphabetic Presentation Forms",
  963. "AlphabeticPresentationForms"});
  964. /**
  965. * Constant for the "Arabic Presentation Forms-A" Unicode character block.
  966. * @since 1.2
  967. */
  968. public static final UnicodeBlock ARABIC_PRESENTATION_FORMS_A =
  969. new UnicodeBlock("ARABIC_PRESENTATION_FORMS_A", new String[] {"Arabic Presentation Forms-A",
  970. "ArabicPresentationForms-A"});
  971. /**
  972. * Constant for the "Combining Half Marks" Unicode character block.
  973. * @since 1.2
  974. */
  975. public static final UnicodeBlock COMBINING_HALF_MARKS =
  976. new UnicodeBlock("COMBINING_HALF_MARKS", new String[] {"Combining Half Marks",
  977. "CombiningHalfMarks"});
  978. /**
  979. * Constant for the "CJK Compatibility Forms" Unicode character block.
  980. * @since 1.2
  981. */
  982. public static final UnicodeBlock CJK_COMPATIBILITY_FORMS =
  983. new UnicodeBlock("CJK_COMPATIBILITY_FORMS", new String[] {"CJK Compatibility Forms",
  984. "CJKCompatibilityForms"});
  985. /**
  986. * Constant for the "Small Form Variants" Unicode character block.
  987. * @since 1.2
  988. */
  989. public static final UnicodeBlock SMALL_FORM_VARIANTS =
  990. new UnicodeBlock("SMALL_FORM_VARIANTS", new String[] {"Small Form Variants",
  991. "SmallFormVariants"});
  992. /**
  993. * Constant for the "Arabic Presentation Forms-B" Unicode character block.
  994. * @since 1.2
  995. */
  996. public static final UnicodeBlock ARABIC_PRESENTATION_FORMS_B =
  997. new UnicodeBlock("ARABIC_PRESENTATION_FORMS_B", new String[] {"Arabic Presentation Forms-B",
  998. "ArabicPresentationForms-B"});
  999. /**
  1000. * Constant for the "Halfwidth and Fullwidth Forms" Unicode character block.
  1001. * @since 1.2
  1002. */
  1003. public static final UnicodeBlock HALFWIDTH_AND_FULLWIDTH_FORMS =
  1004. new UnicodeBlock("HALFWIDTH_AND_FULLWIDTH_FORMS",
  1005. new String[] {"Halfwidth and Fullwidth Forms",
  1006. "HalfwidthandFullwidthForms"});
  1007. /**
  1008. * Constant for the "Specials" Unicode character block.
  1009. * @since 1.2
  1010. */
  1011. public static final UnicodeBlock SPECIALS =
  1012. new UnicodeBlock("SPECIALS");
  1013. /**
  1014. * @deprecated As of J2SE 5, use {@link #HIGH_SURROGATES},
  1015. * {@link #HIGH_PRIVATE_USE_SURROGATES}, and
  1016. * {@link #LOW_SURROGATES}. These new constants match
  1017. * the block definitions of the Unicode Standard.
  1018. * The {@link #of(char)} and {@link #of(int)} methods
  1019. * return the new constants, not SURROGATES_AREA.
  1020. */
  1021. @Deprecated
  1022. public static final UnicodeBlock SURROGATES_AREA =
  1023. new UnicodeBlock("SURROGATES_AREA");
  1024. /**
  1025. * Constant for the "Syriac" Unicode character block.
  1026. * @since 1.4
  1027. */
  1028. public static final UnicodeBlock SYRIAC =
  1029. new UnicodeBlock("SYRIAC");
  1030. /**
  1031. * Constant for the "Thaana" Unicode character block.
  1032. * @since 1.4
  1033. */
  1034. public static final UnicodeBlock THAANA =
  1035. new UnicodeBlock("THAANA");
  1036. /**
  1037. * Constant for the "Sinhala" Unicode character block.
  1038. * @since 1.4
  1039. */
  1040. public static final UnicodeBlock SINHALA =
  1041. new UnicodeBlock("SINHALA");
  1042. /**
  1043. * Constant for the "Myanmar" Unicode character block.
  1044. * @since 1.4
  1045. */
  1046. public static final UnicodeBlock MYANMAR =
  1047. new UnicodeBlock("MYANMAR");
  1048. /**
  1049. * Constant for the "Ethiopic" Unicode character block.
  1050. * @since 1.4
  1051. */
  1052. public static final UnicodeBlock ETHIOPIC =
  1053. new UnicodeBlock("ETHIOPIC");
  1054. /**
  1055. * Constant for the "Cherokee" Unicode character block.
  1056. * @since 1.4
  1057. */
  1058. public static final UnicodeBlock CHEROKEE =
  1059. new UnicodeBlock("CHEROKEE");
  1060. /**
  1061. * Constant for the "Unified Canadian Aboriginal Syllabics" Unicode character block.
  1062. * @since 1.4
  1063. */
  1064. public static final UnicodeBlock UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS =
  1065. new UnicodeBlock("UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS",
  1066. new String[] {"Unified Canadian Aboriginal Syllabics",
  1067. "UnifiedCanadianAboriginalSyllabics"});
  1068. /**
  1069. * Constant for the "Ogham" Unicode character block.
  1070. * @since 1.4
  1071. */
  1072. public static final UnicodeBlock OGHAM =
  1073. new UnicodeBlock("OGHAM");
  1074. /**
  1075. * Constant for the "Runic" Unicode character block.
  1076. * @since 1.4
  1077. */
  1078. public static final UnicodeBlock RUNIC =
  1079. new UnicodeBlock("RUNIC");
  1080. /**
  1081. * Constant for the "Khmer" Unicode character block.
  1082. * @since 1.4
  1083. */
  1084. public static final UnicodeBlock KHMER =
  1085. new UnicodeBlock("KHMER");
  1086. /**
  1087. * Constant for the "Mongolian" Unicode character block.
  1088. * @since 1.4
  1089. */
  1090. public static final UnicodeBlock MONGOLIAN =
  1091. new UnicodeBlock("MONGOLIAN");
  1092. /**
  1093. * Constant for the "Braille Patterns" Unicode character block.
  1094. * @since 1.4
  1095. */
  1096. public static final UnicodeBlock BRAILLE_PATTERNS =
  1097. new UnicodeBlock("BRAILLE_PATTERNS", new String[] {"Braille Patterns",
  1098. "BraillePatterns"});
  1099. /**
  1100. * Constant for the "CJK Radicals Supplement" Unicode character block.
  1101. * @since 1.4
  1102. */
  1103. public static final UnicodeBlock CJK_RADICALS_SUPPLEMENT =
  1104. new UnicodeBlock("CJK_RADICALS_SUPPLEMENT", new String[] {"CJK Radicals Supplement",
  1105. "CJKRadicalsSupplement"});
  1106. /**
  1107. * Constant for the "Kangxi Radicals" Unicode character block.
  1108. * @since 1.4
  1109. */
  1110. public static final UnicodeBlock KANGXI_RADICALS =
  1111. new UnicodeBlock("KANGXI_RADICALS", new String[] {"Kangxi Radicals", "KangxiRadicals"});
  1112. /**
  1113. * Constant for the "Ideographic Description Characters" Unicode character block.
  1114. * @since 1.4
  1115. */
  1116. public static final UnicodeBlock IDEOGRAPHIC_DESCRIPTION_CHARACTERS =
  1117. new UnicodeBlock("IDEOGRAPHIC_DESCRIPTION_CHARACTERS", new String[] {"Ideographic Description Characters",
  1118. "IdeographicDescriptionCharacters"});
  1119. /**
  1120. * Constant for the "Bopomofo Extended" Unicode character block.
  1121. * @since 1.4
  1122. */
  1123. public static final UnicodeBlock BOPOMOFO_EXTENDED =
  1124. new UnicodeBlock("BOPOMOFO_EXTENDED", new String[] {"Bopomofo Extended",
  1125. "BopomofoExtended"});
  1126. /**
  1127. * Constant for the "CJK Unified Ideographs Extension A" Unicode character block.
  1128. * @since 1.4
  1129. */
  1130. public static final UnicodeBlock CJK_UNIFIED_IDEOGRAPHS_EXTENSION_A =
  1131. new UnicodeBlock("CJK_UNIFIED_IDEOGRAPHS_EXTENSION_A", new String[] {"CJK Unified Ideographs Extension A",
  1132. "CJKUnifiedIdeographsExtensionA"});
  1133. /**
  1134. * Constant for the "Yi Syllables" Unicode character block.
  1135. * @since 1.4
  1136. */
  1137. public static final UnicodeBlock YI_SYLLABLES =
  1138. new UnicodeBlock("YI_SYLLABLES", new String[] {"Yi Syllables", "YiSyllables"});
  1139. /**
  1140. * Constant for the "Yi Radicals" Unicode character block.
  1141. * @since 1.4
  1142. */
  1143. public static final UnicodeBlock YI_RADICALS =
  1144. new UnicodeBlock("YI_RADICALS", new String[] {"Yi Radicals", "YiRadicals"});
  1145. /**
  1146. * Constant for the "Cyrillic Supplementary" Unicode character block.
  1147. * @since 1.5
  1148. */
  1149. public static final UnicodeBlock CYRILLIC_SUPPLEMENTARY =
  1150. new UnicodeBlock("CYRILLIC_SUPPLEMENTARY", new String[] {"Cyrillic Supplementary",
  1151. "CyrillicSupplementary"});
  1152. /**
  1153. * Constant for the "Tagalog" Unicode character block.
  1154. * @since 1.5
  1155. */
  1156. public static final UnicodeBlock TAGALOG =
  1157. new UnicodeBlock("TAGALOG");
  1158. /**
  1159. * Constant for the "Hanunoo" Unicode character block.
  1160. * @since 1.5
  1161. */
  1162. public static final UnicodeBlock HANUNOO =
  1163. new UnicodeBlock("HANUNOO");
  1164. /**
  1165. * Constant for the "Buhid" Unicode character block.
  1166. * @since 1.5
  1167. */
  1168. public static final UnicodeBlock BUHID =
  1169. new UnicodeBlock("BUHID");
  1170. /**
  1171. * Constant for the "Tagbanwa" Unicode character block.
  1172. * @since 1.5
  1173. */
  1174. public static final UnicodeBlock TAGBANWA =
  1175. new UnicodeBlock("TAGBANWA");
  1176. /**
  1177. * Constant for the "Limbu" Unicode character block.
  1178. * @since 1.5
  1179. */
  1180. public static final UnicodeBlock LIMBU =
  1181. new UnicodeBlock("LIMBU");
  1182. /**
  1183. * Constant for the "Tai Le" Unicode character block.
  1184. * @since 1.5
  1185. */
  1186. public static final UnicodeBlock TAI_LE =
  1187. new UnicodeBlock("TAI_LE", new String[] {"Tai Le", "TaiLe"});
  1188. /**
  1189. * Constant for the "Khmer Symbols" Unicode character block.
  1190. * @since 1.5
  1191. */
  1192. public static final UnicodeBlock KHMER_SYMBOLS =
  1193. new UnicodeBlock("KHMER_SYMBOLS", new String[] {"Khmer Symbols", "KhmerSymbols"});
  1194. /**
  1195. * Constant for the "Phonetic Extensions" Unicode character block.
  1196. * @since 1.5
  1197. */
  1198. public static final UnicodeBlock PHONETIC_EXTENSIONS =
  1199. new UnicodeBlock("PHONETIC_EXTENSIONS", new String[] {"Phonetic Extensions", "PhoneticExtensions"});
  1200. /**
  1201. * Constant for the "Miscellaneous Mathematical Symbols-A" Unicode character block.
  1202. * @since 1.5
  1203. */
  1204. public static final UnicodeBlock MISCELLANEOUS_MATHEMATICAL_SYMBOLS_A =
  1205. new UnicodeBlock("MISCELLANEOUS_MATHEMATICAL_SYMBOLS_A",
  1206. new String[]{"Miscellaneous Mathematical Symbols-A",
  1207. "MiscellaneousMathematicalSymbols-A"});
  1208. /**
  1209. * Constant for the "Supplemental Arrows-A" Unicode character block.
  1210. * @since 1.5
  1211. */
  1212. public static final UnicodeBlock SUPPLEMENTAL_ARROWS_A =
  1213. new UnicodeBlock("SUPPLEMENTAL_ARROWS_A", new String[] {"Supplemental Arrows-A",
  1214. "SupplementalArrows-A"});
  1215. /**
  1216. * Constant for the "Supplemental Arrows-B" Unicode character block.
  1217. * @since 1.5
  1218. */
  1219. public static final UnicodeBlock SUPPLEMENTAL_ARROWS_B =
  1220. new UnicodeBlock("SUPPLEMENTAL_ARROWS_B", new String[] {"Supplemental Arrows-B",
  1221. "SupplementalArrows-B"});
  1222. /**
  1223. * Constant for the "Miscellaneous Mathematical Symbols-B" Unicode character block.
  1224. * @since 1.5
  1225. */
  1226. public static final UnicodeBlock MISCELLANEOUS_MATHEMATICAL_SYMBOLS_B
  1227. = new UnicodeBlock("MISCELLANEOUS_MATHEMATICAL_SYMBOLS_B",
  1228. new String[] {"Miscellaneous Mathematical Symbols-B",
  1229. "MiscellaneousMathematicalSymbols-B"});
  1230. /**
  1231. * Constant for the "Supplemental Mathematical Operators" Unicode character block.
  1232. * @since 1.5
  1233. */
  1234. public static final UnicodeBlock SUPPLEMENTAL_MATHEMATICAL_OPERATORS =
  1235. new UnicodeBlock("SUPPLEMENTAL_MATHEMATICAL_OPERATORS",
  1236. new String[]{"Supplemental Mathematical Operators",
  1237. "SupplementalMathematica