A
- Type of first itemB
- Type of second itempublic final class Pair<A,B> extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <U,V> Pair<U,V> |
create(U u,
V v)
Convenient constructor method
|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
static <T> Pair<T,T> |
sort(Pair<T,T> p) |
static <T> java.util.List<T> |
toList(Pair<T,T> p) |
java.lang.String |
toString() |