java命名空间java.lang类character的类成员方法:
gettype定义及介绍
本文导语:
gettype
public static int gettype(char ch)
返回一个指示字符的常规类别的值。
注: 此方法无法处理增补字符。若要支持所有 unicode 字符,包括增补字符,请使用 gettype(int) 方法。
参数:ch - 要测试的字符。
返回:表示字符的常...
public static int gettype(char ch)
- 返回一个指示字符的常规类别的值。
注: 此方法无法处理增补字符。若要支持所有 unicode 字符,包括增补字符,请使用 gettype(int) 方法。
- 参数:
ch - 要测试的字符。
- 返回:
- 表示字符的常规类别的
int 类型的值。 - 从以下版本开始:
- 1.1
- 另请参见:
combining_spacing_mark,
connector_punctuation,
control,
currency_symbol,
dash_punctuation,
decimal_digit_number,
enclosing_mark,
end_punctuation,
final_quote_punctuation,
format,
initial_quote_punctuation,
letter_number,
line_separator,
lowercase_letter,
math_symbol,
modifier_letter,
modifier_symbol,
non_spacing_mark,
other_letter,
other_number,
other_punctuation,
other_symbol,
paragraph_separator,
private_use,
space_separator,
start_punctuation,
surrogate,
titlecase_letter,
unassigned,
uppercase_letter