public static enum SerialAddress.DataBits extends java.lang.Enum<SerialAddress.DataBits>
Enum Constant and Description |
---|
DATABITS_5 |
DATABITS_6 |
DATABITS_7 |
DATABITS_8 |
Modifier and Type | Method and Description |
---|---|
static SerialAddress.DataBits |
valueOf(java.lang.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(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 nullCopyright © 2004-2019 Apache MINA Project. All Rights Reserved.