|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.freecol.common.model.Map.MapIterator
net.sf.freecol.common.model.Map.WholeMapIterator
public final class Map.WholeMapIterator
| Field Summary | |
|---|---|
private int |
x
|
private int |
y
|
| Fields inherited from class net.sf.freecol.common.model.Map.MapIterator |
|---|
directions |
| Constructor Summary | |
|---|---|
Map.WholeMapIterator()
Default constructor. |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
Determine if the iterator has another position in it. |
Map.Position |
nextPosition()
Obtain the next position to iterate over. |
| Methods inherited from class net.sf.freecol.common.model.Map.MapIterator |
|---|
next, remove |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int x
private int y
| Constructor Detail |
|---|
public Map.WholeMapIterator()
| Method Detail |
|---|
public boolean hasNext()
public Map.Position nextPosition()
throws java.util.NoSuchElementException
nextPosition in class Map.MapIteratorjava.util.NoSuchElementException - if last position already returned
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||