Package: org.codehaus.groovy.runtime

## [Java] Interface GeneratedDispatcher.Arity2

-     @FunctionalInterface
      public interface GeneratedDispatcher.Arity2

  Array-free companion for targets taking exactly two values beyond the receiver.

  See Also:
    Arity1

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public Object` | `dispatch2(int id, Object owner, Object a, Object b)` Invokes the target registered under `id` whose captured-plus-argument count is exactly two.

- - ### Method Detail

    - #### public Object dispatch2(int id, Object owner, Object a, Object b)

      Invokes the target registered under `id` whose captured-plus-argument count is exactly two.

      Parameters:
        `id` - the compile-time-assigned index of the target
        `owner` - the receiver (ignored by static targets)
        `a` - the first captured value or call argument
        `b` - the second captured value or call argument
      Returns:
        the target's return value