|
||||||||||
| 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.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 | |
|---|---|
String |
name
String representation. |
| Method Summary | |
|---|---|
abstract boolean |
e(Item a,
Item b)
Evaluates the expression. |
String |
toString()
|
static CmpN.Comp |
valueOf(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 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(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 String toString()
toString in class Enum<CmpN.Comp>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||