jasi.sim.user.util
Class Visitables<T>

java.lang.Object
  extended by jasi.sim.user.util.Visitables<T>
Type Parameters:
T - The visited object class

public class Visitables<T>
extends java.lang.Object

Collection of visited objects.


Constructor Summary
Visitables(java.util.Collection<T> visitables)
          Constructor.
 
Method Summary
 void accept(Visitor<T> visitor)
          Accept a visitor for all relations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Visitables

public Visitables(java.util.Collection<T> visitables)
Constructor.

Parameters:
visitables - A collection of visited objects.
Method Detail

accept

public void accept(Visitor<T> visitor)
Accept a visitor for all relations.

Parameters:
visitor - The visitor.