public static enum SerialPort.StopBits extends java.lang.Enum<SerialPort.StopBits>
| Enum Constant and Description |
|---|
kOne |
kOnePointFive |
kTwo |
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
static SerialPort.StopBits |
valueOf(java.lang.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 kOne
public static final SerialPort.StopBits kOnePointFive
public static final SerialPort.StopBits kTwo
public final int value
public static SerialPort.StopBits[] values()
for (SerialPort.StopBits c : SerialPort.StopBits.values()) System.out.println(c);
public static SerialPort.StopBits valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null