com.monad.homerun.function.math
Class Min

java.lang.Object
  extended by com.monad.homerun.function.math.Min
All Implemented Interfaces:
Function

public class Min
extends java.lang.Object
implements Function

Min returns the minimum value of its arguments.


Constructor Summary
Min()
           
 
Method Summary
 Value eval(java.util.List<Value> args)
          Returns the minimum of the arguments.
 java.lang.String getName()
          Returns the name of the function
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Min

public Min()
Method Detail

getName

public java.lang.String getName()
Description copied from interface: Function
Returns the name of the function

Specified by:
getName in interface Function
Returns:
name the function name

eval

public Value eval(java.util.List<Value> args)
Returns the minimum of the arguments.

Specified by:
eval in interface Function
Returns:
the minimum value


Copyright © 2006-2009 Richard Rodgers. All Rights Reserved.