public static enum Instruction.Type extends java.lang.Enum<Instruction.Type>
Enum Constant and Description |
---|
ADD_LEAF
Instruction type: add leaf.
|
ADD_NODE
Instruction type: add node.
|
REMOVE_LEAF
Instruction type: remove leaf.
|
REMOVE_NODE
Instruction type: remove node.
|
RENAME_LABEL
Instruction type: rename label.
|
Modifier and Type | Method and Description |
---|---|
static Instruction.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Instruction.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Instruction.Type ADD_LEAF
public static final Instruction.Type REMOVE_LEAF
public static final Instruction.Type RENAME_LABEL
public static final Instruction.Type ADD_NODE
public static final Instruction.Type REMOVE_NODE
public static Instruction.Type[] values()
for (Instruction.Type c : Instruction.Type.values()) System.out.println(c);
public static Instruction.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null