Interface Tuple9<T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>

  • Type Parameters:
    T0 - type of element 0
    T1 - type of element 1
    T2 - type of element 2
    T3 - type of element 3
    T4 - type of element 4
    T5 - type of element 5
    T6 - type of element 6
    T7 - type of element 7
    T8 - type of element 8
    All Superinterfaces:
    BasicTuple<Object>, Tuple

    public interface Tuple9<T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>
    extends Tuple
    This interface defines a generic Tuple of degree 9 that can hold non-null values. A Tuple is type safe, immutable and thread safe. For tuples that can hold null elements see TupleOfNullables. For mutable tuples see MutableTuple This Tuple has a degree of 9

    Generated by com.speedment.sources.pattern.tuple.TuplePattern

    Author:
    Per Minborg
    See Also:
    Tuple, TupleOfNullables, MutableTuple
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default int degree()
      Returns the degree of the BasicTuple.
      default Object get​(int index)
      Gets the tuple element at the given index.
      T0 get0()
      Returns the 0th element from this tuple.
      T1 get1()
      Returns the 1st element from this tuple.
      T2 get2()
      Returns the 2nd element from this tuple.
      T3 get3()
      Returns the 3rd element from this tuple.
      T4 get4()
      Returns the 4th element from this tuple.
      T5 get5()
      Returns the 5th element from this tuple.
      T6 get6()
      Returns the 6th element from this tuple.
      T7 get7()
      Returns the 7th element from this tuple.
      T8 get8()
      Returns the 8th element from this tuple.
      static <T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>
      TupleGetter0<Tuple9<T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>,​T0>
      getter0()
      Returns a getter for the 0th element in the Tuple.
      static <T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>
      TupleGetter1<Tuple9<T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>,​T1>
      getter1()
      Returns a getter for the 1st element in the Tuple.
      static <T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>
      TupleGetter2<Tuple9<T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>,​T2>
      getter2()
      Returns a getter for the 2nd element in the Tuple.
      static <T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>
      TupleGetter3<Tuple9<T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>,​T3>
      getter3()
      Returns a getter for the 3rd element in the Tuple.
      static <T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>
      TupleGetter4<Tuple9<T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>,​T4>
      getter4()
      Returns a getter for the 4th element in the Tuple.
      static <T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>
      TupleGetter5<Tuple9<T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>,​T5>
      getter5()
      Returns a getter for the 5th element in the Tuple.
      static <T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>
      TupleGetter6<Tuple9<T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>,​T6>
      getter6()
      Returns a getter for the 6th element in the Tuple.
      static <T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>
      TupleGetter7<Tuple9<T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>,​T7>
      getter7()
      Returns a getter for the 7th element in the Tuple.
      static <T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>
      TupleGetter8<Tuple9<T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>,​T8>
      getter8()
      Returns a getter for the 8th element in the Tuple.
    • Method Detail

      • get0

        T0 get0()
        Returns the 0th element from this tuple.
        Returns:
        the 0th element from this tuple.
      • get1

        T1 get1()
        Returns the 1st element from this tuple.
        Returns:
        the 1st element from this tuple.
      • get2

        T2 get2()
        Returns the 2nd element from this tuple.
        Returns:
        the 2nd element from this tuple.
      • get3

        T3 get3()
        Returns the 3rd element from this tuple.
        Returns:
        the 3rd element from this tuple.
      • get4

        T4 get4()
        Returns the 4th element from this tuple.
        Returns:
        the 4th element from this tuple.
      • get5

        T5 get5()
        Returns the 5th element from this tuple.
        Returns:
        the 5th element from this tuple.
      • get6

        T6 get6()
        Returns the 6th element from this tuple.
        Returns:
        the 6th element from this tuple.
      • get7

        T7 get7()
        Returns the 7th element from this tuple.
        Returns:
        the 7th element from this tuple.
      • get8

        T8 get8()
        Returns the 8th element from this tuple.
        Returns:
        the 8th element from this tuple.
      • degree

        default int degree()
        Description copied from interface: BasicTuple
        Returns the degree of the BasicTuple. For example, a Tuple2 has a degree of 2 whereas a Tuple3 has a degree of 3.
        Specified by:
        degree in interface BasicTuple<T0>
        Returns:
        the degree of the Tuple
      • get

        default Object get​(int index)
        Description copied from interface: BasicTuple
        Gets the tuple element at the given index. For example, get(0) will return the first element and get(1) will return the second etc.
        Specified by:
        get in interface BasicTuple<T0>
        Parameters:
        index - of the element to get
        Returns:
        the tuple element at the given index
      • getter0

        static <T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8> TupleGetter0<Tuple9<T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>,​T0> getter0()
        Returns a getter for the 0th element in the Tuple.
        Type Parameters:
        T0 - the 0th element type
        T1 - the 1st element type
        T2 - the 2nd element type
        T3 - the 3rd element type
        T4 - the 4th element type
        T5 - the 5th element type
        T6 - the 6th element type
        T7 - the 7th element type
        T8 - the 8th element type
        Returns:
        the element at the 0th position
      • getter1

        static <T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8> TupleGetter1<Tuple9<T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>,​T1> getter1()
        Returns a getter for the 1st element in the Tuple.
        Type Parameters:
        T0 - the 0th element type
        T1 - the 1st element type
        T2 - the 2nd element type
        T3 - the 3rd element type
        T4 - the 4th element type
        T5 - the 5th element type
        T6 - the 6th element type
        T7 - the 7th element type
        T8 - the 8th element type
        Returns:
        the element at the 1st position
      • getter2

        static <T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8> TupleGetter2<Tuple9<T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>,​T2> getter2()
        Returns a getter for the 2nd element in the Tuple.
        Type Parameters:
        T0 - the 0th element type
        T1 - the 1st element type
        T2 - the 2nd element type
        T3 - the 3rd element type
        T4 - the 4th element type
        T5 - the 5th element type
        T6 - the 6th element type
        T7 - the 7th element type
        T8 - the 8th element type
        Returns:
        the element at the 2nd position
      • getter3

        static <T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8> TupleGetter3<Tuple9<T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>,​T3> getter3()
        Returns a getter for the 3rd element in the Tuple.
        Type Parameters:
        T0 - the 0th element type
        T1 - the 1st element type
        T2 - the 2nd element type
        T3 - the 3rd element type
        T4 - the 4th element type
        T5 - the 5th element type
        T6 - the 6th element type
        T7 - the 7th element type
        T8 - the 8th element type
        Returns:
        the element at the 3rd position
      • getter4

        static <T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8> TupleGetter4<Tuple9<T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>,​T4> getter4()
        Returns a getter for the 4th element in the Tuple.
        Type Parameters:
        T0 - the 0th element type
        T1 - the 1st element type
        T2 - the 2nd element type
        T3 - the 3rd element type
        T4 - the 4th element type
        T5 - the 5th element type
        T6 - the 6th element type
        T7 - the 7th element type
        T8 - the 8th element type
        Returns:
        the element at the 4th position
      • getter5

        static <T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8> TupleGetter5<Tuple9<T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>,​T5> getter5()
        Returns a getter for the 5th element in the Tuple.
        Type Parameters:
        T0 - the 0th element type
        T1 - the 1st element type
        T2 - the 2nd element type
        T3 - the 3rd element type
        T4 - the 4th element type
        T5 - the 5th element type
        T6 - the 6th element type
        T7 - the 7th element type
        T8 - the 8th element type
        Returns:
        the element at the 5th position
      • getter6

        static <T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8> TupleGetter6<Tuple9<T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>,​T6> getter6()
        Returns a getter for the 6th element in the Tuple.
        Type Parameters:
        T0 - the 0th element type
        T1 - the 1st element type
        T2 - the 2nd element type
        T3 - the 3rd element type
        T4 - the 4th element type
        T5 - the 5th element type
        T6 - the 6th element type
        T7 - the 7th element type
        T8 - the 8th element type
        Returns:
        the element at the 6th position
      • getter7

        static <T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8> TupleGetter7<Tuple9<T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>,​T7> getter7()
        Returns a getter for the 7th element in the Tuple.
        Type Parameters:
        T0 - the 0th element type
        T1 - the 1st element type
        T2 - the 2nd element type
        T3 - the 3rd element type
        T4 - the 4th element type
        T5 - the 5th element type
        T6 - the 6th element type
        T7 - the 7th element type
        T8 - the 8th element type
        Returns:
        the element at the 7th position
      • getter8

        static <T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8> TupleGetter8<Tuple9<T0,​T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>,​T8> getter8()
        Returns a getter for the 8th element in the Tuple.
        Type Parameters:
        T0 - the 0th element type
        T1 - the 1st element type
        T2 - the 2nd element type
        T3 - the 3rd element type
        T4 - the 4th element type
        T5 - the 5th element type
        T6 - the 6th element type
        T7 - the 7th element type
        T8 - the 8th element type
        Returns:
        the element at the 8th position