private static enum EatWhatYouKill.Mode extends java.lang.Enum<EatWhatYouKill.Mode>
Enum Constant and Description |
---|
EXECUTE_PRODUCE_CONSUME |
PRODUCE_CONSUME |
PRODUCE_EXECUTE_CONSUME |
PRODUCE_INVOKE_CONSUME |
Modifier and Type | Method and Description |
---|---|
static EatWhatYouKill.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EatWhatYouKill.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EatWhatYouKill.Mode PRODUCE_CONSUME
public static final EatWhatYouKill.Mode PRODUCE_INVOKE_CONSUME
public static final EatWhatYouKill.Mode PRODUCE_EXECUTE_CONSUME
public static final EatWhatYouKill.Mode EXECUTE_PRODUCE_CONSUME
public static EatWhatYouKill.Mode[] values()
for (EatWhatYouKill.Mode c : EatWhatYouKill.Mode.values()) System.out.println(c);
public static EatWhatYouKill.Mode 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