@API(status=MAINTAINED, since="1.0") public enum HierarchyTraversalMode extends java.lang.Enum<HierarchyTraversalMode>
Enum Constant | Description |
---|---|
BOTTOM_UP |
Traverse the hierarchy using bottom-up semantics.
|
TOP_DOWN |
Traverse the hierarchy using top-down semantics.
|
Modifier and Type | Method | Description |
---|---|---|
static HierarchyTraversalMode |
valueOf(java.lang.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(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