// $Id: Iterator.java,v 1.3 1999/12/16 16:26:53 leavens Exp $

package lib;

public interface Iterator {
    /** is there a current element? */
    boolean hasMore();

    /** move to the next element, provided hasMore() is true */
    void advance();

    /** get the current element, provided hasMore() is true */
    Object getElement();
}
