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