Interface SmartVisitation<T extends SmartVisitable<T>>

  • All Known Implementing Classes:
    SmartVisitationImpl

    public interface SmartVisitation<T extends SmartVisitable<T>>
    Keeps the state of the visitation in order to avoid visiting one object multiple times.
    • Method Detail

      • alreadyVisited

        boolean alreadyVisited​(T visitable)
      • registerVisit

        void registerVisit​(T visitable)