jparfor
Interface Functor<I,R>

Type Parameters:
I - Type of input to compute the result for.
R - Type of result to compute on the input.

public interface Functor<I,R>

Creates a functor (function object). A functor is an object that will compute a function on a given input and return a result.


Method Summary
 R function(I input)
          Return the results computed over the input.
 

Method Detail

function

R function(I input)
Return the results computed over the input.

Parameters:
input - input to compute the results for.
Returns:
the results computed over the input.