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 typeObject
and ignore the result and/or arguments.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description R
eval(A... args)
Implementation may compute variableargs
list and returns a result.
-