T1 - the first element typeT2 - the second element typepublic class Pair<T1,T2> extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object rhs) |
T1 |
first() |
<R1,R2> Pair<R1,R2> |
fmap(Delegate<R1,T1> withFirst,
Delegate<R2,T2> withSecond) |
int |
hashCode() |
static <T1,T2> Pair<T1,T2> |
of(T1 first,
T2 second) |
T2 |
second() |
String |
toString() |
Copyright © 2016. All rights reserved.