|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<CmpN.OpN>
org.basex.query.expr.CmpN.OpN
public static enum CmpN.OpN
Comparators.
Enum Constant Summary | |
---|---|
EQ
Node comparison: same. |
|
ET
Node comparison: before. |
|
GT
Node comparison: after. |
Field Summary | |
---|---|
java.lang.String |
name
String representation. |
static CmpN.OpN[] |
VALUES
Cached enums (faster). |
Method Summary | |
---|---|
abstract boolean |
eval(ANode a,
ANode b)
Evaluates the expression. |
java.lang.String |
toString()
|
static CmpN.OpN |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CmpN.OpN[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, 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.OpN EQ
public static final CmpN.OpN ET
public static final CmpN.OpN GT
Field Detail |
---|
public static final CmpN.OpN[] VALUES
public final java.lang.String name
Method Detail |
---|
public static CmpN.OpN[] values()
for (CmpN.OpN c : CmpN.OpN.values()) System.out.println(c);
public static CmpN.OpN 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 eval(ANode a, ANode b)
a
- first nodeb
- second node
public java.lang.String toString()
toString
in class java.lang.Enum<CmpN.OpN>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |