package rebelsky.linear; /** * Stacks are linear structures that implement the "last in, * first out" policy. * * @author Samuel A. Rebelsky * @version 1.0 of October 2004 */ public interface Stack extends Linear { /** * Remove and return the value still in this stack that * was most recently added by the put method. */ public Object get(); } // interface Stack