org.springmodules.validation.valang.functions
Class AbstractMathFunction

java.lang.Object
  extended by org.springmodules.validation.valang.functions.AbstractMathFunction
All Implemented Interfaces:
Function
Direct Known Subclasses:
AddFunction, DivideFunction, ModuloFunction, MultiplyFunction, SubtractFunction

public abstract class AbstractMathFunction
extends Object
implements Function


Constructor Summary
AbstractMathFunction(Function leftFunction, Function rightFunction, int line, int column)
           
 
Method Summary
 Function getLeftFunction()
           
 Function getRightFunction()
           
protected  FunctionTemplate getTemplate()
           
protected static double transform(Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springmodules.validation.valang.functions.Function
getResult
 

Constructor Detail

AbstractMathFunction

public AbstractMathFunction(Function leftFunction,
                            Function rightFunction,
                            int line,
                            int column)
Method Detail

getLeftFunction

public final Function getLeftFunction()

getRightFunction

public final Function getRightFunction()

getTemplate

protected FunctionTemplate getTemplate()

transform

protected static double transform(Object o)


Copyright © 2009. All Rights Reserved.