org.onebusaway.geospatial.grid
Interface Grid<T>

All Known Implementing Classes:
AbstractGrid, FilteredGrid, MapGrid

public interface Grid<T>


Nested Class Summary
static interface Grid.Entry<T>
           
 
Method Summary
 boolean contains(GridIndex index)
           
 boolean contains(int x, int y)
           
 T get(GridIndex index)
           
 T get(int x, int y)
           
 Iterable<Grid.Entry<T>> getEntries()
           
 void set(GridIndex index, T element)
           
 void set(int x, int y, T element)
           
 

Method Detail

set

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

set

void set(GridIndex index,
         T element)

contains

boolean contains(int x,
                 int y)

contains

boolean contains(GridIndex index)

get

T get(int x,
      int y)

get

T get(GridIndex index)

getEntries

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


Copyright © 2011 OneBusAway. All Rights Reserved.