net.sourceforge.combean.graph.iterators
Class NodeIteratorAsIterator
java.lang.Object
net.sourceforge.combean.graph.iterators.NodeIteratorAsIterator
- All Implemented Interfaces:
- Iterator
public class NodeIteratorAsIterator
- extends Object
- implements Iterator
A wrapper which turns a NodeIterator into a java.util.Iterator.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeIteratorAsIterator
public NodeIteratorAsIterator(NodeIterator nodeIter)
- Construct wrapper for NodeIterator
- Parameters:
nodeIter
- NodeIterator 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()