T1
- The type of the first non-null value held by this tupleT2
- The type of the second non-null value held by this tupleT3
- The type of the third non-null value held by this tupleT4
- The type of the fourth non-null value held by this tupleT5
- The type of the fifth non-null value held by this tupleT6
- The type of the sixth non-null value held by this tupleT7
- The type of the seventh non-null value held by this tuplepublic class Tuple7<T1,T2,T3,T4,T5,T6,T7> extends Tuple6<T1,T2,T3,T4,T5,T6>
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Object |
get(int index)
Get the object at the given index.
|
T7 |
getT7()
Type-safe way to get the seventh object of this
Tuples . |
int |
hashCode() |
<R> Tuple7<R,T2,T3,T4,T5,T6,T7> |
mapT1(Function<T1,R> mapper)
Map the 1st part (T1) of this
Tuple7 into a different value and type,
keeping the other parts. |
<R> Tuple7<T1,R,T3,T4,T5,T6,T7> |
mapT2(Function<T2,R> mapper)
Map the 2nd part (T2) of this
Tuple7 into a different value and type,
keeping the other parts. |
<R> Tuple7<T1,T2,R,T4,T5,T6,T7> |
mapT3(Function<T3,R> mapper)
Map the 3rd part (T3) of this
Tuple7 into a different value and type,
keeping the other parts. |
<R> Tuple7<T1,T2,T3,R,T5,T6,T7> |
mapT4(Function<T4,R> mapper)
Map the 4th part (T4) of this
Tuple7 into a different value and type,
keeping the other parts. |
<R> Tuple7<T1,T2,T3,T4,R,T6,T7> |
mapT5(Function<T5,R> mapper)
Map the 5th part (T5) of this
Tuple7 into a different value and type,
keeping the other parts. |
<R> Tuple7<T1,T2,T3,T4,T5,R,T7> |
mapT6(Function<T6,R> mapper)
Map the 6th part (T6) of this
Tuple7 into a different value and type,
keeping the other parts. |
<R> Tuple7<T1,T2,T3,T4,T5,T6,R> |
mapT7(Function<T7,R> mapper)
Map the 7th part (T7) of this
Tuple7 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
public T7 getT7()
Tuples
.public <R> Tuple7<R,T2,T3,T4,T5,T6,T7> mapT1(Function<T1,R> mapper)
Tuple7
into a different value and type,
keeping the other parts.public <R> Tuple7<T1,R,T3,T4,T5,T6,T7> mapT2(Function<T2,R> mapper)
Tuple7
into a different value and type,
keeping the other parts.public <R> Tuple7<T1,T2,R,T4,T5,T6,T7> mapT3(Function<T3,R> mapper)
Tuple7
into a different value and type,
keeping the other parts.public <R> Tuple7<T1,T2,T3,R,T5,T6,T7> mapT4(Function<T4,R> mapper)
Tuple7
into a different value and type,
keeping the other parts.public <R> Tuple7<T1,T2,T3,T4,R,T6,T7> mapT5(Function<T5,R> mapper)
Tuple7
into a different value and type,
keeping the other parts.public <R> Tuple7<T1,T2,T3,T4,T5,R,T7> mapT6(Function<T6,R> mapper)
Tuple7
into a different value and type,
keeping the other parts.public <R> Tuple7<T1,T2,T3,T4,T5,T6,R> mapT7(Function<T7,R> mapper)
Tuple7
into a different value and type,
keeping the other parts.@Nullable public Object get(int index)
Tuple2
public Object[] toArray()
Tuple2
Tuple
into a plain Object[]
.
The array isn't tied to this Tuple but is a copy.