Package sim.field

Class SparseField.LocationAndIndex

java.lang.Object
sim.field.SparseField.LocationAndIndex
All Implemented Interfaces:
Serializable
Enclosing class:
SparseField

public static class SparseField.LocationAndIndex extends Object implements Serializable
Objects stored in SparseField's locationAndIndexHash table. This class contains an Object location and an int index. index is the position of the objects in the allObjects bag.
See Also:
  • Constructor Details

    • LocationAndIndex

      public LocationAndIndex(Object location, int index)
  • Method Details

    • getLocation

      public Object getLocation()
    • getIndex

      public int getIndex()