T1 - The type of the first value held by this tupleT2 - The type of the second value held by this tupleT3 - The type of the third value held by this tupleT4 - The type of the fourth value held by this tupleT5 - The type of the fifth value held by this tupleT6 - The type of the sixth value held by this tupleT7 - The type of the seventh value held by this tupleT8 - The type of the eighth value held by this tuplepublic class Tuple8<T1,T2,T3,T4,T5,T6,T7,T8> extends Tuple7<T1,T2,T3,T4,T5,T6,T7>
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(@Nullable java.lang.Object o) |
@Nullable java.lang.Object |
get(int index)
Get the object at the given index.
|
T8 |
getT8()
Type-safe way to get the eighth object of this
Tuples. |
int |
hashCode() |
<R> Tuple8<R,T2,T3,T4,T5,T6,T7,T8> |
mapT1(java.util.function.Function<T1,R> mapper)
Map the 1st part (T1) of this
Tuple8 into a different value and type,
keeping the other parts. |
<R> Tuple8<T1,R,T3,T4,T5,T6,T7,T8> |
mapT2(java.util.function.Function<T2,R> mapper)
Map the 2nd part (T2) of this
Tuple8 into a different value and type,
keeping the other parts. |
<R> Tuple8<T1,T2,R,T4,T5,T6,T7,T8> |
mapT3(java.util.function.Function<T3,R> mapper)
Map the 3rd part (T3) of this
Tuple8 into a different value and type,
keeping the other parts. |
<R> Tuple8<T1,T2,T3,R,T5,T6,T7,T8> |
mapT4(java.util.function.Function<T4,R> mapper)
Map the 4th part (T4) of this
Tuple8 into a different value and type,
keeping the other parts. |
<R> Tuple8<T1,T2,T3,T4,R,T6,T7,T8> |
mapT5(java.util.function.Function<T5,R> mapper)
Map the 5th part (T5) of this
Tuple8 into a different value and type,
keeping the other parts. |
<R> Tuple8<T1,T2,T3,T4,T5,R,T7,T8> |
mapT6(java.util.function.Function<T6,R> mapper)
Map the 6th part (T6) of this
Tuple8 into a different value and type,
keeping the other parts. |
<R> Tuple8<T1,T2,T3,T4,T5,T6,R,T8> |
mapT7(java.util.function.Function<T7,R> mapper)
Map the 7th part (T7) of this
Tuple8 into a different value and type,
keeping the other parts. |
<R> Tuple8<T1,T2,T3,T4,T5,T6,T7,R> |
mapT8(java.util.function.Function<T8,R> mapper)
Map the 8th part (t8) of this
Tuple8 into a different value and type,
keeping the other parts. |
int |
size()
Return the number of elements in this Tuples.
|
java.lang.Object[] |
toArray()
Turn this
Tuple into a plain Object[]. |
public T8 getT8()
Tuples.public <R> Tuple8<R,T2,T3,T4,T5,T6,T7,T8> mapT1(java.util.function.Function<T1,R> mapper)
Tuple8 into a different value and type,
keeping the other parts.public <R> Tuple8<T1,R,T3,T4,T5,T6,T7,T8> mapT2(java.util.function.Function<T2,R> mapper)
Tuple8 into a different value and type,
keeping the other parts.public <R> Tuple8<T1,T2,R,T4,T5,T6,T7,T8> mapT3(java.util.function.Function<T3,R> mapper)
Tuple8 into a different value and type,
keeping the other parts.public <R> Tuple8<T1,T2,T3,R,T5,T6,T7,T8> mapT4(java.util.function.Function<T4,R> mapper)
Tuple8 into a different value and type,
keeping the other parts.public <R> Tuple8<T1,T2,T3,T4,R,T6,T7,T8> mapT5(java.util.function.Function<T5,R> mapper)
Tuple8 into a different value and type,
keeping the other parts.public <R> Tuple8<T1,T2,T3,T4,T5,R,T7,T8> mapT6(java.util.function.Function<T6,R> mapper)
Tuple8 into a different value and type,
keeping the other parts.public <R> Tuple8<T1,T2,T3,T4,T5,T6,R,T8> mapT7(java.util.function.Function<T7,R> mapper)
Tuple8 into a different value and type,
keeping the other parts.public <R> Tuple8<T1,T2,T3,T4,T5,T6,T7,R> mapT8(java.util.function.Function<T8,R> mapper)
Tuple8 into a different value and type,
keeping the other parts.R - the new type for the T8 partmapper - the mapping Function for the T8 partTuple8 with a different T8 valuepublic @Nullable java.lang.Object get(int index)
Tuple2public java.lang.Object[] toArray()
Tuple2Tuple into a plain Object[].
The array isn't tied to this Tuple but is a copy.public boolean equals(@Nullable java.lang.Object o)