GlobalNavigation
Class Grid.GridIterator

java.lang.Object
  extended by GlobalNavigation.Grid.GridIterator
All Implemented Interfaces:
java.util.Iterator<Grid.Cell>
Enclosing class:
Grid

protected class Grid.GridIterator
extends java.lang.Object
implements java.util.Iterator<Grid.Cell>

An iterator over Grid.cell.

Iterates in a row raster from left to right starting at the lower left.


Constructor Summary
protected Grid.GridIterator()
           
 
Method Summary
 boolean hasNext()
           
 Grid.Cell next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Grid.GridIterator

protected Grid.GridIterator()
Method Detail

next

public Grid.Cell next()
Specified by:
next in interface java.util.Iterator<Grid.Cell>

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<Grid.Cell>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<Grid.Cell>