public static enum Tree.SearchMode extends java.lang.Enum<Tree.SearchMode>
A
|
-------
| |
B C
| |
--- ---
| | | |
D E F G
See Tree.searchBranch(TestFoundListener, SearchMode, boolean)| Enum Constant and Description |
|---|
LEFT_TO_RIGHT_DEPTH
Search order : A B D E C F G
|
LEFT_TO_RIGHT_HIGH
Search order : A B C D E F G
|
RIGHT_TO_LEFT_DEPTH
Search order : A C G F B E D
|
RIGHT_TO_LEFT_HIGH
Search order : A C B G F E D
|
| Modifier and Type | Method and Description |
|---|---|
static Tree.SearchMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Tree.SearchMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tree.SearchMode LEFT_TO_RIGHT_DEPTH
public static final Tree.SearchMode LEFT_TO_RIGHT_HIGH
public static final Tree.SearchMode RIGHT_TO_LEFT_DEPTH
public static final Tree.SearchMode RIGHT_TO_LEFT_HIGH
public static Tree.SearchMode[] values()
for (Tree.SearchMode c : Tree.SearchMode.values()) System.out.println(c);
public static Tree.SearchMode 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