public static enum SerialPort.DataBits extends Enum<SerialPort.DataBits>
Enum Constant and Description |
---|
DATABITS_5 |
DATABITS_6 |
DATABITS_7 |
DATABITS_8 |
Modifier and Type | Method and Description |
---|---|
int |
getDataBits() |
static SerialPort.DataBits |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SerialPort.DataBits[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerialPort.DataBits DATABITS_5
public static final SerialPort.DataBits DATABITS_6
public static final SerialPort.DataBits DATABITS_7
public static final SerialPort.DataBits DATABITS_8
public static SerialPort.DataBits[] values()
for (SerialPort.DataBits c : SerialPort.DataBits.values()) System.out.println(c);
public static SerialPort.DataBits 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 int getDataBits()
Copyright © 2020. All rights reserved.