public enum KindOfControl extends Enum<KindOfControl>
Modifier and Type | Field and Description |
---|---|
static int |
CASE_VALUE |
static int |
IF_VALUE |
static List<KindOfControl> |
VALUES |
Modifier and Type | Method and Description |
---|---|
static KindOfControl |
get(int value) |
static KindOfControl |
get(String literal) |
static KindOfControl |
getByName(String name) |
String |
getLiteral() |
String |
getName() |
int |
getValue() |
String |
toString() |
static KindOfControl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KindOfControl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KindOfControl IF
public static final KindOfControl CASE
public static final int IF_VALUE
public static final int CASE_VALUE
public static final List<KindOfControl> VALUES
public static KindOfControl[] values()
for (KindOfControl c : KindOfControl.values()) System.out.println(c);
public static KindOfControl 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 static KindOfControl get(String literal)
public static KindOfControl getByName(String name)
public static KindOfControl get(int value)
public int getValue()
public String getName()
public String getLiteral()
public String toString()
toString
in class Enum<KindOfControl>