public static enum Code.Choice extends Enum<Code.Choice>
Modifier and Type | Method and Description |
---|---|
static Code.Choice |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Code.Choice[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Code.Choice LOCAL
public static final Code.Choice GLOBAL
public static Code.Choice[] values()
for (Code.Choice c : Code.Choice.values()) System.out.println(c);
public static Code.Choice 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 null