|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jxpath.ri.compiler.Expression
org.apache.commons.jxpath.ri.compiler.Operation
org.apache.commons.jxpath.ri.compiler.CoreOperation
org.apache.commons.jxpath.ri.compiler.CoreOperationRelationalExpression
org.apache.commons.jxpath.ri.compiler.CoreOperationGreaterThan
public class CoreOperationGreaterThan
Implementation of Expression
for the operation ">".
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.commons.jxpath.ri.compiler.Expression |
---|
Expression.PointerIterator, Expression.ValueIterator |
Field Summary |
---|
Fields inherited from class org.apache.commons.jxpath.ri.compiler.CoreOperation |
---|
ADD_PRECEDENCE, AND_PRECEDENCE, COMPARE_PRECEDENCE, MULTIPLY_PRECEDENCE, NEGATE_PRECEDENCE, OR_PRECEDENCE, RELATIONAL_EXPR_PRECEDENCE, UNION_PRECEDENCE |
Fields inherited from class org.apache.commons.jxpath.ri.compiler.Operation |
---|
args |
Fields inherited from class org.apache.commons.jxpath.ri.compiler.Expression |
---|
NOT_A_NUMBER, ONE, ZERO |
Constructor Summary | |
---|---|
CoreOperationGreaterThan(Expression arg1,
Expression arg2)
Create a new CoreOperationGreaterThan. |
Method Summary | |
---|---|
protected boolean |
evaluateCompare(int compare)
Template method for subclasses to evaluate the result of a comparison. |
java.lang.String |
getSymbol()
Returns the XPath symbol for this operation, e.g. |
Methods inherited from class org.apache.commons.jxpath.ri.compiler.CoreOperationRelationalExpression |
---|
computeValue, getPrecedence, isSymmetric |
Methods inherited from class org.apache.commons.jxpath.ri.compiler.CoreOperation |
---|
compute, toString |
Methods inherited from class org.apache.commons.jxpath.ri.compiler.Operation |
---|
computeContextDependent, getArguments |
Methods inherited from class org.apache.commons.jxpath.ri.compiler.Expression |
---|
isContextDependent, iterate, iteratePointers |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CoreOperationGreaterThan(Expression arg1, Expression arg2)
arg1
- left operandarg2
- right operandMethod Detail |
---|
protected boolean evaluateCompare(int compare)
CoreOperationRelationalExpression
evaluateCompare
in class CoreOperationRelationalExpression
compare
- result of comparison to evaluate
public java.lang.String getSymbol()
CoreOperation
getSymbol
in class CoreOperation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |