public class XYCurve.Itr extends Object
#getX()
and #getY()
operations, which does not work consistently with Java's
next()
style of iterations.
Instead, use this style of iteration: for (XYCurve.Itr it = curve.iterator(); it.valid(); it.advance()) { doSomethingWith(it.getX(), it.getY()); }
Modifier and Type | Field and Description |
---|---|
protected int |
pos
Iterator position
|
Constructor and Description |
---|
XYCurve.Itr() |
public double getX()
public double getY()
public void advance()
public boolean valid()