private static enum Parser.State extends java.lang.Enum<Parser.State>
Enum Constant and Description |
---|
MASK |
MASK_BYTES |
PAYLOAD |
PAYLOAD_LEN |
PAYLOAD_LEN_BYTES |
START |
Modifier and Type | Method and Description |
---|---|
static Parser.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Parser.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Parser.State START
public static final Parser.State PAYLOAD_LEN
public static final Parser.State PAYLOAD_LEN_BYTES
public static final Parser.State MASK
public static final Parser.State MASK_BYTES
public static final Parser.State PAYLOAD
public static Parser.State[] values()
for (Parser.State c : Parser.State.values()) System.out.println(c);
public static Parser.State 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