| Package | Description |
|---|---|
| no.digipost.tuple |
| Modifier and Type | Method and Description |
|---|---|
Triple<T1,T2,T3> |
ViewableAsTriple.asTriple() |
Triple<T1,T2,T3> |
Triple.asTriple() |
static <T1,T2,T3> Triple<T1,T2,T3> |
Triple.flatten(Tuple<Tuple<T1,T2>,T3> nestedTuple) |
<S1,S2,S3> Triple<S1,S2,S3> |
Triple.map(Function<? super T1,? extends S1> firstMapper,
Function<? super T2,? extends S2> secondMapper,
Function<? super T3,? extends S3> thirdMapper)
Create a new triple by applying a function to each element, and putting the
results into a new triple.
|
<S1> Triple<S1,T2,T3> |
Triple.mapFirst(Function<? super T1,? extends S1> mapper)
Create a new triple by applying a function to the first element, and putting the
result as the first element of the new triple.
|
<S2> Triple<T1,S2,T3> |
Triple.mapSecond(Function<? super T2,? extends S2> mapper)
Create a new triple by applying a function to the second element, and putting the
result as the second element of the new triple.
|
<S3> Triple<T1,T2,S3> |
Triple.mapThird(Function<? super T3,? extends S3> mapper)
Create a new triple by applying a function to the third element, and putting the
result as the third element of the new triple.
|
static <T1,T2,T3> Triple<T1,T2,T3> |
Triple.of(T1 first,
T2 second,
T3 third) |
Copyright © 2018 Digipost. All rights reserved.