java.io.Serializable
, java.lang.Cloneable
, java.lang.Comparable<Tuple8<T1,T2,T3,T4,T5,T6,T7,T8>>
, java.lang.Iterable<java.lang.Object>
, Tuple
public class Tuple8<T1,T2,T3,T4,T5,T6,T7,T8> extends java.lang.Object implements Tuple, java.lang.Comparable<Tuple8<T1,T2,T3,T4,T5,T6,T7,T8>>, java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field | Description |
---|---|---|
T1 |
v1 |
|
T2 |
v2 |
|
T3 |
v3 |
|
T4 |
v4 |
|
T5 |
v5 |
|
T6 |
v6 |
|
T7 |
v7 |
|
T8 |
v8 |
Constructor | Description |
---|---|
Tuple8(Tuple8<T1,T2,T3,T4,T5,T6,T7,T8> tuple) |
|
Tuple8(T1 v1,
T2 v2,
T3 v3,
T4 v4,
T5 v5,
T6 v6,
T7 v7,
T8 v8) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object[] |
array() |
Deprecated.
|
Tuple8<T1,T2,T3,T4,T5,T6,T7,T8> |
clone() |
|
int |
compareTo(Tuple8<T1,T2,T3,T4,T5,T6,T7,T8> other) |
|
<T9> Tuple9<T1,T2,T3,T4,T5,T6,T7,T8,T9> |
concat(Tuple1<T9> tuple) |
Concatenate a tuple to this tuple.
|
<T9,T10> Tuple10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> |
concat(Tuple2<T9,T10> tuple) |
Concatenate a tuple to this tuple.
|
<T9,T10,T11> |
concat(Tuple3<T9,T10,T11> tuple) |
Concatenate a tuple to this tuple.
|
<T9,T10,T11,T12> |
concat(Tuple4<T9,T10,T11,T12> tuple) |
Concatenate a tuple to this tuple.
|
<T9,T10,T11,T12,T13> |
concat(Tuple5<T9,T10,T11,T12,T13> tuple) |
Concatenate a tuple to this tuple.
|
<T9,T10,T11,T12,T13,T14> |
concat(Tuple6<T9,T10,T11,T12,T13,T14> tuple) |
Concatenate a tuple to this tuple.
|
<T9,T10,T11,T12,T13,T14,T15> |
concat(Tuple7<T9,T10,T11,T12,T13,T14,T15> tuple) |
Concatenate a tuple to this tuple.
|
<T9,T10,T11,T12,T13,T14,T15,T16> |
concat(Tuple8<T9,T10,T11,T12,T13,T14,T15,T16> tuple) |
Concatenate a tuple to this tuple.
|
<T9> Tuple9<T1,T2,T3,T4,T5,T6,T7,T8,T9> |
concat(T9 value) |
Concatenate a value to this tuple.
|
int |
degree() |
The degree of this tuple: 8.
|
boolean |
equals(java.lang.Object o) |
|
int |
hashCode() |
|
java.util.Iterator<java.lang.Object> |
iterator() |
|
Tuple0 |
limit0() |
Limit this tuple to degree 0.
|
Tuple1<T1> |
limit1() |
Limit this tuple to degree 1.
|
Tuple2<T1,T2> |
limit2() |
Limit this tuple to degree 2.
|
Tuple3<T1,T2,T3> |
limit3() |
Limit this tuple to degree 3.
|
Tuple4<T1,T2,T3,T4> |
limit4() |
Limit this tuple to degree 4.
|
Tuple5<T1,T2,T3,T4,T5> |
limit5() |
Limit this tuple to degree 5.
|
Tuple6<T1,T2,T3,T4,T5,T6> |
limit6() |
Limit this tuple to degree 6.
|
Tuple7<T1,T2,T3,T4,T5,T6,T7> |
limit7() |
Limit this tuple to degree 7.
|
Tuple8<T1,T2,T3,T4,T5,T6,T7,T8> |
limit8() |
Limit this tuple to degree 8.
|
java.util.List<?> |
list() |
Deprecated.
|
<R> R |
map(Function8<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? extends R> function) |
Apply this tuple as arguments to a function.
|
<U1> Tuple8<U1,T2,T3,T4,T5,T6,T7,T8> |
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.
|
<U2> Tuple8<T1,U2,T3,T4,T5,T6,T7,T8> |
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.
|
<U3> Tuple8<T1,T2,U3,T4,T5,T6,T7,T8> |
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.
|
<U4> Tuple8<T1,T2,T3,U4,T5,T6,T7,T8> |
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.
|
<U5> Tuple8<T1,T2,T3,T4,U5,T6,T7,T8> |
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.
|
<U6> Tuple8<T1,T2,T3,T4,T5,U6,T7,T8> |
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.
|
<U7> Tuple8<T1,T2,T3,T4,T5,T6,U7,T8> |
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.
|
<U8> Tuple8<T1,T2,T3,T4,T5,T6,T7,U8> |
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.
|
Tuple8<T1,T2,T3,T4,T5,T6,T7,T8> |
skip0() |
Skip 0 degrees from this tuple.
|
Tuple7<T2,T3,T4,T5,T6,T7,T8> |
skip1() |
Skip 1 degrees from this tuple.
|
Tuple6<T3,T4,T5,T6,T7,T8> |
skip2() |
Skip 2 degrees from this tuple.
|
Tuple5<T4,T5,T6,T7,T8> |
skip3() |
Skip 3 degrees from this tuple.
|
Tuple4<T5,T6,T7,T8> |
skip4() |
Skip 4 degrees from this tuple.
|
Tuple3<T6,T7,T8> |
skip5() |
Skip 5 degrees from this tuple.
|
Tuple2<T7,T8> |
skip6() |
Skip 6 degrees from this tuple.
|
Tuple1<T8> |
skip7() |
Skip 7 degrees from this tuple.
|
Tuple0 |
skip8() |
Skip 8 degrees from this tuple.
|
Tuple2<Tuple0,Tuple8<T1,T2,T3,T4,T5,T6,T7,T8>> |
split0() |
Split this tuple into two tuples of degree 0 and 8.
|
Tuple2<Tuple1<T1>,Tuple7<T2,T3,T4,T5,T6,T7,T8>> |
split1() |
Split this tuple into two tuples of degree 1 and 7.
|
Tuple2<Tuple2<T1,T2>,Tuple6<T3,T4,T5,T6,T7,T8>> |
split2() |
Split this tuple into two tuples of degree 2 and 6.
|
Tuple2<Tuple3<T1,T2,T3>,Tuple5<T4,T5,T6,T7,T8>> |
split3() |
Split this tuple into two tuples of degree 3 and 5.
|
Tuple2<Tuple4<T1,T2,T3,T4>,Tuple4<T5,T6,T7,T8>> |
split4() |
Split this tuple into two tuples of degree 4 and 4.
|
Tuple2<Tuple5<T1,T2,T3,T4,T5>,Tuple3<T6,T7,T8>> |
split5() |
Split this tuple into two tuples of degree 5 and 3.
|
Tuple2<Tuple6<T1,T2,T3,T4,T5,T6>,Tuple2<T7,T8>> |
split6() |
Split this tuple into two tuples of degree 6 and 2.
|
Tuple2<Tuple7<T1,T2,T3,T4,T5,T6,T7>,Tuple1<T8>> |
split7() |
Split this tuple into two tuples of degree 7 and 1.
|
Tuple2<Tuple8<T1,T2,T3,T4,T5,T6,T7,T8>,Tuple0> |
split8() |
Split this tuple into two tuples of degree 8 and 0.
|
java.lang.Object[] |
toArray() |
Get an array representation of this tuple.
|
java.util.List<?> |
toList() |
Get a list representation of this tuple.
|
java.util.Map<java.lang.String,?> |
toMap() |
Get a map representation of this tuple.
|
<K> java.util.Map<K,?> |
toMap(java.util.function.Function<? super java.lang.Integer,? extends K> keyMapper) |
Get a map representation of this tuple.
|
<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) |
|
<K> java.util.Map<K,?> |
toMap(K key1,
K key2,
K key3,
K key4,
K key5,
K key6,
K key7,
K key8) |
|
Seq<?> |
toSeq() |
Get a Seq representation of this tuple.
|
java.lang.String |
toString() |
|
T1 |
v1() |
|
T2 |
v2() |
|
T3 |
v3() |
|
T4 |
v4() |
|
T5 |
v5() |
|
T6 |
v6() |
|
T7 |
v7() |
|
T8 |
v8() |
finalize, getClass, notify, notifyAll, wait, wait, wait
public final T1 v1
public final T2 v2
public final T3 v3
public final T4 v4
public final T5 v5
public final T6 v6
public final T7 v7
public final T8 v8
public T1 v1()
public T2 v2()
public T3 v3()
public T4 v4()
public T5 v5()
public T6 v6()
public T7 v7()
public T8 v8()
public final <T9> Tuple9<T1,T2,T3,T4,T5,T6,T7,T8,T9> concat(T9 value)
public final <T9> Tuple9<T1,T2,T3,T4,T5,T6,T7,T8,T9> concat(Tuple1<T9> tuple)
public final <T9,T10> Tuple10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> concat(Tuple2<T9,T10> tuple)
public final <T9,T10,T11> Tuple11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> concat(Tuple3<T9,T10,T11> tuple)
public final <T9,T10,T11,T12> Tuple12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> concat(Tuple4<T9,T10,T11,T12> tuple)
public final <T9,T10,T11,T12,T13> Tuple13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> concat(Tuple5<T9,T10,T11,T12,T13> tuple)
public final <T9,T10,T11,T12,T13,T14> Tuple14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> concat(Tuple6<T9,T10,T11,T12,T13,T14> tuple)
public final <T9,T10,T11,T12,T13,T14,T15> Tuple15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> concat(Tuple7<T9,T10,T11,T12,T13,T14,T15> tuple)
public final <T9,T10,T11,T12,T13,T14,T15,T16> Tuple16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> concat(Tuple8<T9,T10,T11,T12,T13,T14,T15,T16> tuple)
public final Tuple2<Tuple0,Tuple8<T1,T2,T3,T4,T5,T6,T7,T8>> split0()
public final Tuple2<Tuple1<T1>,Tuple7<T2,T3,T4,T5,T6,T7,T8>> split1()
public final Tuple2<Tuple2<T1,T2>,Tuple6<T3,T4,T5,T6,T7,T8>> split2()
public final Tuple2<Tuple3<T1,T2,T3>,Tuple5<T4,T5,T6,T7,T8>> split3()
public final Tuple2<Tuple4<T1,T2,T3,T4>,Tuple4<T5,T6,T7,T8>> split4()
public final Tuple2<Tuple5<T1,T2,T3,T4,T5>,Tuple3<T6,T7,T8>> split5()
public final Tuple2<Tuple6<T1,T2,T3,T4,T5,T6>,Tuple2<T7,T8>> split6()
public final Tuple2<Tuple7<T1,T2,T3,T4,T5,T6,T7>,Tuple1<T8>> split7()
public final Tuple2<Tuple8<T1,T2,T3,T4,T5,T6,T7,T8>,Tuple0> split8()
public final Tuple0 limit0()
public final Tuple0 skip8()
public final <R> R map(Function8<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? extends R> function)
public final <U1> Tuple8<U1,T2,T3,T4,T5,T6,T7,T8> map1(java.util.function.Function<? super T1,? extends U1> function)
public final <U2> Tuple8<T1,U2,T3,T4,T5,T6,T7,T8> map2(java.util.function.Function<? super T2,? extends U2> function)
public final <U3> Tuple8<T1,T2,U3,T4,T5,T6,T7,T8> map3(java.util.function.Function<? super T3,? extends U3> function)
public final <U4> Tuple8<T1,T2,T3,U4,T5,T6,T7,T8> map4(java.util.function.Function<? super T4,? extends U4> function)
public final <U5> Tuple8<T1,T2,T3,T4,U5,T6,T7,T8> map5(java.util.function.Function<? super T5,? extends U5> function)
public final <U6> Tuple8<T1,T2,T3,T4,T5,U6,T7,T8> map6(java.util.function.Function<? super T6,? extends U6> function)
public final <U7> Tuple8<T1,T2,T3,T4,T5,T6,U7,T8> map7(java.util.function.Function<? super T7,? extends U7> function)
public final <U8> Tuple8<T1,T2,T3,T4,T5,T6,T7,U8> map8(java.util.function.Function<? super T8,? extends U8> function)
@Deprecated public final java.lang.Object[] array()
Tuple
public final java.lang.Object[] toArray()
Tuple
@Deprecated public final java.util.List<?> list()
Tuple
public final java.util.List<?> toList()
Tuple
public final Seq<?> toSeq()
Tuple
public final java.util.Map<java.lang.String,?> toMap()
Tuple
public final <K> java.util.Map<K,?> toMap(java.util.function.Function<? super java.lang.Integer,? extends K> keyMapper)
Tuple
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)
public final <K> java.util.Map<K,?> toMap(K key1, K key2, K key3, K key4, K key5, K key6, K key7, K key8)
public final int degree()
public final java.util.Iterator<java.lang.Object> iterator()
iterator
in interface java.lang.Iterable<T1>
public int compareTo(Tuple8<T1,T2,T3,T4,T5,T6,T7,T8> other)
compareTo
in interface java.lang.Comparable<T1>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2018. All rights reserved.