Interface Visitor<T>


public interface Visitor<T>
a simple handler - style interface that can be used as a callback during iteration over some set of objects
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    visit​(T t)
    if returning true continue visiting, otherwise stop.
  • Method Details

    • visit

      boolean visit(T t)
      if returning true continue visiting, otherwise stop.
      Parameters:
      t -
      Returns: