Modified constant definitions.
X-SVN-Rev: 3802
This commit is contained in:
parent
2c24ff13a5
commit
a31b8e3994
@ -6,8 +6,8 @@
|
||||
*
|
||||
* $Source:
|
||||
* /usr/cvs/icu4j/icu4j/src/com/ibm/icu/text/UCharacterCategory.java $
|
||||
* $Date: 2001/02/26 23:49:20 $
|
||||
* $Revision: 1.1 $
|
||||
* $Date: 2001/02/27 17:33:46 $
|
||||
* $Revision: 1.2 $
|
||||
*
|
||||
*******************************************************************************
|
||||
*/
|
||||
@ -44,136 +44,136 @@ public class UCharacterCategory
|
||||
/**
|
||||
* Character type Lu
|
||||
*/
|
||||
public static final int UPPERCASE_LETTER = UNASSIGNED + 1;
|
||||
public static final int UPPERCASE_LETTER = 1;
|
||||
/**
|
||||
* Character type Ll
|
||||
*/
|
||||
public static final int LOWERCASE_LETTER = UPPERCASE_LETTER + 1;
|
||||
public static final int LOWERCASE_LETTER = 2;
|
||||
/**
|
||||
* Character type Lt
|
||||
*/
|
||||
public static final int TITLECASE_LETTER = LOWERCASE_LETTER + 1;
|
||||
public static final int TITLECASE_LETTER = 3;
|
||||
/**
|
||||
* Character type Lm
|
||||
*/
|
||||
public static final int MODIFIER_LETTER = TITLECASE_LETTER + 1;
|
||||
public static final int MODIFIER_LETTER = 4;
|
||||
/**
|
||||
* Character type Lo
|
||||
*/
|
||||
public static final int OTHER_LETTER = MODIFIER_LETTER + 1;
|
||||
public static final int OTHER_LETTER = 5;
|
||||
/**
|
||||
* Character type Lu
|
||||
*/
|
||||
public static final int NON_SPACING_MARK = OTHER_LETTER + 1;
|
||||
public static final int NON_SPACING_MARK = 6;
|
||||
/**
|
||||
* Character type Me
|
||||
*/
|
||||
public static final int ENCLOSING_MARK = NON_SPACING_MARK + 1;
|
||||
public static final int ENCLOSING_MARK = 7;
|
||||
/**
|
||||
* Character type Mc
|
||||
*/
|
||||
public static final int COMBINING_SPACING_MARK = ENCLOSING_MARK + 1;
|
||||
public static final int COMBINING_SPACING_MARK = 8;
|
||||
/**
|
||||
* Character type Nd
|
||||
*/
|
||||
public static final int DECIMAL_DIGIT_NUMBER = COMBINING_SPACING_MARK + 1;
|
||||
public static final int DECIMAL_DIGIT_NUMBER = 9;
|
||||
/**
|
||||
* Character type Nl
|
||||
*/
|
||||
public static final int LETTER_NUMBER = DECIMAL_DIGIT_NUMBER + 1;
|
||||
public static final int LETTER_NUMBER = 10;
|
||||
|
||||
// start of 11------------
|
||||
|
||||
/**
|
||||
* Character type No
|
||||
*/
|
||||
public static final int OTHER_NUMBER = LETTER_NUMBER + 1;
|
||||
public static final int OTHER_NUMBER = 11;
|
||||
/**
|
||||
* Character type Zs
|
||||
*/
|
||||
public static final int SPACE_SEPARATOR = OTHER_NUMBER + 1;
|
||||
public static final int SPACE_SEPARATOR = 12;
|
||||
/**
|
||||
* Character type Zl
|
||||
*/
|
||||
public static final int LINE_SEPARATOR = SPACE_SEPARATOR + 1;
|
||||
public static final int LINE_SEPARATOR = 13;
|
||||
/**
|
||||
* Character type Zp
|
||||
*/
|
||||
public static final int PARAGRAPH_SEPARATOR = LINE_SEPARATOR + 1;
|
||||
public static final int PARAGRAPH_SEPARATOR = 14;
|
||||
/**
|
||||
* Character type Cc
|
||||
*/
|
||||
public static final int CONTROL = PARAGRAPH_SEPARATOR + 1;
|
||||
public static final int CONTROL = 15;
|
||||
/**
|
||||
* Character type Cf
|
||||
*/
|
||||
public static final int FORMAT = CONTROL + 1;
|
||||
public static final int FORMAT = 16;
|
||||
/**
|
||||
* Character type Co
|
||||
*/
|
||||
public static final int PRIVATE_USE = FORMAT + 1;
|
||||
public static final int PRIVATE_USE = 17;
|
||||
/**
|
||||
* Character type Cs
|
||||
*/
|
||||
public static final int SURROGATE = PRIVATE_USE + 1;
|
||||
public static final int SURROGATE = 18;
|
||||
/**
|
||||
* Character type Pd
|
||||
*/
|
||||
public static final int DASH_PUNCTUATION = SURROGATE + 1;
|
||||
public static final int DASH_PUNCTUATION = 19;
|
||||
/**
|
||||
* Character type Ps
|
||||
*/
|
||||
public static final int START_PUNCTUATION = DASH_PUNCTUATION + 1;
|
||||
public static final int START_PUNCTUATION = 20;
|
||||
|
||||
// start of 21 ------------
|
||||
|
||||
/**
|
||||
* Character type Pe
|
||||
*/
|
||||
public static final int END_PUNCTUATION = START_PUNCTUATION + 1;
|
||||
public static final int END_PUNCTUATION = 21;
|
||||
/**
|
||||
* Character type Pc
|
||||
*/
|
||||
public static final int CONNECTOR_PUNCTUATION = END_PUNCTUATION + 1;
|
||||
public static final int CONNECTOR_PUNCTUATION = 22;
|
||||
/**
|
||||
* Character type Po
|
||||
*/
|
||||
public static final int OTHER_PUNCTUATION = CONNECTOR_PUNCTUATION + 1;
|
||||
public static final int OTHER_PUNCTUATION = 23;
|
||||
/**
|
||||
* Character type Sm
|
||||
*/
|
||||
public static final int MATH_SYMBOL = OTHER_PUNCTUATION + 1;
|
||||
public static final int MATH_SYMBOL = 24;
|
||||
/**
|
||||
* Character type Sc
|
||||
*/
|
||||
public static final int CURRENCY_SYMBOL = MATH_SYMBOL + 1;
|
||||
public static final int CURRENCY_SYMBOL = 25;
|
||||
/**
|
||||
* Character type Sk
|
||||
*/
|
||||
public static final int MODIFIER_SYMBOL = CURRENCY_SYMBOL + 1;
|
||||
public static final int MODIFIER_SYMBOL = 26;
|
||||
/**
|
||||
* Character type So
|
||||
*/
|
||||
public static final int OTHER_SYMBOL = MODIFIER_SYMBOL + 1;
|
||||
public static final int OTHER_SYMBOL = 27;
|
||||
/**
|
||||
* Character type Pi
|
||||
*/
|
||||
public static final int INITIAL_PUNCTUATION = OTHER_SYMBOL + 1;
|
||||
public static final int INITIAL_PUNCTUATION = 28;
|
||||
/**
|
||||
* Character type Pf
|
||||
*/
|
||||
public static final int FINAL_PUNCTUATION = INITIAL_PUNCTUATION + 1;
|
||||
public static final int FINAL_PUNCTUATION = 29;
|
||||
/**
|
||||
* Character type Cn
|
||||
*/
|
||||
public static final int GENERAL_OTHER_TYPES = FINAL_PUNCTUATION + 1;
|
||||
public static final int GENERAL_OTHER_TYPES = 30;
|
||||
|
||||
// start of 31 ------------
|
||||
|
||||
/**
|
||||
* Character type count
|
||||
*/
|
||||
public static final int CHAR_CATEGORY_COUNT = GENERAL_OTHER_TYPES + 1;
|
||||
public static final int CHAR_CATEGORY_COUNT = 31;
|
||||
|
||||
/**
|
||||
* Gets the name of the argument category
|
||||
|
@ -6,8 +6,8 @@
|
||||
*
|
||||
* $Source:
|
||||
* /usr/cvs/icu4j/icu4j/src/com/ibm/icu/text/UCharacterDirection.java $
|
||||
* $Date: 2001/02/26 23:49:20 $
|
||||
* $Revision: 1.1 $
|
||||
* $Date: 2001/02/27 17:33:46 $
|
||||
* $Revision: 1.2 $
|
||||
*
|
||||
*******************************************************************************
|
||||
*/
|
||||
@ -41,93 +41,82 @@ public final class UCharacterDirection
|
||||
/**
|
||||
* Directional type R
|
||||
*/
|
||||
public static final int RIGHT_TO_LEFT = LEFT_TO_RIGHT + 1;
|
||||
public static final int RIGHT_TO_LEFT = 1;
|
||||
/**
|
||||
* Directional type EN
|
||||
*/
|
||||
public static final int EUROPEAN_NUMBER = RIGHT_TO_LEFT + 1;
|
||||
public static final int EUROPEAN_NUMBER = 2;
|
||||
/**
|
||||
* Directional type ES
|
||||
*/
|
||||
public static final int EUROPEAN_NUMBER_SEPARATOR = EUROPEAN_NUMBER + 1;
|
||||
public static final int EUROPEAN_NUMBER_SEPARATOR = 3;
|
||||
/**
|
||||
* Directional type ET
|
||||
*/
|
||||
public static final int EUROPEAN_NUMBER_TERMINATOR =
|
||||
EUROPEAN_NUMBER_SEPARATOR + 1;
|
||||
public static final int EUROPEAN_NUMBER_TERMINATOR = 4;
|
||||
/**
|
||||
* Directional type AN
|
||||
*/
|
||||
public static final int ARABIC_NUMBER =
|
||||
EUROPEAN_NUMBER_TERMINATOR + 1;
|
||||
public static final int ARABIC_NUMBER = 5;
|
||||
/**
|
||||
* Directional type CS
|
||||
*/
|
||||
public static final int COMMON_NUMBER_SEPARATOR = ARABIC_NUMBER + 1;
|
||||
public static final int COMMON_NUMBER_SEPARATOR = 6;
|
||||
/**
|
||||
* Directional type B
|
||||
*/
|
||||
public static final int BLOCK_SEPARATOR =
|
||||
COMMON_NUMBER_SEPARATOR + 1;
|
||||
public static final int BLOCK_SEPARATOR = 7;
|
||||
/**
|
||||
* Directional type S
|
||||
*/
|
||||
public static final int SEGMENT_SEPARATOR = BLOCK_SEPARATOR + 1;
|
||||
public static final int SEGMENT_SEPARATOR = 8;
|
||||
/**
|
||||
* Directional type WS
|
||||
*/
|
||||
public static final int WHITE_SPACE_NEUTRAL = SEGMENT_SEPARATOR + 1;
|
||||
public static final int WHITE_SPACE_NEUTRAL = 9;
|
||||
|
||||
// start of 11 ---------------
|
||||
|
||||
/**
|
||||
* Directional type ON
|
||||
*/
|
||||
public static final int OTHER_NEUTRAL =
|
||||
WHITE_SPACE_NEUTRAL + 1;
|
||||
public static final int OTHER_NEUTRAL = 10;
|
||||
/**
|
||||
* Directional type LRE
|
||||
*/
|
||||
public static final int LEFT_TO_RIGHT_EMBEDDING = OTHER_NEUTRAL + 1;
|
||||
public static final int LEFT_TO_RIGHT_EMBEDDING = 11;
|
||||
/**
|
||||
* Directional type LRO
|
||||
*/
|
||||
public static final int LEFT_TO_RIGHT_OVERRIDE =
|
||||
LEFT_TO_RIGHT_EMBEDDING + 1;
|
||||
public static final int LEFT_TO_RIGHT_OVERRIDE = 12;
|
||||
/**
|
||||
* Directional type AL
|
||||
*/
|
||||
public static final int RIGHT_TO_LEFT_ARABIC =
|
||||
LEFT_TO_RIGHT_OVERRIDE + 1;
|
||||
public static final int RIGHT_TO_LEFT_ARABIC = 13;
|
||||
/**
|
||||
* Directional type RLE
|
||||
*/
|
||||
public static final int RIGHT_TO_LEFT_EMBEDDING =
|
||||
RIGHT_TO_LEFT_ARABIC + 1;
|
||||
public static final int RIGHT_TO_LEFT_EMBEDDING = 14;
|
||||
/**
|
||||
* Directional type RLO
|
||||
*/
|
||||
public static final int RIGHT_TO_LEFT_OVERRIDE =
|
||||
RIGHT_TO_LEFT_EMBEDDING + 1;
|
||||
public static final int RIGHT_TO_LEFT_OVERRIDE = 15;
|
||||
/**
|
||||
* Directional type PDF
|
||||
*/
|
||||
public static final int POP_DIRECTIONAL_FORMAT =
|
||||
RIGHT_TO_LEFT_OVERRIDE + 1;
|
||||
public static final int POP_DIRECTIONAL_FORMAT = 16;
|
||||
/**
|
||||
* Directional type NSM
|
||||
*/
|
||||
public static final int DIR_NON_SPACING_MARK =
|
||||
POP_DIRECTIONAL_FORMAT + 1;
|
||||
public static final int DIR_NON_SPACING_MARK = 17;
|
||||
/**
|
||||
* Directional type BN
|
||||
*/
|
||||
public static final int BOUNDARY_NEUTRAL =
|
||||
DIR_NON_SPACING_MARK + 1;
|
||||
public static final int BOUNDARY_NEUTRAL = 18;
|
||||
/**
|
||||
* Number of directional type
|
||||
*/
|
||||
public static final int CHAR_DIRECTION_COUNT = BOUNDARY_NEUTRAL + 1;
|
||||
public static final int CHAR_DIRECTION_COUNT = 19;
|
||||
|
||||
/**
|
||||
* Gets the name of the argument direction
|
||||
|
@ -6,8 +6,8 @@
|
||||
*
|
||||
* $Source:
|
||||
* /usr/cvs/icu4j/icu4j/src/com/ibm/icu/text/UCharacterNameChoiceEnum.java $
|
||||
* $Date: 2001/02/26 23:49:20 $
|
||||
* $Revision: 1.1 $
|
||||
* $Date: 2001/02/27 17:33:46 $
|
||||
* $Revision: 1.2 $
|
||||
*
|
||||
*******************************************************************************
|
||||
*/
|
||||
@ -29,6 +29,6 @@ interface UCharacterNameChoice
|
||||
// public variables =============================================
|
||||
|
||||
static final int U_UNICODE_CHAR_NAME = 0;
|
||||
static final int U_UNICODE_10_CHAR_NAME = U_UNICODE_CHAR_NAME + 1;
|
||||
static final int U_CHAR_NAME_CHOICE_COUNT = U_UNICODE_10_CHAR_NAME + 1;
|
||||
static final int U_UNICODE_10_CHAR_NAME = 1;
|
||||
static final int U_CHAR_NAME_CHOICE_COUNT = 2;
|
||||
}
|
Loading…
Reference in New Issue
Block a user