public static enum SerialChannel.StopBits extends Enum<SerialChannel.StopBits>
| Enum Constant and Description |
|---|
STOPBITS_1 |
STOPBITS_1_5 |
STOPBITS_2 |
| Modifier and Type | Method and Description |
|---|---|
static SerialChannel.StopBits |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SerialChannel.StopBits[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerialChannel.StopBits STOPBITS_1
public static final SerialChannel.StopBits STOPBITS_1_5
public static final SerialChannel.StopBits STOPBITS_2
public static SerialChannel.StopBits[] values()
for (SerialChannel.StopBits c : SerialChannel.StopBits.values()) System.out.println(c);
public static SerialChannel.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 © 2015. All rights reserved.