public static enum SerialCommConfig.DataBits extends java.lang.Enum<SerialCommConfig.DataBits>
Enum Constant and Description |
---|
EIGHT
Data bits per byte is 8
|
SEVEN
Data bits per byte is 7
|
Modifier and Type | Method and Description |
---|---|
static SerialCommConfig.DataBits |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SerialCommConfig.DataBits[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerialCommConfig.DataBits SEVEN
public static final SerialCommConfig.DataBits EIGHT
public static SerialCommConfig.DataBits[] values()
for (SerialCommConfig.DataBits c : SerialCommConfig.DataBits.values()) System.out.println(c);
public static SerialCommConfig.DataBits 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