public class XYPlot.Curve.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 |
---|
XYPlot.Curve.Itr() |
public double getX()
public double getY()
public void advance()
public boolean valid()
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.