public static enum SerialPort.StopBits extends Enum<SerialPort.StopBits>
| Enum Constant and Description |
|---|
ONE
1 bit.
|
ONE_POINT_FIVE
1.5 bits.
|
TWO
2 bits.
|
| Modifier and Type | Method and Description |
|---|---|
static SerialPort.StopBits |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SerialPort.StopBits[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerialPort.StopBits ONE
public static final SerialPort.StopBits ONE_POINT_FIVE
public static final SerialPort.StopBits TWO
public static SerialPort.StopBits[] values()
for (SerialPort.StopBits c : SerialPort.StopBits.values()) System.out.println(c);
public static SerialPort.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 © 2011. All Rights Reserved.