net.christopherschultz.evaluator.function
Class MathFunction.max

java.lang.Object
  extended by net.christopherschultz.evaluator.StandardFunction
      extended by net.christopherschultz.evaluator.function.MathFunction.max
All Implemented Interfaces:
Function
Enclosing class:
MathFunction

public static class MathFunction.max
extends StandardFunction

This class respects the value of the MathFunction.ALLOW_NULL_COMPARISON property.


Constructor Summary
MathFunction.max()
           
 
Method Summary
 Object call(EvaluationContext ec, String functionName, Object[] arguments)
          Calls this function with standard argument evaluation semantics.
 
Methods inherited from class net.christopherschultz.evaluator.StandardFunction
call, getExpressionValue, getExpressionValueArray, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MathFunction.max

public MathFunction.max()
Method Detail

call

public Object call(EvaluationContext ec,
                   String functionName,
                   Object[] arguments)
            throws EvaluationException
Description copied from class: StandardFunction
Calls this function with standard argument evaluation semantics.

Specified by:
call in class StandardFunction
Parameters:
ec - The EvaluationContext in which this function is being called.
functionName - The name of the function being invoked.
arguments - The argument values to pass to this function.
Returns:
The result of the function.
Throws:
EvaluationException - If there is an error during function execution.