sim.field
Class SparseField.LocationAndIndex

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

public static class SparseField.LocationAndIndex
extends java.lang.Object
implements java.io.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:
Serialized Form

Constructor Summary
SparseField.LocationAndIndex(java.lang.Object location, int index)
           
 
Method Summary
 int getIndex()
           
 java.lang.Object getLocation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SparseField.LocationAndIndex

public SparseField.LocationAndIndex(java.lang.Object location,
                                    int index)
Method Detail

getLocation

public java.lang.Object getLocation()

getIndex

public int getIndex()