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