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