public static enum Ascii.DataBits extends Enum<Ascii.DataBits>
| Enum Constant and Description |
|---|
EIGHT
Eight data bits
|
SEVEN
Seven data bits
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static Ascii.DataBits |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Ascii.DataBits[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Ascii.DataBits SEVEN
public static final Ascii.DataBits EIGHT
public static Ascii.DataBits[] values()
for (Ascii.DataBits c : Ascii.DataBits.values()) System.out.println(c);
public static Ascii.DataBits 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 nullpublic int getValue()
Copyright © 2015 LSST. All rights reserved.