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.

@FunctionalInterface public static interface GeneratedDispatcher.Arity2
Array-free companion for targets taking exactly two values beyond the receiver.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    dispatch2(int id, Object owner, Object a, Object b)
    Invokes the target registered under id whose captured-plus-argument count is exactly two.
  • Method Details

    • dispatch2

      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