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 tuplepublic class Tuple6<T1,T2,T3,T4,T5,T6> extends Tuple5<T1,T2,T3,T4,T5>
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Object |
get(int index)
Get the object at the given index.
|
T6 |
getT6()
Type-safe way to get the sixth object of this
Tuples . |
int |
hashCode() |
<R> Tuple6<R,T2,T3,T4,T5,T6> |
mapT1(Function<T1,R> mapper)
Map the 1st part (T1) of this
Tuple6 into a different value and type,
keeping the other parts. |
<R> Tuple6<T1,R,T3,T4,T5,T6> |
mapT2(Function<T2,R> mapper)
Map the 2nd part (T2) of this
Tuple6 into a different value and type,
keeping the other parts. |
<R> Tuple6<T1,T2,R,T4,T5,T6> |
mapT3(Function<T3,R> mapper)
Map the 3rd part (T3) of this
Tuple6 into a different value and type,
keeping the other parts. |
<R> Tuple6<T1,T2,T3,R,T5,T6> |
mapT4(Function<T4,R> mapper)
Map the 4th part (T4) of this
Tuple6 into a different value and type,
keeping the other parts. |
<R> Tuple6<T1,T2,T3,T4,R,T6> |
mapT5(Function<T5,R> mapper)
Map the 5th part (T5) of this
Tuple6 into a different value and type,
keeping the other parts. |
<R> Tuple6<T1,T2,T3,T4,T5,R> |
mapT6(Function<T6,R> mapper)
Map the 6th part (T6) of this
Tuple6 into a different value and type,
keeping the other parts. |
int |
size()
Return the number of elements in this Tuples.
|
Object[] |
toArray()
Turn this
Tuple into a plain Object[] . |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
@Nullable public Object get(int index)
Tuple2
public T6 getT6()
Tuples
.public <R> Tuple6<R,T2,T3,T4,T5,T6> mapT1(Function<T1,R> mapper)
Tuple6
into a different value and type,
keeping the other parts.public <R> Tuple6<T1,R,T3,T4,T5,T6> mapT2(Function<T2,R> mapper)
Tuple6
into a different value and type,
keeping the other parts.public <R> Tuple6<T1,T2,R,T4,T5,T6> mapT3(Function<T3,R> mapper)
Tuple6
into a different value and type,
keeping the other parts.public <R> Tuple6<T1,T2,T3,R,T5,T6> mapT4(Function<T4,R> mapper)
Tuple6
into a different value and type,
keeping the other parts.public <R> Tuple6<T1,T2,T3,T4,R,T6> mapT5(Function<T5,R> mapper)
Tuple6
into a different value and type,
keeping the other parts.public <R> Tuple6<T1,T2,T3,T4,T5,R> mapT6(Function<T6,R> mapper)
Tuple6
into a different value and type,
keeping the other parts.public int size()
Tuple2