public static enum Types.BlockType extends Enum<Types.BlockType>
| Enum Constant and Description |
|---|
DENSE_BLOCK |
EMPTY_BLOCK |
SPARSE_BLOCK |
ULTRA_SPARSE_BLOCK |
| Modifier and Type | Method and Description |
|---|---|
static Types.BlockType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Types.BlockType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Types.BlockType EMPTY_BLOCK
public static final Types.BlockType ULTRA_SPARSE_BLOCK
public static final Types.BlockType SPARSE_BLOCK
public static final Types.BlockType DENSE_BLOCK
public static Types.BlockType[] values()
for (Types.BlockType c : Types.BlockType.values()) System.out.println(c);
public static Types.BlockType 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 nullCopyright © 2021 The Apache Software Foundation. All rights reserved.