public static enum RandomizedSearch.SearchMode extends Enum<RandomizedSearch.SearchMode>
Enum Constant and Description |
---|
MIX_REMOVE_SWITCH |
SEQ_REMOVE_SWITCH |
Modifier and Type | Method and Description |
---|---|
static RandomizedSearch.SearchMode |
fromValue(String name)
Returns the search mode
enum instance
corresponding to the given search mode name. |
String |
toString() |
static RandomizedSearch.SearchMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RandomizedSearch.SearchMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RandomizedSearch.SearchMode MIX_REMOVE_SWITCH
public static final RandomizedSearch.SearchMode SEQ_REMOVE_SWITCH
public static RandomizedSearch.SearchMode[] values()
for (RandomizedSearch.SearchMode c : RandomizedSearch.SearchMode.values()) System.out.println(c);
public static RandomizedSearch.SearchMode 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 nullpublic String toString()
toString
in class Enum<RandomizedSearch.SearchMode>
public static RandomizedSearch.SearchMode fromValue(String name)
enum
instance
corresponding to the given search mode name.name
- the name of the search modeenum
instance