public static enum RoboLib.StationID extends java.lang.Enum<RoboLib.StationID>
| Enum Constant and Description |
|---|
BLUE1 |
BLUE2 |
BLUE3 |
NONE |
RED1 |
RED2 |
RED3 |
| Modifier and Type | Method and Description |
|---|---|
static RoboLib.StationID |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RoboLib.StationID[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoboLib.StationID RED1
public static final RoboLib.StationID RED2
public static final RoboLib.StationID RED3
public static final RoboLib.StationID BLUE1
public static final RoboLib.StationID BLUE2
public static final RoboLib.StationID BLUE3
public static final RoboLib.StationID NONE
public static RoboLib.StationID[] values()
for (RoboLib.StationID c : RoboLib.StationID.values()) System.out.println(c);
public static RoboLib.StationID 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