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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(T destination, U object)
Adds the specified object to the specified destination.
-