Package com.caplin.motif.fx.search
Enum SearchComparator
- java.lang.Object
-
- java.lang.Enum<SearchComparator>
-
- com.caplin.motif.fx.search.SearchComparator
-
- All Implemented Interfaces:
Serializable
,Comparable<SearchComparator>
public enum SearchComparator extends Enum<SearchComparator>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SearchComparator
from(String string)
static SearchComparator
valueOf(String name)
Returns the enum constant of this type with the specified name.static SearchComparator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQ
public static final SearchComparator EQ
-
NE
public static final SearchComparator NE
-
GTE
public static final SearchComparator GTE
-
LTE
public static final SearchComparator LTE
-
GT
public static final SearchComparator GT
-
LT
public static final SearchComparator LT
-
-
Method Detail
-
values
public static SearchComparator[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SearchComparator c : SearchComparator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SearchComparator valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
from
public static SearchComparator from(String string)
-
-