| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.geotools.graph.traverse.AbstractGraphTraversal
org.geotools.graph.traverse.BasicGraphTraversal
A very simple traversal in which a single pass is made over the components of the graph.
| Field Summary | 
| Fields inherited from interface org.geotools.graph.traverse.GraphTraversal | 
CONTINUE, STOP | 
| Constructor Summary | |
BasicGraphTraversal(Graph graph,
                    GraphWalker walker)
 | 
|
| Method Summary | |
protected  void | 
walk(java.util.Collection elements)
 | 
 void | 
walkEdges()
Iterates over all edges in the graph.  | 
 void | 
walkNodes()
Iterates over all nodes in the graph.  | 
| Methods inherited from class org.geotools.graph.traverse.AbstractGraphTraversal | 
finish, getGraph, getWalker, initEdges, initNodes | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public BasicGraphTraversal(Graph graph,
                           GraphWalker walker)
| Method Detail | 
public void walkNodes()
walkNodes in interface GraphTraversalwalkNodes in class AbstractGraphTraversalpublic void walkEdges()
walkEdges in interface GraphTraversalwalkEdges in class AbstractGraphTraversalprotected void walk(java.util.Collection elements)
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||