public static enum BlockType.BlockCategory extends Enum<BlockType.BlockCategory>
| Enum Constant and Description |
|---|
ALL_CATEGORIES |
BLOOM |
DATA |
INDEX |
META |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
void |
expectSpecific()
Throws an exception if the block category passed is the special category
meaning "all categories".
|
static BlockType.BlockCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockType.BlockCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockType.BlockCategory DATA
public static final BlockType.BlockCategory META
public static final BlockType.BlockCategory INDEX
public static final BlockType.BlockCategory BLOOM
public static final BlockType.BlockCategory ALL_CATEGORIES
public static final BlockType.BlockCategory UNKNOWN
public static BlockType.BlockCategory[] values()
for (BlockType.BlockCategory c : BlockType.BlockCategory.values()) System.out.println(c);
public static BlockType.BlockCategory 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 nullpublic void expectSpecific()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.