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