public enum YuCharType extends Enum<YuCharType>
'ü' is a special character of Hanyu Pinyin, which can not be simply represented by English letters. In Hanyu Pinyin, such characters include 'ü', 'üe', 'üan', and 'ün'.
This class provides several options for output of 'ü', which are listed below.
| Options | Output |
|---|---|
| WITH_U_AND_COLON | u: |
| WITH_V | v |
| WITH_U_UNICODE | ü |
| 枚举常量和说明 |
|---|
WITH_U_AND_COLON
The option indicates that the output of 'ü' is "u:".
|
WITH_U_UNICODE
The option indicates that the output of 'ü' is "ü" in Unicode form.
|
WITH_V
The option indicates that the output of 'ü' is "v".
|
public static final YuCharType WITH_U_AND_COLON
public static final YuCharType WITH_V
public static final YuCharType WITH_U_UNICODE
public static YuCharType[] values()
for (YuCharType c : YuCharType.values()) System.out.println(c);
public static YuCharType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量,
则抛出 IllegalArgumentExceptionNullPointerException - 如果参数为空值, 则抛出 NullPointerExceptionCopyright © 2014. All rights reserved.