public interface GraphVisitor
A helper interface that allows third parties to be notified of graph events during graph traversals
Modifier and Type | Method and Description |
---|---|
void |
edgeVisited(Edge edge)
may visit the node twice (both sides)
|
void |
nodeSeen(Object node)
May not be called.
|
void |
nodeVisited(Object node)
will only be called once per node
|
void nodeSeen(Object node)
void nodeVisited(Object node)
void edgeVisited(Edge edge)
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.