public class EarthArea.EarthAreaIterator
extends java.lang.Object
implements java.util.Iterator<int[]>
Constructor and Description |
---|
EarthAreaIterator() |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Returns true if the area has more grid squares.
|
int[] |
next()
Returns the next grid square coordinates as [lat, lon].
|
void |
remove()
Performs no operation.
|
public boolean hasNext()
hasNext
in interface java.util.Iterator<int[]>
public int[] next()
next
in interface java.util.Iterator<int[]>
public void remove()
remove
in interface java.util.Iterator<int[]>