public enum MessageCoding extends Enum<MessageCoding>
Enum Constant and Description |
---|
CODING_16_BIT
Coding 16-bit.
|
CODING_7_BIT
Coding 7-bit.
|
CODING_8_BIT
Coding 8-bit.
|
Modifier and Type | Method and Description |
---|---|
static MessageCoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageCoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageCoding CODING_7_BIT
public static final MessageCoding CODING_8_BIT
public static final MessageCoding CODING_16_BIT
public static MessageCoding[] values()
for (MessageCoding c : MessageCoding.values()) System.out.println(c);
public static MessageCoding 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 null