public static enum HiTechnicNxtColorSensor.Command extends java.lang.Enum<HiTechnicNxtColorSensor.Command>
| Enum Constant and Description |
|---|
ACTIVE_LED |
PASSIVE_LED |
| Modifier and Type | Field and Description |
|---|---|
byte |
bVal |
| Modifier and Type | Method and Description |
|---|---|
static HiTechnicNxtColorSensor.Command |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HiTechnicNxtColorSensor.Command[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HiTechnicNxtColorSensor.Command ACTIVE_LED
public static final HiTechnicNxtColorSensor.Command PASSIVE_LED
public static HiTechnicNxtColorSensor.Command[] values()
for (HiTechnicNxtColorSensor.Command c : HiTechnicNxtColorSensor.Command.values()) System.out.println(c);
public static HiTechnicNxtColorSensor.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