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>
public class SimpleCartesianAdder<T> extends Object implements ContinuousAdder<T>
This is a simple implementation of an adder that doesn't perform any action.
-
-
Constructor Summary
Constructors Constructor Description SimpleCartesianAdder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(ContinuousSpace<T> destination, T object)
Adds the specified object to the space.
-
-
-
Method Detail
-
add
public void add(ContinuousSpace<T> destination, T object)
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.
-
-