public enum GlobalModelCodelEnum extends Enum<GlobalModelCodelEnum> implements net.mingsoft.base.constant.e.BaseEnum
| Enum Constant and Description |
|---|
CITY |
| Modifier and Type | Method and Description |
|---|---|
int |
toInt() |
String |
toString()
返回该CookieConst常量的字符串表示
|
static GlobalModelCodelEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GlobalModelCodelEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GlobalModelCodelEnum CITY
public static GlobalModelCodelEnum[] values()
for (GlobalModelCodelEnum c : GlobalModelCodelEnum.values()) System.out.println(c);
public static GlobalModelCodelEnum 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 nullpublic String toString()
toString in interface net.mingsoft.base.constant.e.BaseEnumtoString in class Enum<GlobalModelCodelEnum>public int toInt()
toInt in interface net.mingsoft.base.constant.e.BaseEnumCopyright © 2020. All rights reserved.