support.graph
Class GraphIterator<E>

java.lang.Object
  extended by support.graph.GraphIterator<E>
All Implemented Interfaces:
Iterator<E>

public class GraphIterator<E>
extends Object
implements Iterator<E>


Constructor Summary
GraphIterator(Iterator<E> vertices)
           
 
Method Summary
 E current()
           
 boolean hasNext()
           
 E next()
           
 void remove()
           
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphIterator

public GraphIterator(Iterator<E> vertices)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<E>

next

public E next()
Specified by:
next in interface Iterator<E>

current

public E current()

remove

public void remove()
Specified by:
remove in interface Iterator<E>

reset

public void reset()