public static enum SerialAddress.StopBits extends java.lang.Enum<SerialAddress.StopBits>
Modifier and Type | Method and Description |
---|---|
static SerialAddress.StopBits |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SerialAddress.StopBits[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerialAddress.StopBits BITS_1
public static final SerialAddress.StopBits BITS_2
public static final SerialAddress.StopBits BITS_1_5
public static SerialAddress.StopBits[] values()
for (SerialAddress.StopBits c : SerialAddress.StopBits.values()) System.out.println(c);
public static SerialAddress.StopBits 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.