public static enum Com.BaudRates extends java.lang.Enum<Com.BaudRates>
Enum Constant and Description |
---|
B115200 |
B19200 |
B38400 |
B57600 |
B9600 |
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
static Com.BaudRates |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Com.BaudRates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Com.BaudRates B9600
public static final Com.BaudRates B19200
public static final Com.BaudRates B38400
public static final Com.BaudRates B57600
public static final Com.BaudRates B115200
public static Com.BaudRates[] values()
for (Com.BaudRates c : Com.BaudRates.values()) System.out.println(c);
public static Com.BaudRates 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