public enum SearchMode extends Enum<SearchMode>
| Enum Constant and Description |
|---|
ANY_RANGE |
BOTH |
BOTH_RANGE |
SET |
SET_RANGE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDataSearch()
Returns true when the data value is included in the search, i.e., for
BOTH and BOTH_RANGE.
|
boolean |
isExactSearch()
Returns true when the key or key/data search is exact, i.e., for SET
and BOTH.
|
String |
toString() |
static SearchMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchMode SET
public static final SearchMode BOTH
public static final SearchMode SET_RANGE
public static final SearchMode BOTH_RANGE
public static final SearchMode ANY_RANGE
public static SearchMode[] values()
for (SearchMode c : SearchMode.values()) System.out.println(c);
public static 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 final boolean isExactSearch()
public final boolean isDataSearch()
public String toString()
toString in class Enum<SearchMode>Copyright © 2024. All rights reserved.