Package: org.codehaus.groovy.runtime

## [Java] Class GeneratedDispatcher.Bundle

- org.codehaus.groovy.runtime.GeneratedDispatcher.Bundle

-     public final class GeneratedDispatcher.Bundle
      extends Object

  The hosting class's three dispatch shapes, linked once by bootstrap and shared by all of that class's adapters.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `Bundle(GeneratedDispatcher dispatcher, GeneratedDispatcher.Arity1 arity1, GeneratedDispatcher.Arity2 arity2)` Public because the hosting class's compiler-emitted factory constructs it directly (see `ClosureWriter#writeDispatchersFactory`); not API for hand-written code.

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public GeneratedDispatcher.Arity1` | `arity1()` The one-value dispatcher.
    `` | `public GeneratedDispatcher.Arity2` | `arity2()` The two-value dispatcher.
    `` | `public GeneratedDispatcher` | `dispatcher()` The array-shaped dispatcher, covering every target.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### public Bundle(GeneratedDispatcher dispatcher, GeneratedDispatcher.Arity1 arity1, GeneratedDispatcher.Arity2 arity2)

      Public because the hosting class's compiler-emitted factory constructs it directly (see `ClosureWriter#writeDispatchersFactory`); not API for hand-written code.

  - ### Method Detail

    - #### public GeneratedDispatcher.Arity1 arity1()

      The one-value dispatcher.

    - #### public GeneratedDispatcher.Arity2 arity2()

      The two-value dispatcher.

    - #### public GeneratedDispatcher dispatcher()

      The array-shaped dispatcher, covering every target.