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