|
||||||||||
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.xquery.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 | |
---|---|
java.lang.String |
name
String representation. |
Method Summary | |
---|---|
abstract boolean |
e(Item a,
Item b)
Evaluates the expression. |
java.lang.String |
toString()
|
static CmpV.Comp |
valueOf(java.lang.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 java.lang.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(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 name
java.lang.NullPointerException
- if the argument is nullpublic abstract boolean e(Item a, Item b) throws XQException
a
- first itemb
- second item
XQException
- evaluation exceptionpublic java.lang.String toString()
toString
in class java.lang.Enum<CmpV.Comp>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |