public static enum GpioSetting.GpioValue extends java.lang.Enum<GpioSetting.GpioValue>
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static GpioSetting.GpioValue |
valueOf(int nValue) |
static GpioSetting.GpioValue |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GpioSetting.GpioValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GpioSetting.GpioValue GPIO_LOW
public static final GpioSetting.GpioValue GPIO_HIGH
public static GpioSetting.GpioValue[] values()
for (GpioSetting.GpioValue c : GpioSetting.GpioValue.values()) System.out.println(c);
public static GpioSetting.GpioValue 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 static GpioSetting.GpioValue valueOf(int nValue)
public int getValue()