Package org.teamapps.data.value.filter
Enum TextFilter.Comparator
- java.lang.Object
-
- java.lang.Enum<TextFilter.Comparator>
-
- org.teamapps.data.value.filter.TextFilter.Comparator
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TextFilter.Comparator>
- Enclosing class:
- TextFilter
public static enum TextFilter.Comparator extends java.lang.Enum<TextFilter.Comparator>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EQUALFUZZYSTARTS_NOT_WITHSTARTS_WITHUNEQUALUNEQUAL_FUZZYUNEQUAL_WILDCARDWILDCARD
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TextFilter.ComparatorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TextFilter.Comparator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUAL
public static final TextFilter.Comparator EQUAL
-
UNEQUAL
public static final TextFilter.Comparator UNEQUAL
-
STARTS_WITH
public static final TextFilter.Comparator STARTS_WITH
-
STARTS_NOT_WITH
public static final TextFilter.Comparator STARTS_NOT_WITH
-
WILDCARD
public static final TextFilter.Comparator WILDCARD
-
UNEQUAL_WILDCARD
public static final TextFilter.Comparator UNEQUAL_WILDCARD
-
FUZZY
public static final TextFilter.Comparator FUZZY
-
UNEQUAL_FUZZY
public static final TextFilter.Comparator UNEQUAL_FUZZY
-
-
Method Detail
-
values
public static TextFilter.Comparator[] 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 (TextFilter.Comparator c : TextFilter.Comparator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TextFilter.Comparator valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-