net.sourceforge.combean.interfaces.graph
Interface NodeIterator

Package class diagram package NodeIterator
All Known Implementing Classes:
DRAGraphNodeIterator, IndexedNodeIterator, IteratorAsNodeIterator, NodeStackAsNodeIterator, NumberNodeIterator

public interface NodeIterator

An iterator through Nodes.


Method Summary
 boolean hasNext()
          Check if further nodes exist for this iteration.
 Node next()
          Switch to the next node in the iteration.
 

Method Detail

hasNext

boolean hasNext()
Check if further nodes exist for this iteration.

Returns:
true if there are further nodes

next

Node next()
Switch to the next node in the iteration.

Returns:
the next node