org.qi4j.functional

## Interface Visitor<T,ThrowableType extends Throwable>

- All Known Subinterfaces:
    Databases.ResultSetVisitor, HierarchicalVisitor<NODE,LEAF,ThrowableType>
  All Known Implementing Classes:
    HierarchicalVisitorAdapter

      public interface Visitor<T,ThrowableType extends Throwable>

  Generic Visitor interface.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `visit(T visited)` Visit an instance of T

- - ### Method Detail

    - #### visit

          boolean visit(T visited)
                        throws ThrowableType extends Throwable

      Visit an instance of T
      Parameters:
        `visited` - the visited instance
      Returns:
        true if the visitor pattern should continue, false if it should be aborted
      Throws:
        `ThrowableType` - if an exception occurred during processing. Any client call that initiated the visiting should get the exception in order to handle it properly.
        `ThrowableType extends Throwable`