public static enum Sensor.Port extends Enum<Sensor.Port>
Modifier and Type | Method and Description |
---|---|
static Sensor.Port |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Sensor.Port[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Sensor.Port S1
public static final Sensor.Port S2
public static final Sensor.Port S3
public static final Sensor.Port S4
public static Sensor.Port[] values()
for (Sensor.Port c : Sensor.Port.values()) System.out.println(c);
public static Sensor.Port 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