org.geotools.graph.structure
Interface GraphVisitor


public interface GraphVisitor

An interface in which to implement a visitor pattern with components of a graph.

Author:
Justin Deoliveira, Refractions Research Inc, jdeolive@refractions.net

Method Summary
 int visit(Graphable component)
          Presents the visitor with the component to visit.
 

Method Detail

visit

public int visit(Graphable component)
Presents the visitor with the component to visit.

Parameters:
component - The component being visited.
Returns:
An integer signal value back to the caller.


Copyright © GeoTools. All Rights Reserved.