org.ujac.util.exi.type
Class DoubleType.GreaterEqualOperation

java.lang.Object
  extended by org.ujac.util.exi.BaseExpressionOperation
      extended by org.ujac.util.exi.type.DoubleType.GreaterEqualOperation
All Implemented Interfaces:
ExpressionOperation
Enclosing class:
DoubleType

public class DoubleType.GreaterEqualOperation
extends BaseExpressionOperation

The 'greater equal' compare operation for Doubles.


Constructor Summary
DoubleType.GreaterEqualOperation()
           
 
Method Summary
 Object evaluate(ExpressionTuple expr, ExpressionContext ctx)
          Evaluates the given values.
 String getDescription()
          Gets a description for the operation.
 
Methods inherited from class org.ujac.util.exi.BaseExpressionOperation
getExamples
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleType.GreaterEqualOperation

public DoubleType.GreaterEqualOperation()
Method Detail

evaluate

public Object evaluate(ExpressionTuple expr,
                       ExpressionContext ctx)
                throws ExpressionException
Evaluates the given values.

Parameters:
expr - The expression tuple to process.
ctx - The expression context.
Returns:
The result of the tuple evaluation.
Throws:
ExpressionException - If the evaluation failed.

getDescription

public String getDescription()
Gets a description for the operation.

Specified by:
getDescription in interface ExpressionOperation
Overrides:
getDescription in class BaseExpressionOperation
Returns:
The item's description.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.