public enum DeviceStatus extends Enum<DeviceStatus>
| Enum Constant and Description |
|---|
BI
Break Interrupt
|
CTS
Clear To Send
|
DCD
Data Carrier Detect
|
DSR
Data Set Ready
|
FE
Framing Error
|
OE
Overrun Error
|
PE
Parity Error
|
RI
Ring Indicator
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static DeviceStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeviceStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceStatus CTS
public static final DeviceStatus DSR
public static final DeviceStatus RI
public static final DeviceStatus DCD
public static final DeviceStatus OE
public static final DeviceStatus PE
public static final DeviceStatus FE
public static final DeviceStatus BI
public static DeviceStatus[] values()
for (DeviceStatus c : DeviceStatus.values()) System.out.println(c);
public static DeviceStatus 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 String toString()
toString in class Enum<DeviceStatus>Copyright © 2020. All rights reserved.