public enum RelationalExprOp extends Enum<RelationalExprOp> implements BinaryOperator
Enum Constant and Description |
---|
GREATER
greater than operator
|
GREATERTE
greater than or equal to operator
|
LESS
less than operator
|
LESSTE
less than or equal to operator
|
Modifier and Type | Method and Description |
---|---|
protected OXPathType |
compute(OXPathType lhs,
OXPathType rhs)
Precomputes lists needed by all operators.
|
String |
getOperator()
returns the
String representation of the operator |
static RelationalExprOp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RelationalExprOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
evaluate
public static final RelationalExprOp GREATER
public static final RelationalExprOp LESS
public static final RelationalExprOp GREATERTE
public static final RelationalExprOp LESSTE
public static RelationalExprOp[] values()
for (RelationalExprOp c : RelationalExprOp.values()) System.out.println(c);
public static RelationalExprOp 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 nullprotected OXPathType compute(OXPathType lhs, OXPathType rhs) throws OXPathException
lhs
- left hand siderhs
- right hand sideOXPathException
public String getOperator()
String
representation of the operatorgetOperator
in interface Operator
String
representation of the operatorCopyright © 2020 OXPath Team. All rights reserved.