|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<CmpN.Comp>
org.basex.query.xquery.expr.CmpN.Comp
public static enum CmpN.Comp
Comparators.
Enum Constant Summary | |
---|---|
EQ
Node Comparison: same. |
|
ET
Node Comparison: before. |
|
GT
Node Comparison: after. |
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 CmpN.Comp |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CmpN.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 CmpN.Comp EQ
public static final CmpN.Comp ET
public static final CmpN.Comp GT
Field Detail |
---|
public final java.lang.String name
Method Detail |
---|
public static CmpN.Comp[] values()
for (CmpN.Comp c : CmpN.Comp.values()) System.out.println(c);
public static CmpN.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<CmpN.Comp>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |