public class CoordinateSequence<T extends CoordinateInterface> extends Object implements Iterable<T>
| Modifier and Type | Class and Description |
|---|---|
class |
CoordinateSequence.CoordinateIterator |
| Modifier and Type | Field and Description |
|---|---|
protected CoordinateFactory<T> |
coordinateFactory |
protected int |
fromX |
protected int |
fromY |
protected int |
stepX |
protected int |
stepY |
protected int |
toX |
protected int |
toY |
| Constructor and Description |
|---|
CoordinateSequence(int fromX,
int fromY,
int toX,
int toY,
int stepX,
int stepY,
CoordinateFactory<T> coordinateFactory) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<T> |
iterator() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorprotected int fromX
protected int fromY
protected int toX
protected int toY
protected int stepX
protected int stepY
protected CoordinateFactory<T extends CoordinateInterface> coordinateFactory
public CoordinateSequence(int fromX,
int fromY,
int toX,
int toY,
int stepX,
int stepY,
CoordinateFactory<T> coordinateFactory)
Copyright © 2019. All rights reserved.