org.onebusaway.geospatial.grid
Class FilteredGrid<T>
java.lang.Object
org.onebusaway.geospatial.grid.AbstractGrid<T>
org.onebusaway.geospatial.grid.FilteredGrid<T>
- All Implemented Interfaces:
- Grid<T>
public class FilteredGrid<T>
- extends AbstractGrid<T>
Nested classes/interfaces inherited from interface org.onebusaway.geospatial.grid.Grid |
Grid.Entry<T> |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilteredGrid
public FilteredGrid(Grid<T> grid,
IFilter<T> filter)
contains
public boolean contains(int x,
int y)
get
public T get(int x,
int y)
getEntries
public Iterable<Grid.Entry<T>> getEntries()
set
public void set(int x,
int y,
T element)
Copyright © 2012 OneBusAway. All Rights Reserved.