/* 通用字符类型*/
public static final byte UNASSIGNED = 0; // 无效字符
public static final byte UPPERCASE_LETTER = 1; // 大写字母
public static final byte LOWERCASE_LETTER = 2; // 小写字母
public static final byte TITLECASE_LETTER = 3; // 标题字母
public static final byte MODIFIER_LETTER = 4; // 修饰字母
public static final byte OTHER_LETTER = 5; // 其它字母
public static final byte NON_SPACING_MARK = 6; // 非间隔标记
public static final byte ENCLOSING_MARK = 7; // 包围标记
public static final byte COMBINING_SPACING_MARK = 8; // 组合间隔标记
public static final byte DECIMAL_DIGIT_NUMBER = 9; // 十进制数字
public static final byte LETTER_NUMBER = 10; // 数字含义的非数字字符(例如中文“〇”,罗马数字“Ⅳ”等)
public static final byte OTHER_NUMBER = 11; // 其它数字(如 3/5(/u2157), 1/8(/u215B)等)
public static final byte SPACE_SEPARATOR = 12; // 空白符
public static final byte LINE_SEPARATOR = 13; // 换行符
public static final byte PARAGRAPH_SEPARATOR = 14; // 分段符
public static final byte CONTROL = 15; // 控制字符
public static final byte FORMAT = 16; // 格式化字符
public static final byte PRIVATE_USE = 18; // 专用字符(各种偏旁和符号,如:折角(/uE801) 上点号(/uF70A)等)
public static final byte SURROGATE = 19; // 替代字符
public static final byte DASH_PUNCTUATION = 20; // 波折号
public static final byte START_PUNCTUATION = 21; // 开始标点号 (如:(, {, [ ...)
public static final byte END_PUNCTUATION = 22; // 结束标点号 (如:), }, ] ...)
public static final byte CONNECTOR_PUNCTUATION = 23; // 连字号
public static final byte OTHER_PUNCTUATION = 24; // 其它标点符号 #=24 。=24 、=24
public static final byte MATH_SYMBOL = 25; // 数学符号 ≈=25 ∑=25 √=25
public static final byte CURRENCY_SYMBOL = 26; // 货币符号(如:“$”,“¥”等)
public static final byte MODIFIER_SYMBOL = 27; // 修饰符号
public static final byte OTHER_SYMBOL = 28; // 其它符号 ┌=28 ┭=28 ╃=28 §=28 ♀=28
public static final byte INITIAL_QUOTE_PUNCTUATION = 29; // 引号 “ 等 ‘=29 “=29
public static final byte FINAL_QUOTE_PUNCTUATION = 30; // 反引号 ”等
Character类中字符类型归类
最新推荐文章于 2022-04-27 14:57:27 发布