public enum SearchOptions extends Enum<SearchOptions>
SearchEngine
s.Enum Constant and Description |
---|
CASE_SENSITIVE |
WHOLE_WORDS_ONLY |
WILDCARD |
Modifier and Type | Method and Description |
---|---|
String |
getSearchOption() |
static SearchOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchOptions CASE_SENSITIVE
public static final SearchOptions WHOLE_WORDS_ONLY
public static final SearchOptions WILDCARD
public static SearchOptions[] values()
for (SearchOptions c : SearchOptions.values()) System.out.println(c);
public static SearchOptions 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 getSearchOption()
Copyright © 2024 levigo holding gmbh. All rights reserved.