| Enum Constant and Description |
|---|
EQ
Node comparison: same.
|
ET
Node comparison: before.
|
GT
Node comparison: after.
|
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
name
String representation.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final CmpN.OpN EQ
public static final CmpN.OpN ET
public static final CmpN.OpN GT
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 namejava.lang.NullPointerException - if the argument is nullpublic abstract boolean eval(ANode a, ANode b)
a - first nodeb - second nodepublic java.lang.String toString()
toString in class java.lang.Enum<CmpN.OpN>