@Test public void testSerialization() throws IOException, ClassNotFoundException { YIntervalSeries s1 = new YIntervalSeries("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())); YIntervalSeries s2 = (YIntervalSeries) in.readObject(); in.close(); assertEquals(s1, s2); }
public void add(double x, double y, double yLow, double yHigh) { super.add(new YIntervalDataItem(x, y, yLow, yHigh), true); }
YIntervalSeries extends ComparableObjectSeries { public void add(double x, double y, double yLow, double yHigh) { super.add(new YIntervalDataItem(x, y, yLow, yHigh), true); } }
YIntervalSeries extends ComparableObjectSeries { public void add(double x, double y, double yLow, double yHigh) { super.add(new YIntervalDataItem(x, y, yLow, yHigh), true); } YIntervalSeries(Comparable key);  YIntervalSeries(Comparable key, boolean autoSort,
            boolean allowDuplicateXValues); }
YIntervalSeries extends ComparableObjectSeries { public void add(double x, double y, double yLow, double yHigh) { super.add(new YIntervalDataItem(x, y, yLow, yHigh), true); } YIntervalSeries(Comparable key);  YIntervalSeries(Comparable key, boolean autoSort,
            boolean allowDuplicateXValues); void add(double x, double y, double yLow, double yHigh); Number getX(int index); double getYValue(int index); double getYLowValue(int index); double getYHighValue(int index); @Override ComparableObjectItem getDataItem(int index); }
YIntervalSeries extends ComparableObjectSeries { public void add(double x, double y, double yLow, double yHigh) { super.add(new YIntervalDataItem(x, y, yLow, yHigh), true); } YIntervalSeries(Comparable key);  YIntervalSeries(Comparable key, boolean autoSort,
            boolean allowDuplicateXValues); void add(double x, double y, double yLow, double yHigh); Number getX(int index); double getYValue(int index); double getYLowValue(int index); double getYHighValue(int index); @Override ComparableObjectItem getDataItem(int index);  }