|
sdr 0.7 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Prim.Direction> net.cscott.sdr.calls.ast.Prim.Direction
public static enum Prim.Direction
The Prim.Direction
enumeration tells whether the movement
is relative to the center of the formation.
Enum Constant Summary | |
---|---|
ASIS
Directions are not relative to formation: positive is right/forward/cw; negative is left/backward/ccw. |
|
IN
Directions are relative to formation: positive is "toward the center" and negative is "away from the center". |
Method Summary | |
---|---|
static Prim.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Prim.Direction[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Prim.Direction ASIS
public static final Prim.Direction IN
Method Detail |
---|
public static Prim.Direction[] values()
for (Prim.Direction c : Prim.Direction.values()) System.out.println(c);
public static Prim.Direction valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
sdr 0.7 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |