Package groovy.lang

Class Tuple5<T1,​T2,​T3,​T4,​T5>

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
groovy.lang.Tuple
groovy.lang.Tuple5<T1,​T2,​T3,​T4,​T5>
All Implemented Interfaces:
Serializable, Cloneable, Comparable, Iterable, Collection, List

public final class Tuple5<T1,​T2,​T3,​T4,​T5>
extends Tuple
Represents a list of 5 typed Objects.
Since:
2.5.0
See Also:
Serialized Form
  • Constructor Details

    • Tuple5

      public Tuple5​(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5)
    • Tuple5

      public Tuple5​(Tuple5<T1,​T2,​T3,​T4,​T5> tuple)
  • Method Details

    • getFirst

      @Deprecated public T1 getFirst()
      Deprecated.
    • getSecond

      @Deprecated public T2 getSecond()
      Deprecated.
    • getThird

      @Deprecated public T3 getThird()
      Deprecated.
    • getFourth

      @Deprecated public T4 getFourth()
      Deprecated.
    • getFifth

      @Deprecated public T5 getFifth()
      Deprecated.
    • getV1

      public T1 getV1()
    • getV2

      public T2 getV2()
    • getV3

      public T3 getV3()
    • getV4

      public T4 getV4()
    • getV5

      public T5 getV5()
    • clone

      public Tuple5<T1,​T2,​T3,​T4,​T5> clone()
      Overrides:
      clone in class Tuple