Package mil.nga.grid
Class BaseZoomGrids<T extends BaseGrid>
- java.lang.Object
- 
- mil.nga.grid.BaseZoomGrids<T>
 
- 
- 
Constructor SummaryConstructors Constructor Description BaseZoomGrids(int zoom)Constructor
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddGrid(T grid)Add a gridTreeSet<T>getGrids()Get the grids within the zoom levelintgetZoom()Get the zoom levelbooleanhasGrids()Determine if the zoom level has gridsIterator<T>iterator()intnumGrids()Get the number of gridsbooleanremoveGrid(T grid)Remove the grid- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.lang.IterableforEach, spliterator
 
- 
 
- 
- 
- 
Method Detail- 
getZoompublic int getZoom() Get the zoom level- Returns:
- zoom level
 
 - 
numGridspublic int numGrids() Get the number of grids- Returns:
- number of grids
 
 - 
hasGridspublic boolean hasGrids() Determine if the zoom level has grids- Returns:
- true if has grids
 
 - 
addGridpublic boolean addGrid(T grid) Add a grid- Parameters:
- grid- grid
- Returns:
- true if added
 
 - 
removeGridpublic boolean removeGrid(T grid) Remove the grid- Parameters:
- grid- grid
- Returns:
- true if removed
 
 
- 
 
-