@Test public void testEquals() { XIntervalSeries s1 = new XIntervalSeries("s1"); XIntervalSeries s2 = new XIntervalSeries("s1"); assertEquals(s1, s2); s1 = new XIntervalSeries("s2"); assertFalse(s1.equals(s2)); s2 = new XIntervalSeries("s2"); assertEquals(s1, s2); s1 = new XIntervalSeries("s2", false, true); assertFalse(s1.equals(s2)); s2 = new XIntervalSeries("s2", false, true); assertEquals(s1, s2); s1 = new XIntervalSeries("s2", false, false); assertFalse(s1.equals(s2)); s2 = new XIntervalSeries("s2", false, false); assertEquals(s1, s2); s1.add(1.0, 0.5, 1.5, 2.0); assertFalse(s1.equals(s2)); s2.add(1.0, 0.5, 1.5, 2.0); assertEquals(s2, s1); s1.add(2.0, 0.5, 1.5, 2.0); assertFalse(s1.equals(s2)); s2.add(2.0, 0.5, 1.5, 2.0); assertEquals(s2, s1); s1.remove(1.0); assertFalse(s1.equals(s2)); s2.remove(1.0); assertEquals(s2, s1); }
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);  }