@API(value=Maintained) public enum HierarchyTraversalMode extends Enum<HierarchyTraversalMode>
Enum Constant and Description |
---|
BOTTOM_UP
Traverse the hierarchy using bottom-up semantics.
|
TOP_DOWN
Traverse the hierarchy using top-down semantics.
|
Modifier and Type | Method and Description |
---|---|
static HierarchyTraversalMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HierarchyTraversalMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HierarchyTraversalMode TOP_DOWN
public static final HierarchyTraversalMode BOTTOM_UP
public static HierarchyTraversalMode[] values()
for (HierarchyTraversalMode c : HierarchyTraversalMode.values()) System.out.println(c);
public static HierarchyTraversalMode 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 null