public static enum Block.BlockType extends Enum<Block.BlockType>
Enum Constant and Description |
---|
AFTER_BLOCK |
BEFORE_BLOCK |
DESTINATION |
SOURCE |
Modifier and Type | Method and Description |
---|---|
static Block.BlockType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Block.BlockType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Block.BlockType BEFORE_BLOCK
public static final Block.BlockType AFTER_BLOCK
public static final Block.BlockType SOURCE
public static final Block.BlockType DESTINATION
public static Block.BlockType[] values()
for (Block.BlockType c : Block.BlockType.values()) System.out.println(c);
public static Block.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 © 2010-2020 Toolsverse. All Rights Reserved.