info.javelot.functionalj
Interface Function0<R>

Type Parameters:
R - the type of the result returned by the function.

public interface Function0<R>

Interface that represents a function of no parameters.

Author:
Copyright © 2006 Frederic Daoud

Method Summary
 R call()
          Calls the function and returns the result.
 

Method Detail

call

R call()
       throws FunctionException
Calls the function and returns the result.

Returns:
the result of the function call.
Throws:
FunctionException - thrown if an exception occurs during the function call.