com.infomancers.collections.iterators
Class GraphIterators

java.lang.Object
  extended by com.infomancers.collections.iterators.GraphIterators

public final class GraphIterators
extends java.lang.Object

Utility class used to create an iterator which iterates over all the nodes of a graph, using different common algorithms.


Constructor Summary
GraphIterators()
           
 
Method Summary
static java.lang.Iterable<java.lang.Object> depthFirstSearch(GraphAdapter adapter)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphIterators

public GraphIterators()
Method Detail

depthFirstSearch

public static java.lang.Iterable<java.lang.Object> depthFirstSearch(GraphAdapter adapter)