JBoss Common Classes 2.2.17.GA

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.
 

Method Detail

visit

void visit(Graph<T> g,
           Vertex<T> v)
Called by the graph traversal methods when a vertex is first visited.

Parameters:
g - - the graph
v - - the vertex being visited.

JBoss Common Classes 2.2.17.GA

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.