com.monad.homerun.function
Interface Function

All Known Implementing Classes:
Max, Mean, Min, Sum

public interface Function

Interface for classes that take value lists, and return values.


Method Summary
 Value eval(java.util.List<Value> args)
          Returns the return value of the evaluated function.
 java.lang.String getName()
          Returns the name of the function
 

Method Detail

getName

java.lang.String getName()
Returns the name of the function

Returns:
name the function name

eval

Value eval(java.util.List<Value> args)
Returns the return value of the evaluated function.

Returns:
the return value


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