|
GlueGen v2.6.0-rc-20250712
GlueGen, Native Binding Generator for Java (public API).
|
forEachParameter(ParameterConsumer) Consumer
More...
Public Member Functions | |
| boolean | accept (int idx, int consumedCount, Type cType, JavaType jType, String name) |
| Accept the arguments of the traversed collection element and return true if consumed. More... | |
forEachParameter(ParameterConsumer) Consumer
Definition at line 293 of file MethodBinding.java.
| boolean com.jogamp.gluegen.MethodBinding.ParameterConsumer.accept | ( | int | idx, |
| int | consumedCount, | ||
| Type | cType, | ||
| JavaType | jType, | ||
| String | name | ||
| ) |
Accept the arguments of the traversed collection element and return true if consumed.
Consumed elements will increased passed consumedCount state.
| idx | index of current element, ranges [0 .. size-1] |
| consumedCount | number of consumed elements, useful for e.g. boolean needsSeparator = 0 < consumedCount |
| cType | C Type of argument |
| jType | Java Type of argument |
| name | argument name |
consumedCount, otherwise false