All pastes #409823 Raw Edit

Mine

public java v1 · immutable
#409823 ·published 2007-03-25 22:43 UTC
rendered paste body
import java.util.NoSuchElementException;/** * An iterator over vertices in an UndirectedGraph object. *  * @author Stefan Nilsson * @version 2007-02-13 */public interface VertexIterator{    /**     * Returns true iff the iteration has more elements.     *     * @return true iff the iteration has more elements.      */    public boolean hasNext();        /**     * Returns the next element in the iteration.     *     * @return the next element in the iteration.     * @throws NoSuchElementException if the iteration has no     *         more elements.     */    public int next() throws NoSuchElementException;}