/** StackInterface.java -- operations we would like to have in a stack. * At a bare minimum, the push and pop operations. */ public interface StackInterface { public void push(Object o); public Object pop(); public Object peek(); public int size(); public String toString(); }