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