|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Iterated over the components of a graph using a standard visitor pattern.
| Method Summary | |
void |
finish()
Called when the graph traversal is completed. |
int |
visit(Graphable element,
GraphTraversal traversal)
Visits a graph component. |
| Method Detail |
public int visit(Graphable element,
GraphTraversal traversal)
element - The component being visited.traversal - The traversal controlling the sequence of graph
component visits.
GraphTraversal,
GraphIteratorpublic void finish()
GraphTraversal
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||