O - typepublic class OrderedPair<O> extends Pair<O>
| Constructor and Description |
|---|
OrderedPair(O first,
O second) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static <T> Set<OrderedPair<T>> |
getAllPossibleOrderedPairs(Collection<? extends T> c) |
O |
getFirst() |
O |
getSecond() |
int |
hashCode() |
getAllPossiblePairs, getMembers, toStringpublic O getFirst()
public O getSecond()
public static <T> Set<OrderedPair<T>> getAllPossibleOrderedPairs(Collection<? extends T> c)
T - typec - cCopyright © 2015 The University of Manchester. All Rights Reserved.