public static enum Algorithm.SearchType extends Enum<Algorithm.SearchType>
Enum Constant and Description |
---|
backward
The backward search type
|
forward
The forward search type
|
Modifier and Type | Method and Description |
---|---|
static Algorithm.SearchType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Algorithm.SearchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Algorithm.SearchType forward
public static final Algorithm.SearchType backward
public static Algorithm.SearchType[] values()
for (Algorithm.SearchType c : Algorithm.SearchType.values()) System.out.println(c);
public static Algorithm.SearchType 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