T
- the class of objects in the pairpublic class Pair<T> extends IndependentPair<T,T>
Constructor and Description |
---|
Pair(T obj1,
T obj2)
Constructs a Pair object with two objects obj1 and obj2
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
equals, firstObject, getFirst, getFirstFunction, getFirstObject, getSecond, getSecondFunction, getSecondObject, pair, pairList, secondObject, setFirstObject, setSecondObject, swap, swapList