logic
Class GraphProcessing.DepthFirstIterator

java.lang.Object
  extended by logic.GraphProcessing.DepthFirstIterator
All Implemented Interfaces:
java.util.Iterator<Node>
Enclosing class:
GraphProcessing

public class GraphProcessing.DepthFirstIterator
extends java.lang.Object
implements java.util.Iterator<Node>

a Depth First Iterator traversing the graph (gernerateTree() has to be called previously)

Author:
Fennes

Constructor Summary
GraphProcessing.DepthFirstIterator()
           
 
Method Summary
 boolean hasNext()
           
 Node next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphProcessing.DepthFirstIterator

public GraphProcessing.DepthFirstIterator()
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<Node>

next

public Node next()
Specified by:
next in interface java.util.Iterator<Node>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<Node>