public static enum RxtxChannelConfig.Databits extends java.lang.Enum<RxtxChannelConfig.Databits>
枚举常量和说明 |
---|
DATABITS_5
5 data bits will be used for each character (ie.
|
DATABITS_6
6 data bits will be used for each character
|
DATABITS_7
7 data bits will be used for each character (ie.
|
DATABITS_8
8 data bits will be used for each character (ie. binary data)
|
限定符和类型 | 方法和说明 |
---|---|
int |
value() |
static RxtxChannelConfig.Databits |
valueOf(int value) |
static RxtxChannelConfig.Databits |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static RxtxChannelConfig.Databits[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final RxtxChannelConfig.Databits DATABITS_5
public static final RxtxChannelConfig.Databits DATABITS_6
public static final RxtxChannelConfig.Databits DATABITS_7
public static final RxtxChannelConfig.Databits DATABITS_8
public static RxtxChannelConfig.Databits[] values()
for (RxtxChannelConfig.Databits c : RxtxChannelConfig.Databits.values()) System.out.println(c);
public static RxtxChannelConfig.Databits valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public int value()
public static RxtxChannelConfig.Databits valueOf(int value)