Package org.codehaus.groovy.runtime
Interface GeneratedDispatcher.Arity2
- 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 two values beyond the receiver.
- See Also:
-
Method Summary
-
Method Details
-
dispatch2
Invokes the target registered underidwhose captured-plus-argument count is exactly two.- Parameters:
id- the compile-time-assigned index of the targetowner- the receiver (ignored by static targets)a- the first captured value or call argumentb- the second captured value or call argument- Returns:
- the target's return value
-