// CSE 373, Winter 2013, Marty Stepp // This interface defines a Stack abstract data type (ADT) // allowing adding/removing items in FIFO order from the "top" // of the stack. import java.util.Iterator; public interface Stack extends Iterable { void push(E value); E pop(); E peek(); boolean isEmpty(); Iterator iterator(); int size(); }