//---------------------------------------------------------------------------- // UnboundedStackInterface.java by Dale/Joyce/Weems Chapter 3 // // Interface for a class that implements a stack of with no bound // on the size of the stack. A stack is a last-in, first-out structure. // ajg version: format //---------------------------------------------------------------------------- package ch03.stacks; public interface UnboundedStackInterface extends StackInterface { void push(T element); } // Local Variables: // compile-command: "cd ../..; javac ch03/stacks/UnboundedStackInterface.java" // End: