Top Description Methods
com.jogamp.common.util

public Interface Function<R, A>

Known Direct Implementers
com.jogamp.common.util.FunctionTask

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

Modifier and TypeMethod and Description
public R

Returns:

the result.
eval
(A...
variable argument list, A[], maybe null
args
)

Implementation may compute variable args list and returns a result.

Method Detail

evalback to summary
public R eval(A... args)

Implementation may compute variable args list and returns a result.

Parameters
args:A[]

variable argument list, A[], maybe null

Returns:R

the result.