@Test public void testClear() { VectorSeries s1 = new VectorSeries("S1"); s1.addChangeListener(this); s1.clear(); assertNull(this.lastEvent); assertTrue(s1.isEmpty()); s1.add(1.0, 2.0, 3.0, 4.0); assertFalse(s1.isEmpty()); s1.clear(); assertNotNull(this.lastEvent); assertTrue(s1.isEmpty()); }
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);  }