// @topic S-0314-13-04-30 Java Iterator and Visitor patterns
// @brief interface for objects representing visitable locations

package week11;

public interface IVisitable {
    // A visitor wants to be accepted by the
    // floor or board the elevator:
    boolean accept( Visitor visitor );

    // A visitor wants to leave the
    // floor or unboard the elevator:
    boolean forget( Visitor visitor );
}