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

java.lang.Object
  extended by org.onebusaway.geospatial.grid.AbstractGrid<T>
All Implemented Interfaces:
Grid<T>
Direct Known Subclasses:
FilteredGrid, MapGrid

public abstract class AbstractGrid<T>
extends Object
implements Grid<T>


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.onebusaway.geospatial.grid.Grid
Grid.Entry<T>
 
Constructor Summary
AbstractGrid()
           
 
Method Summary
 boolean contains(GridIndex index)
           
 T get(GridIndex index)
           
 void set(GridIndex index, T element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.onebusaway.geospatial.grid.Grid
contains, get, getEntries, set
 

Constructor Detail

AbstractGrid

public AbstractGrid()
Method Detail

contains

public boolean contains(GridIndex index)
Specified by:
contains in interface Grid<T>

get

public T get(GridIndex index)
Specified by:
get in interface Grid<T>

set

public void set(GridIndex index,
                T element)
Specified by:
set in interface Grid<T>


Copyright © 2012 OneBusAway. All Rights Reserved.