jaulib v1.3.0
Jau Support Library (C++, Java, ..)
Public Member Functions | List of all members
org.jau.util.Function< R, A > Interface Template Reference

Generic function interface to perform an action w/ given optional arguments producing an optional result. More...

Inheritance diagram for org.jau.util.Function< R, A >:
Collaboration diagram for org.jau.util.Function< R, A >:

Public Member Functions

eval (A... args)
 Implementation may compute variable args list and returns a result. More...
 

Detailed Description

Generic function interface to perform an action w/ given optional arguments producing an optional result.

For void functions, simply use type Object and ignore the result and/or arguments.

Parameters
<T>the result type of eval(Object...)

Definition at line 38 of file Function.java.

Member Function Documentation

◆ eval()

R org.jau.util.Function< R, A >.eval ( A...  args)

Implementation may compute variable args list and returns a result.

Parameters
argsvariable argument list, A[], maybe null
Returns
the result.

Implemented in org.jau.util.parallel.FunctionTask< R, A >.


The documentation for this interface was generated from the following file: