eneter.net.system
Interface IFunction1<R,T>

Type Parameters:
R - type of the return.
T - type of the input parameter.

public interface IFunction1<R,T>

Callback function taking one input parameter of type T and returning the type R. It is the equivalent of .NET Func.


Method Summary
 R invoke(T t)
          Callback function.
 

Method Detail

invoke

R invoke(T t)
         throws java.lang.Exception
Callback function.

Parameters:
t - input paramter of type T.
Returns:
returns result of type R.
Throws:
java.lang.Exception