public enum SensorDirection extends java.lang.Enum<SensorDirection>
Enum Constant and Description |
---|
Input |
Output |
Reserved |
Unspecified |
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
static SensorDirection |
parseInt(int value) |
static SensorDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SensorDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SensorDirection Unspecified
public static final SensorDirection Input
public static final SensorDirection Output
public static final SensorDirection Reserved
public static SensorDirection[] values()
for (SensorDirection c : SensorDirection.values()) System.out.println(c);
public static SensorDirection 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 int getCode()
public static SensorDirection parseInt(int value)