T1 - The type of the first valueT2 - The type of the second valueT3 - The type of the third valueT4 - The type of the fourth valueT5 - The type of the fifth valueT6 - The type of the sixth valueT7 - The type of the seventh valuepublic interface Septuple<T1,T2,T3,T4,T5,T6,T7> extends ViewableAsSeptuple<T1,T2,T3,T4,T5,T6,T7>
| Modifier and Type | Method and Description |
|---|---|
Septuple<T1,T2,T3,T4,T5,T6,T7> |
asSeptuple() |
T5 |
fifth() |
T1 |
first() |
static <T1,T2,T3,T4,T5,T6,T7> |
flatten(Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6>,T7> nestedTuple) |
T4 |
fourth() |
<S1,S2,S3,S4,S5,S6,S7> |
map(Function<? super T1,? extends S1> firstMapper,
Function<? super T2,? extends S2> secondMapper,
Function<? super T3,? extends S3> thirdMapper,
Function<? super T4,? extends S4> fourthMapper,
Function<? super T5,? extends S5> fifthMapper,
Function<? super T6,? extends S6> sixthMapper,
Function<? super T7,? extends S7> seventhMapper)
Create a new septuple by applying a function to each element, and putting the
results into a new septuple.
|
<S5> Septuple<T1,T2,T3,T4,S5,T6,T7> |
mapFifth(Function<? super T5,? extends S5> mapper)
Create a new septuple by applying a function to the fifth element, and putting the
result as the fifth element of the new septuple.
|
<S1> Septuple<S1,T2,T3,T4,T5,T6,T7> |
mapFirst(Function<? super T1,? extends S1> mapper)
Create a new septuple by applying a function to the first element, and putting the
result as the first element of the new septuple.
|
<S4> Septuple<T1,T2,T3,S4,T5,T6,T7> |
mapFourth(Function<? super T4,? extends S4> mapper)
Create a new septuple by applying a function to the fourth element, and putting the
result as the fourth element of the new septuple.
|
<S2> Septuple<T1,S2,T3,T4,T5,T6,T7> |
mapSecond(Function<? super T2,? extends S2> mapper)
Create a new septuple by applying a function to the second element, and putting the
result as the second element of the new septuple.
|
<S7> Septuple<T1,T2,T3,T4,T5,T6,S7> |
mapSeventh(Function<? super T7,? extends S7> mapper)
Create a new septuple by applying a function to the seventh element, and putting the
result as the seventh element of the new septuple.
|
<S6> Septuple<T1,T2,T3,T4,T5,S6,T7> |
mapSixth(Function<? super T6,? extends S6> mapper)
Create a new septuple by applying a function to the sixth element, and putting the
result as the sixth element of the new septuple.
|
<S3> Septuple<T1,T2,S3,T4,T5,T6,T7> |
mapThird(Function<? super T3,? extends S3> mapper)
Create a new septuple by applying a function to the third element, and putting the
result as the third element of the new septuple.
|
static <T1,T2,T3,T4,T5,T6,T7> |
of(T1 first,
T2 second,
T3 third,
T4 fourth,
T5 fifth,
T6 sixth,
T7 seventh) |
T2 |
second() |
T7 |
seventh() |
T6 |
sixth() |
T3 |
third() |
static <T1,T2,T3,T4,T5,T6,T7> Septuple<T1,T2,T3,T4,T5,T6,T7> of(T1 first, T2 second, T3 third, T4 fourth, T5 fifth, T6 sixth, T7 seventh)
static <T1,T2,T3,T4,T5,T6,T7> Septuple<T1,T2,T3,T4,T5,T6,T7> flatten(Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6>,T7> nestedTuple)
T1 first()
T2 second()
T3 third()
T4 fourth()
T5 fifth()
T6 sixth()
T7 seventh()
<S1> Septuple<S1,T2,T3,T4,T5,T6,T7> mapFirst(Function<? super T1,? extends S1> mapper)
mapper - the function to apply to the first element<S2> Septuple<T1,S2,T3,T4,T5,T6,T7> mapSecond(Function<? super T2,? extends S2> mapper)
mapper - the function to apply to the second element<S3> Septuple<T1,T2,S3,T4,T5,T6,T7> mapThird(Function<? super T3,? extends S3> mapper)
mapper - the function to apply to the third element<S4> Septuple<T1,T2,T3,S4,T5,T6,T7> mapFourth(Function<? super T4,? extends S4> mapper)
mapper - the function to apply to the fourth element<S5> Septuple<T1,T2,T3,T4,S5,T6,T7> mapFifth(Function<? super T5,? extends S5> mapper)
mapper - the function to apply to the fifth element<S6> Septuple<T1,T2,T3,T4,T5,S6,T7> mapSixth(Function<? super T6,? extends S6> mapper)
mapper - the function to apply to the sixth element<S7> Septuple<T1,T2,T3,T4,T5,T6,S7> mapSeventh(Function<? super T7,? extends S7> mapper)
mapper - the function to apply to the seventh element<S1,S2,S3,S4,S5,S6,S7> Septuple<S1,S2,S3,S4,S5,S6,S7> map(Function<? super T1,? extends S1> firstMapper, Function<? super T2,? extends S2> secondMapper, Function<? super T3,? extends S3> thirdMapper, Function<? super T4,? extends S4> fourthMapper, Function<? super T5,? extends S5> fifthMapper, Function<? super T6,? extends S6> sixthMapper, Function<? super T7,? extends S7> seventhMapper)
firstMapper - the function to apply to the first elementsecondMapper - the function to apply to the second elementthirdMapper - the function to apply to the third elementfourthMapper - the function to apply to the fourth elementfifthMapper - the function to apply to the fifth elementsixthMapper - the function to apply to the sixth elementseventhMapper - the function to apply to the seventh elementCopyright © 2016 Digipost. All rights reserved.