public static enum CmpN.OpN extends Enum<CmpN.OpN>
Enum Constant and Description |
---|
EQ
Node comparison: same.
|
ET
Node comparison: before.
|
GT
Node comparison: after.
|
Modifier and Type | Field and Description |
---|---|
String |
name
String representation.
|
static CmpN.OpN[] |
VALUES
Cached enums (faster).
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
eval(ANode it1,
ANode it2)
Evaluates the expression.
|
String |
toString() |
static CmpN.OpN |
valueOf(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 final CmpN.OpN[] VALUES
public final String name
public static CmpN.OpN[] values()
for (CmpN.OpN c : CmpN.OpN.values()) System.out.println(c);
public static CmpN.OpN valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract boolean eval(ANode it1, ANode it2)
it1
- first nodeit2
- second nodeCopyright © 2005–2015 BaseX Team. All rights reserved.