Interface VisitorEX<T,​E extends java.lang.Exception>

  • Type Parameters:
    T -
    E -

    public interface VisitorEX<T,​E extends java.lang.Exception>
    A graph visitor interface that can throw an exception during a visit callback.
    Version:
    $Revision$
    • Method Detail

      • visit

        void visit​(Graph<T> g,
                   Vertex<T> v)
            throws E extends java.lang.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 java.lang.Exception