Enum Constant and Description |
---|
DI
A Digital Input event from the Alien GPIO Stream (GPI Event)
|
DO
A Digital Output event from the Alien GPIO Stream (GPO Event)
|
HEADER
A Header message from the ALien GPIO Stream
|
Modifier and Type | Method and Description |
---|---|
static GPIOEvent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GPIOEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GPIOEvent DI
public static final GPIOEvent DO
public static final GPIOEvent HEADER
public static GPIOEvent[] values()
for (GPIOEvent c : GPIOEvent.values()) System.out.println(c);
public static GPIOEvent 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