org.jboss.util.graph
Interface Visitor<T>
- Type Parameters:
T
-
public interface Visitor<T>
A graph visitor interface.
- Version:
- $Revision$
- Author:
- Scott.Stark@jboss.org
Method Summary |
void |
visit(Graph<T> g,
Vertex<T> v)
Called by the graph traversal methods when a vertex is first visited. |
visit
void visit(Graph<T> g,
Vertex<T> v)
- Called by the graph traversal methods when a vertex is first visited.
- Parameters:
g
- - the graphv
- - the vertex being visited.
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.