// Interface for container classes that manipulated ordered structures. // (c) 1996 duane a. bailey package structure; public interface Container { public int size(); // post: returns the number elements contained in container. public boolean isEmpty(); // post: returns true iff container is empty public void clear(); // post: clears container }