|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Command.Action> com.j_spaces.map.Command.Action
public static enum Command.Action
The command action types.
Enum Constant Summary | |
---|---|
ACTION_TAKE
Take type. |
|
ACTION_UPDATE
Update type. |
Method Summary | |
---|---|
static Command.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Command.Action[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, 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 Command.Action ACTION_TAKE
public static final Command.Action ACTION_UPDATE
Method Detail |
---|
public static final Command.Action[] values()
for(Command.Action c : Command.Action.values()) System.out.println(c);
public static Command.Action 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |