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 Details

    • SimpleCartesianAdder

      public SimpleCartesianAdder()
  • Method Details

    • 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 interface Adder<ContinuousSpace<T>,T>
      Parameters:
      destination - the space to add the object to.
      object - the object to add.