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