public static enum Ascii.StopBits extends Enum<Ascii.StopBits>
| Enum Constant and Description |
|---|
ONE
One stop bit
|
TWO
Two stop bits
|
| Modifier and Type | Method and Description |
|---|---|
static Ascii.StopBits |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Ascii.StopBits[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Ascii.StopBits ONE
public static final Ascii.StopBits TWO
public static Ascii.StopBits[] values()
for (Ascii.StopBits c : Ascii.StopBits.values()) System.out.println(c);
public static Ascii.StopBits 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 © 2016 LSST. All rights reserved.