public static enum SerialCommConfig.DataBits extends 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(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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null