| Enum Constant and Description |
|---|
EQ
Item comparison:equal.
|
GE
Item comparison:greater of equal.
|
GT
Item comparison:greater.
|
LE
Item comparison:less or equal.
|
LT
Item comparison:less.
|
NE
Item comparison:not equal.
|
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
name
String representation.
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
eval(InputInfo ii,
Item a,
Item b)
Evaluates the expression.
|
abstract CmpV.OpV |
invert()
Inverts the comparator.
|
abstract CmpV.OpV |
swap()
Swaps the comparator.
|
java.lang.String |
toString() |
static CmpV.OpV |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CmpV.OpV[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CmpV.OpV LE
public static final CmpV.OpV LT
public static final CmpV.OpV GE
public static final CmpV.OpV GT
public static final CmpV.OpV EQ
public static final CmpV.OpV NE
public static CmpV.OpV[] values()
for (CmpV.OpV c : CmpV.OpV.values()) System.out.println(c);
public static CmpV.OpV 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 nullpublic abstract boolean eval(InputInfo ii, Item a, Item b) throws QueryException
ii - input infoa - first itemb - second itemQueryException - query exceptionpublic abstract CmpV.OpV swap()
public abstract CmpV.OpV invert()
public java.lang.String toString()
toString in class java.lang.Enum<CmpV.OpV>