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