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