Package repast.simphony.visualization
Interface VisualizedObjectContainer<T>
- All Superinterfaces:
Iterable<T>
Interface for classes that contain objects that can be visualized. This
interface essentially decouples the visualization mechanism from
Contexts, so that the vizualization code can be used with any class
that implements this interface.
- Author:
- Nick Collier
-
Method Summary
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
add
Adds the specified object to this container.- Parameters:
obj
- the object to add. This is the object itself not its visualized representation.
-
remove
Removes the specified object from this container.- Parameters:
obj
- the object to add. This is the object itself not its visualized representation.
-
contains
Whether or not the this container contains the specified object.- Parameters:
obj
- the object to check- Returns:
- true if this contains the object otherwise false.
-