org.fun4j
Interface Function

All Known Implementing Classes:
Add, BaseFunction, Catch, Div, Hash, Map, Mul, PartialApplication, Sub

public interface Function

A Function object that may contain any code taking 0..n Objects as input and return one Object as result

Author:
Thomas Mahler

Method Summary
 java.lang.Object apply(java.lang.Object... args)
          Apply this function to the given arguments.
 

Method Detail

apply

java.lang.Object apply(java.lang.Object... args)
Apply this function to the given arguments.

Parameters:
args - the arguments passed to the function call
Returns:
the result of applying the function to its arguments