org.jfree.formula.function.math
Class MaxFunction

java.lang.Object
  extended by org.jfree.formula.function.math.MaxFunction
All Implemented Interfaces:
java.io.Serializable, Function

public class MaxFunction
extends java.lang.Object
implements Function

This function returns the maximum from a set of numbers.

Author:
Cedric Pronzato
See Also:
Serialized Form

Field Summary
static java.math.BigDecimal ZERO
           
 
Constructor Summary
MaxFunction()
           
 
Method Summary
 TypeValuePair evaluate(FormulaContext context, ParameterCallback parameters)
           
 java.lang.String getCanonicalName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ZERO

public static final java.math.BigDecimal ZERO
Constructor Detail

MaxFunction

public MaxFunction()
Method Detail

evaluate

public TypeValuePair evaluate(FormulaContext context,
                              ParameterCallback parameters)
                       throws EvaluationException
Specified by:
evaluate in interface Function
Throws:
EvaluationException

getCanonicalName

public java.lang.String getCanonicalName()
Specified by:
getCanonicalName in interface Function