Class Tuple10<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10>

  • 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
    T7 - the type of the 7th element
    T8 - the type of the 8th element
    T9 - the type of the 9th element
    T10 - the type of the 10th element
    All Implemented Interfaces:
    Serializable, Tuple

    public class Tuple10<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10>
    extends Tuple9<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9>
    A Tuple of 10 elements.
    Since:
    2.0.0
    Author:
    Marcel Overdijk
    See Also:
    Serialized Form
    • Constructor Detail

      • Tuple10

        public Tuple10​(T1 element1,
                       T2 element2,
                       T3 element3,
                       T4 element4,
                       T5 element5,
                       T6 element6,
                       T7 element7,
                       T8 element8,
                       T9 element9,
                       T10 element10)
        Constructs a new Tuple with the supplied elements.
    • Method Detail

      • getElement10

        public T10 getElement10()
        Returns the 10th element of this tuple.
        Returns:
        the 10th element of this tuple
      • setElement10

        public void setElement10​(T10 element10)
        Sets the 10th 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 Tuple9<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9>
        Returns:
        the number of elements of this tuple