public static enum Direction.LogicalDirection extends java.lang.Enum<Direction.LogicalDirection>
Modifier and Type | Method and Description |
---|---|
abstract Direction.LogicalDirection |
reverse() |
static Direction.LogicalDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Direction.LogicalDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Direction.LogicalDirection FORWARD
public static final Direction.LogicalDirection BACKWARD
public static Direction.LogicalDirection[] values()
for (Direction.LogicalDirection c : Direction.LogicalDirection.values()) System.out.println(c);
public static Direction.LogicalDirection 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 nullpublic abstract Direction.LogicalDirection reverse()