public static enum SearchPredicate.SearchType extends java.lang.Enum<SearchPredicate.SearchType>
Enum Constant and Description |
---|
CONTAINS |
EQUAL |
GREATER_THAN |
LESS_THAN |
PREFIX |
RANGE_NUMBER |
SUFFIX |
Modifier and Type | Method and Description |
---|---|
static SearchPredicate.SearchType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SearchPredicate.SearchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchPredicate.SearchType CONTAINS
public static final SearchPredicate.SearchType PREFIX
public static final SearchPredicate.SearchType SUFFIX
public static final SearchPredicate.SearchType LESS_THAN
public static final SearchPredicate.SearchType GREATER_THAN
public static final SearchPredicate.SearchType RANGE_NUMBER
public static final SearchPredicate.SearchType EQUAL
public static SearchPredicate.SearchType[] values()
for (SearchPredicate.SearchType c : SearchPredicate.SearchType.values()) System.out.println(c);
public static SearchPredicate.SearchType 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