public enum NodeRelation extends Enum<NodeRelation>
This is used during MDD combinations, to determine the "top" node and help the operator to pick the right code path.
| Enum Constant and Description |
|---|
LL
two leaves
|
LN
a leaf and then a node
|
NL
a node and then a leaf
|
NN
two nodes of the same level
|
NNf
two nodes of different levels, the second comes first
|
NNn
two nodes of different levels, the second comes next
|
| Modifier and Type | Method and Description |
|---|---|
static NodeRelation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeRelation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeRelation LL
public static final NodeRelation LN
public static final NodeRelation NL
public static final NodeRelation NN
public static final NodeRelation NNf
public static final NodeRelation NNn
public static NodeRelation[] values()
for (NodeRelation c : NodeRelation.values()) System.out.println(c);
public static NodeRelation 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 © 2009–2020. All rights reserved.