public static enum RobotCmd.Command extends java.lang.Enum<RobotCmd.Command>
Enum Constant and Description |
---|
grab |
home |
init |
position |
put |
query |
version |
Modifier and Type | Method and Description |
---|---|
static RobotCmd.Command |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RobotCmd.Command[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RobotCmd.Command init
public static final RobotCmd.Command version
public static final RobotCmd.Command position
public static final RobotCmd.Command home
public static final RobotCmd.Command grab
public static final RobotCmd.Command put
public static final RobotCmd.Command query
public static RobotCmd.Command[] values()
for (RobotCmd.Command c : RobotCmd.Command.values()) System.out.println(c);
public static RobotCmd.Command 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 null