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

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

Field Detail

location

public java.lang.Object location

index

public int index

otherObjectsAtLocation

public Bag otherObjectsAtLocation
Constructor Detail

SparseField.LocationAndIndex

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