public class Pair<V1,V2> extends Object
TODO: as class is immutable, use @Covariant annotation.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
static <V1,V2> Pair<V1,V2> |
of(V1 v1,
V2 v2) |
String |
toString() |