Package: groovy.lang

## [Java] Class Tuple4<T1, T2, T3, T4>

- groovy.lang.Tuple4

- Represents a list of 4 typed Objects.

  Since:
    2.5.0

- - ### Constructor Summary

    Constructors
    Constructor and description
    `Tuple4 (T1 first, T2 second, T3 third, T4 fourth)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `Object` | `get(int index)`
    `` | `T1` | `getFirst()`
    `` | `T4` | `getFourth()`
    `` | `T2` | `getSecond()`
    `` | `T3` | `getThird()`
    `` | `int` | `size()`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Tuple` | `equals, get, hashCode, size, subList, subTuple`

- - ### Constructor Detail

    - #### public Tuple4(T1 first, T2 second, T3 third, T4 fourth)

  - ### Method Detail

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

    - #### public T1 getFirst()

    - #### public T4 getFourth()

    - #### public T2 getSecond()

    - #### public T3 getThird()

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