jasi.sim.user.util
Interface Visitor<T>

Type Parameters:
T - The visited object class
All Known Implementing Classes:
ClassSearchVisitor, PrintVisitor

public interface Visitor<T>

Visitor interface.


Method Summary
 boolean isDone()
          This method allows to determine, if the visitor has finished its work.
 void visit(T visitable)
          This method is called from the accept method of visited objects.
 

Method Detail

visit

void visit(T visitable)
This method is called from the accept method of visited objects.

Parameters:
visitable - The visited object class.

isDone

boolean isDone()
This method allows to determine, if the visitor has finished its work.

Returns:
True, if finished.