@Test public void testSerialization() throws IOException, ClassNotFoundException { VectorSeries s1 = new VectorSeries("s1"); s1.add(1.0, 0.5, 1.5, 2.0); ByteArrayOutputStream buffer = new ByteArrayOutputStream(); ObjectOutput out = new ObjectOutputStream(buffer); out.writeObject(s1); out.close(); ObjectInput in = new ObjectInputStream( new ByteArrayInputStream(buffer.toByteArray())); VectorSeries s2 = (VectorSeries) in.readObject(); in.close(); assertEquals(s1, s2); }
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);  }