/** * An interface for basic operations of a tree. * * @author Frank M. Carrano * @version 2.0 */ public interface TreeInterface { public T getRootData(); public int getHeight(); public int getNumberOfNodes(); public boolean isEmpty(); public void clear(); } // end TreeInterface