public class CoreOperationGreaterThan extends CoreOperationRelationalExpression
Expression
for the operation ">".Expression.PointerIterator, Expression.ValueIterator
ADD_PRECEDENCE, AND_PRECEDENCE, COMPARE_PRECEDENCE, MULTIPLY_PRECEDENCE, NEGATE_PRECEDENCE, OR_PRECEDENCE, RELATIONAL_EXPR_PRECEDENCE, UNION_PRECEDENCE
NOT_A_NUMBER, ONE, ZERO
Constructor and Description |
---|
CoreOperationGreaterThan(Expression arg1,
Expression arg2)
Create a new CoreOperationGreaterThan.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
evaluateCompare(int compare)
Template method for subclasses to evaluate the result of a comparison.
|
String |
getSymbol()
Returns the XPath symbol for this operation, e.g. "+", "div", etc.
|
computeValue, getPrecedence, isSymmetric
compute, toString
computeContextDependent, getArguments
isContextDependent, iterate, iteratePointers
public CoreOperationGreaterThan(Expression arg1, Expression arg2)
arg1
- left operandarg2
- right operandprotected boolean evaluateCompare(int compare)
CoreOperationRelationalExpression
evaluateCompare
in class CoreOperationRelationalExpression
compare
- result of comparison to evaluatepublic String getSymbol()
CoreOperation
getSymbol
in class CoreOperation
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.