public static enum Main.RobotState extends Enum<Main.RobotState>
Enum Constant and Description |
---|
Avoiding |
Capture |
Disabled |
Finished |
Localization |
Returning |
Search |
Setup |
Modifier and Type | Method and Description |
---|---|
static Main.RobotState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Main.RobotState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Main.RobotState Setup
public static final Main.RobotState Localization
public static final Main.RobotState Search
public static final Main.RobotState Capture
public static final Main.RobotState Disabled
public static final Main.RobotState Avoiding
public static final Main.RobotState Returning
public static final Main.RobotState Finished
public static Main.RobotState[] values()
for (Main.RobotState c : Main.RobotState.values()) System.out.println(c);
public static Main.RobotState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null