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

    Modifier and Type
    Method
    Description
    int
    visit(Graphable component)
    Presents the visitor with the component to visit.
  • Method Details

    • visit

      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.