1: /**
2: A class of ordered pairs of objects having the same data type.
3:
4: @author Frank M. Carrano, Timothy M. Henry
5: @version 5.0
6: */
7: public class OrderedPair<T> implements Pairable<T>
8: {
9: private T first, second;
10:
11: // The constructor and the methods getFirst, getSecond, toString, and changeOrder are here.
12: // . . .
13: } // end OrderedPair