public static enum SerialAddress.DataBits extends Enum<SerialAddress.DataBits>
Enum Constant and Description |
---|
DATABITS_5
5 bits per bytes
|
DATABITS_6
6 bits per bytes
|
DATABITS_7
7 bits per bytes
|
DATABITS_8
8 bits per bytes
|
Modifier and Type | Method and Description |
---|---|
static SerialAddress.DataBits |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SerialAddress.DataBits[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerialAddress.DataBits DATABITS_5
public static final SerialAddress.DataBits DATABITS_6
public static final SerialAddress.DataBits DATABITS_7
public static final SerialAddress.DataBits DATABITS_8
public static SerialAddress.DataBits[] values()
for (SerialAddress.DataBits c : SerialAddress.DataBits.values()) System.out.println(c);
public static SerialAddress.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 © 2004–2018 Apache MINA Project. All rights reserved.