public enum SubCommandType extends java.lang.Enum<SubCommandType>
Enum Constant and Description |
---|
DefaultParameter |
Inventory |
Kill |
LockTag |
None |
PermaLockTag |
ReadMemory |
SaveParameter |
Stop |
WriteMemory |
Modifier and Type | Method and Description |
---|---|
char |
getCommand() |
java.lang.String |
toString() |
static SubCommandType |
valueOf(char cmd) |
static SubCommandType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SubCommandType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubCommandType None
public static final SubCommandType Inventory
public static final SubCommandType ReadMemory
public static final SubCommandType WriteMemory
public static final SubCommandType LockTag
public static final SubCommandType PermaLockTag
public static final SubCommandType Kill
public static final SubCommandType Stop
public static final SubCommandType DefaultParameter
public static final SubCommandType SaveParameter
public static SubCommandType[] values()
for (SubCommandType c : SubCommandType.values()) System.out.println(c);
public static SubCommandType 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 char getCommand()
public java.lang.String toString()
toString
in class java.lang.Enum<SubCommandType>
public static SubCommandType valueOf(char cmd)