org.jfree.formula.function.math
Class MinFunction

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

public class MinFunction
extends java.lang.Object
implements Function

This function returns the minimum from a set of numbers.

Author:
Cedric Pronzato
See Also:
Serialized Form

Field Summary
static java.math.BigDecimal ZERO
           
 
Constructor Summary
MinFunction()
           
 
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

MinFunction

public MinFunction()
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