public enum ComparatorType extends java.lang.Enum<ComparatorType>
Enum Constant and Description |
---|
EQUALITY
The equals-to operator.
|
GREATER_THAN
The greater-than operator.
|
GREATER_THAN_OR_EQUAL_TO
The greater-than-or-equal-to operator.
|
LESS_THAN
The less-than operator.
|
LESS_THAN_OR_EQUAL_TO
The less-than-or-equal-to operator.
|
Modifier and Type | Method and Description |
---|---|
static ComparatorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ComparatorType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final ComparatorType EQUALITY
public static final ComparatorType LESS_THAN
public static final ComparatorType GREATER_THAN
public static final ComparatorType LESS_THAN_OR_EQUAL_TO
public static final ComparatorType GREATER_THAN_OR_EQUAL_TO
public static ComparatorType[] values()
for (ComparatorType c : ComparatorType.values()) System.out.println(c);
public static ComparatorType 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