Class Tuple6<T1,​T2,​T3,​T4,​T5,​T6>

  • Type Parameters:
    T1 - the type of the 1st element
    T2 - the type of the 2nd element
    T3 - the type of the 3rd element
    T4 - the type of the 4th element
    T5 - the type of the 5th element
    T6 - the type of the 6th element
    All Implemented Interfaces:
    Serializable, Tuple
    Direct Known Subclasses:
    Tuple7

    public class Tuple6<T1,​T2,​T3,​T4,​T5,​T6>
    extends Tuple5<T1,​T2,​T3,​T4,​T5>
    A Tuple of 6 elements.
    Since:
    2.0.0
    Author:
    Marcel Overdijk
    See Also:
    Serialized Form
    • Constructor Detail

      • Tuple6

        public Tuple6​(T1 element1,
                      T2 element2,
                      T3 element3,
                      T4 element4,
                      T5 element5,
                      T6 element6)
        Constructs a new Tuple with the supplied elements.
    • Method Detail

      • getElement6

        public T6 getElement6()
        Returns the 6th element of this tuple.
        Returns:
        the 6th element of this tuple
      • setElement6

        public void setElement6​(T6 element6)
        Sets the 6th element of this tuple.
      • size

        public int size()
        Description copied from interface: Tuple
        Returns the number of elements of this tuple.
        Specified by:
        size in interface Tuple
        Overrides:
        size in class Tuple5<T1,​T2,​T3,​T4,​T5>
        Returns:
        the number of elements of this tuple