public enum DataCharParity extends Enum<DataCharParity>
Enum Constant and Description |
---|
Even
Even parity.
|
Odd
Odd parity.
|
Modifier and Type | Method and Description |
---|---|
static DataCharParity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataCharParity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataCharParity Odd
public static final DataCharParity Even
public static DataCharParity[] values()
for (DataCharParity c : DataCharParity.values()) System.out.println(c);
public static DataCharParity 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 null
© 2016 ZIH Corp. All Rights Reserved.