Package com.ftdi
Enum Class DeviceStatus
- All Implemented Interfaces:
Serializable,Comparable<DeviceStatus>,java.lang.constant.Constable
Modem and line statuses of device.
- Author:
- Peter Kocsis invalid input: '<'p. kocsis. 2. 7182 at gmail.com>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiontoString()static DeviceStatusReturns the enum constant of this class with the specified name.static DeviceStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CTS
Clear To Send -
DSR
Data Set Ready -
RI
Ring Indicator -
DCD
Data Carrier Detect -
OE
Overrun Error -
PE
Parity Error -
FE
Framing Error -
BI
Break Interrupt
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<DeviceStatus>
-