public enum RegionsEnum extends Enum<RegionsEnum>
| Modifier and Type | Method and Description |
|---|---|
String |
getDesc() |
String |
getValue() |
void |
setDesc(String desc) |
void |
setValue(String value) |
static RegionsEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegionsEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegionsEnum CN
public static final RegionsEnum HK
public static final RegionsEnum TW
public static final RegionsEnum AS
public static final RegionsEnum NA
public static final RegionsEnum EU
public static final RegionsEnum AU
public static final RegionsEnum AF
public static final RegionsEnum SA
public static RegionsEnum[] values()
for (RegionsEnum c : RegionsEnum.values()) System.out.println(c);
public static RegionsEnum 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 getValue()
public void setValue(String value)
public String getDesc()
public void setDesc(String desc)
Copyright © 2023. All rights reserved.