Package: groovy.lang

## [Java] Class Tuple<E>

- groovy.lang.Tuple

- All Implemented Interfaces and Traits:
    Serializable

      public class Tuple
      extends AbstractList

  Represents a list of Objects.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `Tuple (E... contents)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `boolean` | `equals(Object o)`
    `` | `E` | `get(int index)`
    `` | `int` | `hashCode()`
    `` | `int` | `size()`
    `` | `List<E>` | `subList(int fromIndex, int toIndex)`
    `` | `Tuple<E>` | `subTuple(int fromIndex, int toIndex)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class AbstractList` | `add, add, remove, get, equals, hashCode, indexOf, clear, lastIndexOf, subList, iterator, addAll, set, listIterator, listIterator, remove, toString, isEmpty, contains, size, toArray, toArray, addAll, containsAll, retainAll, removeAll, wait, wait, wait, getClass, notify, notifyAll, toArray, spliterator, stream, removeIf, parallelStream, forEach, replaceAll, sort`

- - ### Constructor Detail

    - #### @SafeVarargs public Tuple(E... contents)

  - ### Method Detail

    - #### @Override public boolean equals(Object o)

    - #### @Override public E get(int index)

    - #### @Override public int hashCode()

    - #### @Override public int size()

    - #### @SuppressWarnings("unchecked") @Override public List<E> subList(int fromIndex, int toIndex)

    - #### public Tuple<E> subTuple(int fromIndex, int toIndex)