public enum RobotFieldRange extends java.lang.Enum<RobotFieldRange>
Enum Constant and Description |
---|
DOOR |
FIRST_QUADRANT |
FORTH_QUADRANT |
NO_QUADRANT |
SECOND_QUADRANT |
THIRD_QUADRANT |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
static RobotFieldRange |
getFieldRange(int value) |
java.lang.String |
toString() |
static RobotFieldRange |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RobotFieldRange[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RobotFieldRange DOOR
public static final RobotFieldRange FIRST_QUADRANT
public static final RobotFieldRange FORTH_QUADRANT
public static final RobotFieldRange NO_QUADRANT
public static final RobotFieldRange SECOND_QUADRANT
public static final RobotFieldRange THIRD_QUADRANT
public java.lang.String getDescription()
public static RobotFieldRange getFieldRange(int value)
public java.lang.String toString()
toString
in class java.lang.Enum<RobotFieldRange>
public static RobotFieldRange 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 static RobotFieldRange[] values()
for (RobotFieldRange c : RobotFieldRange.values()) System.out.println(c);