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