net.sourceforge.combean.graph.iterators
Class EdgeIteratorAsIterator
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EdgeIteratorAsIterator
public EdgeIteratorAsIterator(EdgeIterator edgeIter)
- Construct wrapper for EdgeIterator
- Parameters:
edgeIter
- EdgeIterator to be wrapped
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()