/**
   A class of ordered pairs of objects having the same data type.
   
   @author Frank M. Carrano, Timothy M. Henry
   @version 5.0
*/
public class OrderedPair<T> implements Pairable<T>
{
   private T first, second;
  
   // The constructor and the methods getFirst, getSecond, toString, and changeOrder are here.
   // . . .
} // end OrderedPair
