org.apache.commons.jxpath.ri.compiler

Class CoreOperationGreaterThanOrEqual


public class CoreOperationGreaterThanOrEqual
extends CoreOperation

Implementation of Expression for the operation ">=".
Version:
$Revision: 1.3 $ $Date: 2004/02/29 14:17:39 $
Author:
Dmitri Plotnikov

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.Operation

args

Fields inherited from class org.apache.commons.jxpath.ri.compiler.Expression

NOT_A_NUMBER, ONE, ZERO

Constructor Summary

CoreOperationGreaterThanOrEqual(Expression arg1, Expression arg2)

Method Summary

Object
computeValue(EvalContext context)
protected int
getPrecedence()
String
getSymbol()
protected boolean
isSymmetric()

Methods inherited from class org.apache.commons.jxpath.ri.compiler.CoreOperation

compute, computeValue, getPrecedence, getSymbol, isSymmetric, 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

compute, computeContextDependent, computeValue, isContextDependent, iterate, iteratePointers

Constructor Details

CoreOperationGreaterThanOrEqual

public CoreOperationGreaterThanOrEqual(Expression arg1,
                                       Expression arg2)

Method Details

computeValue

public Object computeValue(EvalContext context)
Overrides:
computeValue in interface CoreOperation

getPrecedence

protected int getPrecedence()
Overrides:
getPrecedence in interface CoreOperation

getSymbol

public String getSymbol()
Overrides:
getSymbol in interface CoreOperation

isSymmetric

protected boolean isSymmetric()
Overrides:
isSymmetric in interface CoreOperation