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