GlueGen: com.jogamp.common.util.Function< R, A > Interface Template Reference

GlueGen v2.6.0-rc-20250721 GlueGen, Native Binding Generator for Java™ (public API).

Public Member Functions | List of all members
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

R | 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

  args | variable 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:

- src/java/com/jogamp/common/util/Function.java