@Test public void testIndexOf2() { VectorSeries s1 = new VectorSeries("Series 1"); s1.add(1.0, 1.0, 1.0, 2.0); s1.add(3.0, 3.0, 3.0, 3.0); s1.add(2.0, 2.0, 2.0, 2.0); assertEquals(0, s1.indexOf(new XYCoordinate(1.0, 1.0))); assertEquals(1, s1.indexOf(new XYCoordinate(3.0, 3.0))); assertEquals(2, s1.indexOf(new XYCoordinate(2.0, 2.0))); }
public void add(double x, double y, double deltaX, double deltaY) { super.add(new VectorDataItem(x, y, deltaX, deltaY), true); }
VectorSeries extends ComparableObjectSeries { public void add(double x, double y, double deltaX, double deltaY) { super.add(new VectorDataItem(x, y, deltaX, deltaY), true); } }
VectorSeries extends ComparableObjectSeries { public void add(double x, double y, double deltaX, double deltaY) { super.add(new VectorDataItem(x, y, deltaX, deltaY), true); } VectorSeries(Comparable key);  VectorSeries(Comparable key, boolean autoSort,
            boolean allowDuplicateXValues); }
VectorSeries extends ComparableObjectSeries { public void add(double x, double y, double deltaX, double deltaY) { super.add(new VectorDataItem(x, y, deltaX, deltaY), true); } VectorSeries(Comparable key);  VectorSeries(Comparable key, boolean autoSort,
            boolean allowDuplicateXValues); void add(double x, double y, double deltaX, double deltaY); @Override ComparableObjectItem remove(int index); double getXValue(int index); double getYValue(int index); double getVectorXValue(int index); double getVectorYValue(int index); @Override ComparableObjectItem getDataItem(int index); }
VectorSeries extends ComparableObjectSeries { public void add(double x, double y, double deltaX, double deltaY) { super.add(new VectorDataItem(x, y, deltaX, deltaY), true); } VectorSeries(Comparable key);  VectorSeries(Comparable key, boolean autoSort,
            boolean allowDuplicateXValues); void add(double x, double y, double deltaX, double deltaY); @Override ComparableObjectItem remove(int index); double getXValue(int index); double getYValue(int index); double getVectorXValue(int index); double getVectorYValue(int index); @Override ComparableObjectItem getDataItem(int index);  }