org.outerj.expression
Class DivideFunction

java.lang.Object
  extended byorg.outerj.expression.AbstractExpression
      extended byorg.outerj.expression.AbstractNumericOperator
          extended byorg.outerj.expression.DivideFunction
All Implemented Interfaces:
Expression

public class DivideFunction
extends AbstractNumericOperator


Field Summary
 
Fields inherited from class org.outerj.expression.AbstractExpression
arguments, column, line
 
Constructor Summary
DivideFunction()
           
 
Method Summary
 java.lang.Object evaluate(ExpressionContext context)
          Evaluates this expression and returns the result of that evaluation.
 java.lang.String getDescription()
          Returns a description of this expression that will be shown to the user in error messages.
 
Methods inherited from class org.outerj.expression.AbstractNumericOperator
check, getResultType
 
Methods inherited from class org.outerj.expression.AbstractExpression
addArgument, addArgument, checkArgument, checkArguments, checkArgumentsOfSameType, checkNoArguments, getColumn, getLine, setPosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DivideFunction

public DivideFunction()
Method Detail

evaluate

public java.lang.Object evaluate(ExpressionContext context)
                          throws ExpressionException
Description copied from interface: Expression
Evaluates this expression and returns the result of that evaluation.

Throws:
ExpressionException

getDescription

public java.lang.String getDescription()
Description copied from interface: Expression
Returns a description of this expression that will be shown to the user in error messages.