Modifier and Type | Field and Description |
---|---|
protected List<Position> |
corners |
protected int |
h |
protected Position |
ne |
protected int |
numHigh |
protected int |
numWide |
protected Position |
nw |
protected Position |
se |
protected Position |
sw |
protected int |
w |
Constructor and Description |
---|
PositionIterator(List<Position> corners,
int numPointsWide,
int numPointsHigh) |
Modifier and Type | Method and Description |
---|---|
protected Position |
computeNextPosition() |
boolean |
hasNext() |
Position |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected int h
protected Position ne
protected int numHigh
protected int numWide
protected Position nw
protected Position se
protected Position sw
protected int w
protected Position computeNextPosition()