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

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

public class MapGrid<T>
extends AbstractGrid<T>


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

Constructor Detail

MapGrid

public MapGrid()
Method Detail

contains

public boolean contains(int x,
                        int y)

get

public T get(int x,
             int y)

set

public void set(int x,
                int y,
                T element)

getEntries

public Iterable<Grid.Entry<T>> getEntries()


Copyright © 2011 OneBusAway. All Rights Reserved.