Serializable
, Comparable<BlockContentType>
public enum BlockContentType extends Enum<BlockContentType>
Enum Constant | Description |
---|---|
COMPRESSION_HEADER |
|
CORE |
|
EXTERNAL |
|
FILE_HEADER |
|
MAPPED_SLICE |
|
RESERVED |
Modifier and Type | Method | Description |
---|---|---|
static BlockContentType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static BlockContentType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockContentType FILE_HEADER
public static final BlockContentType COMPRESSION_HEADER
public static final BlockContentType MAPPED_SLICE
public static final BlockContentType RESERVED
public static final BlockContentType EXTERNAL
public static final BlockContentType CORE
public static BlockContentType[] values()
for (BlockContentType c : BlockContentType.values()) System.out.println(c);
public static BlockContentType 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 null