Package repast.simphony.space.projection
Interface Adder<T,U>
- All Known Subinterfaces:
ContinuousAdder<T>,GISAdder<T>,GridAdder<T>
- All Known Implementing Classes:
RandomCartesianAdder,RandomGISAdder,RandomGridAdder,SimpleAdder,SimpleCartesianAdder,SimpleGridAdder
public interface Adder<T,U>
Interface for classes that wish to add objects to a space. An adder is used by setting it on a
space. The space then will use whatever strategy is defined by the Adder to add objects to
itself. For example, a random grid adder may add objects at random locations on a grid.
- Author:
- Nick Collier
-
Method Summary
-
Method Details
-
add
Adds the specified object to the specified destination. Implementors are responsible for how this will actually occur, the location of the added object etc.- Parameters:
destination- the destination to add the object to.object- the object to add.
-