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