public static enum CommonBxUnit.LangType extends Enum<CommonBxUnit.LangType>
Modifier and Type | Method and Description |
---|---|
static CommonBxUnit.LangType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommonBxUnit.LangType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommonBxUnit.LangType CHINESE
public static final CommonBxUnit.LangType ENGLISH
public static CommonBxUnit.LangType[] values()
for (CommonBxUnit.LangType c : CommonBxUnit.LangType.values()) System.out.println(c);
public static CommonBxUnit.LangType 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 © 2020 onbon4j. All rights reserved.