Package org.codehaus.groovy.runtime
Interface GeneratedDispatcher.Arity1
- Enclosing interface:
- GeneratedDispatcher
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Array-free companion for targets taking exactly one value beyond the receiver.
A separate single-method interface so each table is adapted by one
LambdaMetafactory linkage.-
Method Summary
-
Method Details
-
dispatch1
Invokes the target registered underidwhose captured-plus-argument count is exactly one.- Parameters:
id- the compile-time-assigned index of the targetowner- the receiver (ignored by static targets)a- the single captured value or call argument- Returns:
- the target's return value
-