|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CmpV.Comp>
org.basex.query.expr.CmpV.Comp
public static enum CmpV.Comp
Comparators.
| Enum Constant Summary | |
|---|---|
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. |
|
| Field Summary | |
|---|---|
String |
name
String representation. |
| Method Summary | |
|---|---|
abstract boolean |
e(Item a,
Item b)
Evaluates the expression. |
abstract CmpV.Comp |
invert()
Inverts the comparator. |
String |
toString()
|
static CmpV.Comp |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CmpV.Comp[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final CmpV.Comp LE
public static final CmpV.Comp LT
public static final CmpV.Comp GE
public static final CmpV.Comp GT
public static final CmpV.Comp EQ
public static final CmpV.Comp NE
| Field Detail |
|---|
public final String name
| Method Detail |
|---|
public static CmpV.Comp[] values()
for (CmpV.Comp c : CmpV.Comp.values()) System.out.println(c);
public static CmpV.Comp valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
public abstract boolean e(Item a,
Item b)
throws QueryException
a - first itemb - second item
QueryException - query exceptionpublic abstract CmpV.Comp invert()
public String toString()
toString in class Enum<CmpV.Comp>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||