
public interface BinaryTreeInterface {
  //<em> Add newElement into the proper place in the tree</em>
  //<em> Allows duplicate elements to be added!</em>
  public void addElement(OrderedObject newElement);

  //<em> Returns if an object that reports equality to</em>
  //<em> object elem is contained in the tree</em>
  public boolean contains(OrderedObject elem);

  //<em> Allows for iteration through the tree</em>
  public java.util.Enumeration elements();

  //<em> Returns true if the tree is empty</em>
  public boolean isEmpty();

  //<em> Removes all elements from the tree</em>
  public void removeAllElements();

  //<em> Removes the first of object that reports</em>
  //<em> equals(obj) to be true from the tree</em>
  //<em> returns true if some instance was removed, false</em>
  //<em> if no such instance was found.</em>
  public boolean removeElement(OrderedObject obj);

  //<em> Returns how many elements are in the tree</em>
  public int size();
}



