public static enum Code.Choice extends java.lang.Enum<Code.Choice>
| Modifier and Type | Method and Description |
|---|---|
static Code.Choice |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null