1: package TreePackage; 2: import java.util.Iterator; 3: /** 4: An interface of iterators for the ADT tree. 5: 6: @author Frank M. Carrano 7: @author Timothy M. Henry 8: @version 4.0 9: */ 10: public interface TreeIteratorInterface<T> 11: { 12: public Iterator<T> getPreorderIterator(); 13: public Iterator<T> getPostorderIterator(); 14: public Iterator<T> getInorderIterator(); 15: public Iterator<T> getLevelOrderIterator(); 16: } // end TreeIteratorInterface