GlueGen v2.6.0-rc-20250712
GlueGen, Native Binding Generator for Java™ (public API).
com.jogamp.common.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 com.jogamp.common.util.Function< R, A >:
Collaboration diagram for com.jogamp.common.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 40 of file Function.java.

Member Function Documentation

◆ eval()

R com.jogamp.common.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 com.jogamp.common.util.FunctionTask< R, A >.


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