org.onebusaway.geospatial.grid
Class GridEntryImpl<T>

java.lang.Object
  extended by org.onebusaway.geospatial.grid.GridEntryImpl<T>
All Implemented Interfaces:
Grid.Entry<T>

public class GridEntryImpl<T>
extends Object
implements Grid.Entry<T>


Constructor Summary
GridEntryImpl(GridIndex index, T value)
           
 
Method Summary
 boolean equals(Object obj)
           
 GridIndex getIndex()
           
 T getValue()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridEntryImpl

public GridEntryImpl(GridIndex index,
                     T value)
Method Detail

getIndex

public GridIndex getIndex()
Specified by:
getIndex in interface Grid.Entry<T>

getValue

public T getValue()
Specified by:
getValue in interface Grid.Entry<T>

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2012 OneBusAway. All Rights Reserved.