public static enum SerialAddress.Parity extends Enum<SerialAddress.Parity>
Enum Constant and Description |
---|
EVEN
Even parity
|
MARK
Mark signal condition
|
NONE
No parity bit sent
|
ODD
Odd parity
|
SPACE
Space signal condition
|
Modifier and Type | Method and Description |
---|---|
static SerialAddress.Parity |
valueOf(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(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–2021 Apache MINA Project. All rights reserved.