public static enum UartSettings.StopBitEnum extends java.lang.Enum<UartSettings.StopBitEnum>
Enum Constant and Description |
---|
ONE |
ONE_AND_HALF |
TWO |
Modifier and Type | Method and Description |
---|---|
static UartSettings.StopBitEnum |
fromValue(java.lang.String text) |
java.lang.String |
getValue() |
java.lang.String |
toString() |
static UartSettings.StopBitEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UartSettings.StopBitEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UartSettings.StopBitEnum ONE
public static final UartSettings.StopBitEnum ONE_AND_HALF
public static final UartSettings.StopBitEnum TWO
public static UartSettings.StopBitEnum[] values()
for (UartSettings.StopBitEnum c : UartSettings.StopBitEnum.values()) System.out.println(c);
public static UartSettings.StopBitEnum 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 java.lang.String getValue()
public java.lang.String toString()
toString
in class java.lang.Enum<UartSettings.StopBitEnum>
public static UartSettings.StopBitEnum fromValue(java.lang.String text)