public static enum RS232Config.Parity extends Enum<RS232Config.Parity>
Enum Constant and Description |
---|
PARITY_EVEN |
PARITY_MARK |
PARITY_NONE |
PARITY_ODD |
PARITY_SPACE |
Modifier and Type | Method and Description |
---|---|
static RS232Config.Parity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RS232Config.Parity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RS232Config.Parity PARITY_EVEN
public static final RS232Config.Parity PARITY_MARK
public static final RS232Config.Parity PARITY_NONE
public static final RS232Config.Parity PARITY_ODD
public static final RS232Config.Parity PARITY_SPACE
public static RS232Config.Parity[] values()
for (RS232Config.Parity c : RS232Config.Parity.values()) System.out.println(c);
public static RS232Config.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 © 2015 Sensia Software LLC. All rights reserved.