JBoss Common Classes 2.2.17.GA-redhat-2

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-redhat-2

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.