net.sourceforge.combean.adapters.drasys.graph
Class DRAGraphNodeIterator

Package class diagram package DRAGraphNodeIterator
java.lang.Object
  extended by net.sourceforge.combean.adapters.drasys.graph.DRAGraphNodeIterator
All Implemented Interfaces:
NodeIterator

public class DRAGraphNodeIterator
extends Object
implements NodeIterator


Constructor Summary
DRAGraphNodeIterator(Enumeration draVertexEnum, DRAGraphAsGraph draGraph)
          constructor
 
Method Summary
 boolean hasNext()
          Check if further nodes exist for this iteration.
 Node next()
          Switch to the next node in the iteration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DRAGraphNodeIterator

public DRAGraphNodeIterator(Enumeration draVertexEnum,
                            DRAGraphAsGraph draGraph)
constructor

Method Detail

hasNext

public boolean hasNext()
Description copied from interface: NodeIterator
Check if further nodes exist for this iteration.

Specified by:
hasNext in interface NodeIterator
Returns:
true if there are further nodes

next

public Node next()
Description copied from interface: NodeIterator
Switch to the next node in the iteration.

Specified by:
next in interface NodeIterator
Returns:
the next node