/**
 * The Stack class represents a last-in-first-out stack of objects. 
 *
 * @author  Joseph Bergin
 * @version 1.0, May 2000
 * Note that this version is not thread safe. 
 */
public class Stack {
// ...