Package repast.simphony.space.continuous
Class SimpleCartesianAdder<T>
java.lang.Object
repast.simphony.space.continuous.SimpleCartesianAdder<T>
- All Implemented Interfaces:
ContinuousAdder<T>
,Adder<ContinuousSpace<T>,
T>
This is a simple implementation of an adder that doesn't perform any action.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(ContinuousSpace<T> destination, T object) Adds the specified object to the space.
-
Constructor Details
-
SimpleCartesianAdder
public SimpleCartesianAdder()
-
-
Method Details
-
add
Adds the specified object to the space. This will add the object to a space without assigning it a location. When this adder is used, the user must then move the object to some location on the space.- Specified by:
add
in interfaceAdder<ContinuousSpace<T>,
T> - Parameters:
destination
- the space to add the object to.object
- the object to add.
-