public enum BlockTypes extends Enum<BlockTypes>
| Enum Constant and Description |
|---|
DATA |
LEAVEBLOCK |
NODEBLOCK |
ROOTBLOCK |
| Modifier and Type | Method and Description |
|---|---|
static BlockTypes |
getByTypeDef(int typeDef) |
int |
getTypeDef() |
static BlockTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockTypes ROOTBLOCK
public static final BlockTypes NODEBLOCK
public static final BlockTypes LEAVEBLOCK
public static final BlockTypes DATA
public static BlockTypes[] values()
for (BlockTypes c : BlockTypes.values()) System.out.println(c);
public static BlockTypes 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 int getTypeDef()
public static BlockTypes getByTypeDef(int typeDef)
Copyright © 2015. All rights reserved.