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 | ü |
| Enum Constant and Description |
|---|
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".
|
| Modifier and Type | Method and Description |
|---|---|
static YuCharType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YuCharType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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 - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2016. All rights reserved.