Package com.jogamp.common.util
Interface Function<R,A>
- Type Parameters:
T- the result type ofeval(Object...)
- All Known Implementing Classes:
FunctionTask
public interface Function<R,A>
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.
-
Method Summary
-
Method Details
-
eval
Implementation may compute variableargslist and returns a result.- Parameters:
args- variable argument list,A[], maybe null- Returns:
- the result.
-