T1 - the first element typeT2 - the second element typeT3 - the third element typepublic class Triple<T1,T2,T3> extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object rhs) |
T1 |
first() |
Triple<T3,T2,T1> |
flip() |
int |
hashCode() |
<R1,R2,R3> Triple<R1,R2,R3> |
map(Function<T1,R1> withFirst,
Function<T2,R2> withSecond,
Function<T3,R3> withThird) |
static <T1,T2,T3> Triple<T1,T2,T3> |
of(T1 first,
T2 second,
T3 third) |
Triple<T2,T3,T1> |
rotateLeft() |
Triple<T3,T1,T2> |
rotateRight() |
T2 |
second() |
T3 |
third() |
String |
toString() |
Copyright © 2017. All rights reserved.