net.sourceforge.combean.graph.iterators
Class EdgeIteratorAsIterator

Package class diagram package EdgeIteratorAsIterator
java.lang.Object
  extended by net.sourceforge.combean.graph.iterators.EdgeIteratorAsIterator
All Implemented Interfaces:
Iterator

public class EdgeIteratorAsIterator
extends Object
implements Iterator

Wrap a EdgeIterator as ordinary java.util.Iterator.


Constructor Summary
EdgeIteratorAsIterator(EdgeIterator edgeIter)
          Construct wrapper for EdgeIterator
 
Method Summary
 boolean hasNext()
           
 Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EdgeIteratorAsIterator

public EdgeIteratorAsIterator(EdgeIterator edgeIter)
Construct wrapper for EdgeIterator

Parameters:
edgeIter - EdgeIterator to be wrapped
Method Detail

remove

public void remove()
Specified by:
remove in interface Iterator
See Also:
Iterator.remove()

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator
See Also:
Iterator.hasNext()

next

public Object next()
Specified by:
next in interface Iterator
See Also:
Iterator.next()