Class AbstractGraphIterator
Object
AbstractGraphIterator
- All Implemented Interfaces:
GraphIterator
- Direct Known Subclasses:
BreadthFirstTopologicalIterator,DirectedBreadthFirstTopologicalIterator,SourceGraphIterator
An abstract implementation of GraphIterator.
- Author:
- Justin Deoliveira, Refractions Research Inc, jdeolive@refractions.net
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetGraph()Returns the graph being traversed.Returns the traversal for the iterator.Returns the walker being traversed over the graph.voidsetTraversal(GraphTraversal traversal) Sets the traversal for the iterator.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface GraphIterator
cont, init, killBranch, next
-
Constructor Details
-
AbstractGraphIterator
public AbstractGraphIterator()
-
-
Method Details
-
setTraversal
Description copied from interface:GraphIteratorSets the traversal for the iterator.- Specified by:
setTraversalin interfaceGraphIterator- Parameters:
traversal- The traversal requesting components from the iterator.- See Also:
-
getTraversal
Description copied from interface:GraphIteratorReturns the traversal for the iterator.- Specified by:
getTraversalin interfaceGraphIterator- Returns:
- The traversal requesting components from the iterator.
- See Also:
-
getGraph
Returns the graph being traversed.- Returns:
- The graph being traversed.
- See Also:
-
getWalker
Returns the walker being traversed over the graph.- Returns:
- The walker being traversed over the graph.
- See Also:
-