public static enum SerialChannel.DataBits extends Enum<SerialChannel.DataBits>
| Enum Constant and Description |
|---|
DATABITS_4 |
DATABITS_5 |
DATABITS_6 |
DATABITS_7 |
DATABITS_8 |
| Modifier and Type | Method and Description |
|---|---|
static SerialChannel.DataBits |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SerialChannel.DataBits[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerialChannel.DataBits DATABITS_4
public static final SerialChannel.DataBits DATABITS_5
public static final SerialChannel.DataBits DATABITS_6
public static final SerialChannel.DataBits DATABITS_7
public static final SerialChannel.DataBits DATABITS_8
public static SerialChannel.DataBits[] values()
for (SerialChannel.DataBits c : SerialChannel.DataBits.values()) System.out.println(c);
public static SerialChannel.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 nullCopyright © 2015. All rights reserved.