public enum MessageClass extends Enum<MessageClass>
Modifier and Type | Field and Description |
---|---|
static byte |
MASK_MESSAGE_CLASS |
Modifier and Type | Method and Description |
---|---|
byte |
value() |
static MessageClass |
valueOf(byte value) |
static MessageClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageClass CLASS0
public static final MessageClass CLASS1
public static final MessageClass CLASS2
public static final MessageClass CLASS3
public static final byte MASK_MESSAGE_CLASS
public static MessageClass[] values()
for (MessageClass c : MessageClass.values()) System.out.println(c);
public static MessageClass 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 byte value()
public static MessageClass valueOf(byte value)