Package: groovy.concurrent

## [Java] Class ChannelSelect.Result

- groovy.concurrent.ChannelSelect.Result

-     public static final class ChannelSelect.Result
      extends Object

  The result of a select() operation, indicating which channel produced the value.

  Since:
    6.0.0

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public int` | `getIndex()` The zero-based index of the channel that produced the value.
    `<T>` | `public T` | `getValue()` The received value.
    `` | `public String` | `toString()` Returns a diagnostic representation of this selection result.

  - ### Inherited Methods Summary

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

- - ### Method Detail

    - #### public int getIndex()

      The zero-based index of the channel that produced the value.

    - #### <T> public T getValue()

      The received value.

    - #### public String toString()

      Returns a diagnostic representation of this selection result.

      Returns:
        the selection result description