JBoss Common Classes 2.2.17.GA

org.jboss.util.graph
Interface VisitorEX<T,E extends Exception>

Type Parameters:
T -
E -

public interface VisitorEX<T,E extends Exception>

A graph visitor interface that can throw an exception during a visit callback.

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)
           throws E extends Exception
Called by the graph traversal methods when a vertex is first visited.

Parameters:
g - - the graph
v - - the vertex being visited.
Throws:
E - exception for any error
E extends Exception

JBoss Common Classes 2.2.17.GA

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