public enum State extends Enum<State>
| Enum Constant and Description |
|---|
AVOIDED |
AVOIDING |
CHARGE |
CHARGING |
CONTINUE |
CONTINUED |
DEFAULT |
LAND |
LONGBACK |
LONGFORTH |
SHORTBACK |
SHORTFORTH |
TERMINATE |
| Modifier and Type | Method and Description |
|---|---|
static State |
getNextState(State current) |
static State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final State DEFAULT
public static final State LONGFORTH
public static final State SHORTFORTH
public static final State LONGBACK
public static final State SHORTBACK
public static final State TERMINATE
public static final State LAND
public static final State CHARGE
public static final State CHARGING
public static final State AVOIDING
public static final State AVOIDED
public static final State CONTINUE
public static final State CONTINUED
public static State[] values()
for (State c : State.values()) System.out.println(c);
public static State 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 nullCopyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.