Class Tuple16<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16>

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Tuple16<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16>>, java.lang.Iterable<java.lang.Object>, Tuple

    public class Tuple16<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16>
    extends java.lang.Object
    implements Tuple, java.lang.Comparable<Tuple16<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16>>, java.io.Serializable, java.lang.Cloneable
    A tuple of degree 16.
    See Also:
    Serialized Form
    • Field Detail

      • v1

        public final T1 v1
      • v2

        public final T2 v2
      • v3

        public final T3 v3
      • v4

        public final T4 v4
      • v5

        public final T5 v5
      • v6

        public final T6 v6
      • v7

        public final T7 v7
      • v8

        public final T8 v8
      • v9

        public final T9 v9
      • v10

        public final T10 v10
      • v11

        public final T11 v11
      • v12

        public final T12 v12
      • v13

        public final T13 v13
      • v14

        public final T14 v14
      • v15

        public final T15 v15
      • v16

        public final T16 v16
    • Method Detail

      • v1

        public T1 v1()
      • v2

        public T2 v2()
      • v3

        public T3 v3()
      • v4

        public T4 v4()
      • v5

        public T5 v5()
      • v6

        public T6 v6()
      • v7

        public T7 v7()
      • v8

        public T8 v8()
      • v9

        public T9 v9()
      • v10

        public T10 v10()
      • v11

        public T11 v11()
      • v12

        public T12 v12()
      • v13

        public T13 v13()
      • v14

        public T14 v14()
      • v15

        public T15 v15()
      • v16

        public T16 v16()
      • limit0

        public final Tuple0 limit0()
        Limit this tuple to degree 0.
      • limit1

        public final Tuple1<T1> limit1()
        Limit this tuple to degree 1.
      • limit2

        public final Tuple2<T1,​T2> limit2()
        Limit this tuple to degree 2.
      • limit3

        public final Tuple3<T1,​T2,​T3> limit3()
        Limit this tuple to degree 3.
      • limit4

        public final Tuple4<T1,​T2,​T3,​T4> limit4()
        Limit this tuple to degree 4.
      • limit5

        public final Tuple5<T1,​T2,​T3,​T4,​T5> limit5()
        Limit this tuple to degree 5.
      • limit6

        public final Tuple6<T1,​T2,​T3,​T4,​T5,​T6> limit6()
        Limit this tuple to degree 6.
      • limit7

        public final Tuple7<T1,​T2,​T3,​T4,​T5,​T6,​T7> limit7()
        Limit this tuple to degree 7.
      • limit8

        public final Tuple8<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8> limit8()
        Limit this tuple to degree 8.
      • limit9

        public final Tuple9<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9> limit9()
        Limit this tuple to degree 9.
      • skip11

        public final Tuple5<T12,​T13,​T14,​T15,​T16> skip11()
        Skip 11 degrees from this tuple.
      • skip12

        public final Tuple4<T13,​T14,​T15,​T16> skip12()
        Skip 12 degrees from this tuple.
      • skip13

        public final Tuple3<T14,​T15,​T16> skip13()
        Skip 13 degrees from this tuple.
      • skip14

        public final Tuple2<T15,​T16> skip14()
        Skip 14 degrees from this tuple.
      • skip15

        public final Tuple1<T16> skip15()
        Skip 15 degrees from this tuple.
      • skip16

        public final Tuple0 skip16()
        Skip 16 degrees from this tuple.
      • map

        public final <R> R map​(Function16<? super T1,​? super T2,​? super T3,​? super T4,​? super T5,​? super T6,​? super T7,​? super T8,​? super T9,​? super T10,​? super T11,​? super T12,​? super T13,​? super T14,​? super T15,​? super T16,​? extends R> function)
        Apply this tuple as arguments to a function.
      • map1

        public final <U1> Tuple16<U1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16> map1​(java.util.function.Function<? super T1,​? extends U1> function)
        Apply attribute 1 as argument to a function and return a new tuple with the substituted argument.
      • map2

        public final <U2> Tuple16<T1,​U2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16> map2​(java.util.function.Function<? super T2,​? extends U2> function)
        Apply attribute 2 as argument to a function and return a new tuple with the substituted argument.
      • map3

        public final <U3> Tuple16<T1,​T2,​U3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16> map3​(java.util.function.Function<? super T3,​? extends U3> function)
        Apply attribute 3 as argument to a function and return a new tuple with the substituted argument.
      • map4

        public final <U4> Tuple16<T1,​T2,​T3,​U4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16> map4​(java.util.function.Function<? super T4,​? extends U4> function)
        Apply attribute 4 as argument to a function and return a new tuple with the substituted argument.
      • map5

        public final <U5> Tuple16<T1,​T2,​T3,​T4,​U5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16> map5​(java.util.function.Function<? super T5,​? extends U5> function)
        Apply attribute 5 as argument to a function and return a new tuple with the substituted argument.
      • map6

        public final <U6> Tuple16<T1,​T2,​T3,​T4,​T5,​U6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16> map6​(java.util.function.Function<? super T6,​? extends U6> function)
        Apply attribute 6 as argument to a function and return a new tuple with the substituted argument.
      • map7

        public final <U7> Tuple16<T1,​T2,​T3,​T4,​T5,​T6,​U7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16> map7​(java.util.function.Function<? super T7,​? extends U7> function)
        Apply attribute 7 as argument to a function and return a new tuple with the substituted argument.
      • map8

        public final <U8> Tuple16<T1,​T2,​T3,​T4,​T5,​T6,​T7,​U8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16> map8​(java.util.function.Function<? super T8,​? extends U8> function)
        Apply attribute 8 as argument to a function and return a new tuple with the substituted argument.
      • map9

        public final <U9> Tuple16<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​U9,​T10,​T11,​T12,​T13,​T14,​T15,​T16> map9​(java.util.function.Function<? super T9,​? extends U9> function)
        Apply attribute 9 as argument to a function and return a new tuple with the substituted argument.
      • map10

        public final <U10> Tuple16<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​U10,​T11,​T12,​T13,​T14,​T15,​T16> map10​(java.util.function.Function<? super T10,​? extends U10> function)
        Apply attribute 10 as argument to a function and return a new tuple with the substituted argument.
      • map11

        public final <U11> Tuple16<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​U11,​T12,​T13,​T14,​T15,​T16> map11​(java.util.function.Function<? super T11,​? extends U11> function)
        Apply attribute 11 as argument to a function and return a new tuple with the substituted argument.
      • map12

        public final <U12> Tuple16<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​U12,​T13,​T14,​T15,​T16> map12​(java.util.function.Function<? super T12,​? extends U12> function)
        Apply attribute 12 as argument to a function and return a new tuple with the substituted argument.
      • map13

        public final <U13> Tuple16<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​U13,​T14,​T15,​T16> map13​(java.util.function.Function<? super T13,​? extends U13> function)
        Apply attribute 13 as argument to a function and return a new tuple with the substituted argument.
      • map14

        public final <U14> Tuple16<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​U14,​T15,​T16> map14​(java.util.function.Function<? super T14,​? extends U14> function)
        Apply attribute 14 as argument to a function and return a new tuple with the substituted argument.
      • map15

        public final <U15> Tuple16<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​U15,​T16> map15​(java.util.function.Function<? super T15,​? extends U15> function)
        Apply attribute 15 as argument to a function and return a new tuple with the substituted argument.
      • map16

        public final <U16> Tuple16<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​U16> map16​(java.util.function.Function<? super T16,​? extends U16> function)
        Apply attribute 16 as argument to a function and return a new tuple with the substituted argument.
      • array

        @Deprecated
        public final java.lang.Object[] array()
        Deprecated.
        Description copied from interface: Tuple
        Get an array representation of this tuple.
        Specified by:
        array in interface Tuple
      • toArray

        public final java.lang.Object[] toArray()
        Description copied from interface: Tuple
        Get an array representation of this tuple.
        Specified by:
        toArray in interface Tuple
      • list

        @Deprecated
        public final java.util.List<?> list()
        Deprecated.
        Description copied from interface: Tuple
        Get a list representation of this tuple.
        Specified by:
        list in interface Tuple
      • toList

        public final java.util.List<?> toList()
        Description copied from interface: Tuple
        Get a list representation of this tuple.
        Specified by:
        toList in interface Tuple
      • toSeq

        public final Seq<?> toSeq()
        Description copied from interface: Tuple
        Get a Seq representation of this tuple.
        Specified by:
        toSeq in interface Tuple
      • toMap

        public final java.util.Map<java.lang.String,​?> toMap()
        Description copied from interface: Tuple
        Get a map representation of this tuple.
        Specified by:
        toMap in interface Tuple
      • toMap

        public final <K> java.util.Map<K,​?> toMap​(java.util.function.Function<? super java.lang.Integer,​? extends K> keyMapper)
        Description copied from interface: Tuple
        Get a map representation of this tuple.
        Specified by:
        toMap in interface Tuple
      • toMap

        public final <K> java.util.Map<K,​?> toMap​(java.util.function.Supplier<? extends K> keySupplier1,
                                                        java.util.function.Supplier<? extends K> keySupplier2,
                                                        java.util.function.Supplier<? extends K> keySupplier3,
                                                        java.util.function.Supplier<? extends K> keySupplier4,
                                                        java.util.function.Supplier<? extends K> keySupplier5,
                                                        java.util.function.Supplier<? extends K> keySupplier6,
                                                        java.util.function.Supplier<? extends K> keySupplier7,
                                                        java.util.function.Supplier<? extends K> keySupplier8,
                                                        java.util.function.Supplier<? extends K> keySupplier9,
                                                        java.util.function.Supplier<? extends K> keySupplier10,
                                                        java.util.function.Supplier<? extends K> keySupplier11,
                                                        java.util.function.Supplier<? extends K> keySupplier12,
                                                        java.util.function.Supplier<? extends K> keySupplier13,
                                                        java.util.function.Supplier<? extends K> keySupplier14,
                                                        java.util.function.Supplier<? extends K> keySupplier15,
                                                        java.util.function.Supplier<? extends K> keySupplier16)
      • toMap

        public final <K> java.util.Map<K,​?> toMap​(K key1,
                                                        K key2,
                                                        K key3,
                                                        K key4,
                                                        K key5,
                                                        K key6,
                                                        K key7,
                                                        K key8,
                                                        K key9,
                                                        K key10,
                                                        K key11,
                                                        K key12,
                                                        K key13,
                                                        K key14,
                                                        K key15,
                                                        K key16)
      • degree

        public final int degree()
        The degree of this tuple: 16.
        Specified by:
        degree in interface Tuple
      • iterator

        public final java.util.Iterator<java.lang.Object> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<T1>
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object