@Test public void testGetRangeBounds() { DefaultBoxAndWhiskerCategoryDataset d1 = new DefaultBoxAndWhiskerCategoryDataset(); d1.add(new BoxAndWhiskerItem(1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, new ArrayList()), "R1", "C1"); assertEquals(new Range(7.0, 8.0), d1.getRangeBounds(false)); assertEquals(new Range(7.0, 8.0), d1.getRangeBounds(true)); d1.add(new BoxAndWhiskerItem(1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5, 8.5, new ArrayList()), "R1", "C1"); assertEquals(new Range(7.5, 8.5), d1.getRangeBounds(false)); assertEquals(new Range(7.5, 8.5), d1.getRangeBounds(true)); d1.add(new BoxAndWhiskerItem(2.5, 3.5, 4.5, 5.5, 6.5, 7.5, 8.5, 9.5, new ArrayList()), "R2", "C1"); assertEquals(new Range(7.5, 9.5), d1.getRangeBounds(false)); assertEquals(new Range(7.5, 9.5), d1.getRangeBounds(true)); d1.add(new BoxAndWhiskerItem(1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 8.6, 9.6, new ArrayList()), "R1", "C1"); assertEquals(new Range(8.5, 9.6), d1.getRangeBounds(false)); assertEquals(new Range(8.5, 9.6), d1.getRangeBounds(true)); }
@Override public Range getRangeBounds(boolean includeInterval) { return new Range(this.minimumRangeValue, this.maximumRangeValue); }
DefaultBoxAndWhiskerCategoryDataset extends AbstractDataset implements BoxAndWhiskerCategoryDataset, RangeInfo, PublicCloneable { @Override public Range getRangeBounds(boolean includeInterval) { return new Range(this.minimumRangeValue, this.maximumRangeValue); } }
DefaultBoxAndWhiskerCategoryDataset extends AbstractDataset implements BoxAndWhiskerCategoryDataset, RangeInfo, PublicCloneable { @Override public Range getRangeBounds(boolean includeInterval) { return new Range(this.minimumRangeValue, this.maximumRangeValue); } DefaultBoxAndWhiskerCategoryDataset(); }
DefaultBoxAndWhiskerCategoryDataset extends AbstractDataset implements BoxAndWhiskerCategoryDataset, RangeInfo, PublicCloneable { @Override public Range getRangeBounds(boolean includeInterval) { return new Range(this.minimumRangeValue, this.maximumRangeValue); } DefaultBoxAndWhiskerCategoryDataset(); void add(List<Number> list, Comparable rowKey, Comparable columnKey); void add(BoxAndWhiskerItem item, Comparable rowKey,
            Comparable columnKey); void remove(Comparable rowKey, Comparable columnKey); void removeRow(int rowIndex); void removeRow(Comparable rowKey); void removeColumn(int columnIndex); void removeColumn(Comparable columnKey); void clear(); BoxAndWhiskerItem getItem(int row, int column); @Override Number getValue(int row, int column); @Override Number getValue(Comparable rowKey, Comparable columnKey); @Override Number getMeanValue(int row, int column); @Override Number getMeanValue(Comparable rowKey, Comparable columnKey); @Override Number getMedianValue(int row, int column); @Override Number getMedianValue(Comparable rowKey, Comparable columnKey); @Override Number getQ1Value(int row, int column); @Override Number getQ1Value(Comparable rowKey, Comparable columnKey); @Override Number getQ3Value(int row, int column); @Override Number getQ3Value(Comparable rowKey, Comparable columnKey); @Override int getColumnIndex(Comparable key); @Override Comparable getColumnKey(int column); @Override List<Comparable> getColumnKeys(); @Override int getRowIndex(Comparable key); @Override Comparable getRowKey(int row); @Override List<Comparable> getRowKeys(); @Override int getRowCount(); @Override int getColumnCount(); @Override double getRangeLowerBound(boolean includeInterval); @Override double getRangeUpperBound(boolean includeInterval); @Override Range getRangeBounds(boolean includeInterval); @Override Number getMinRegularValue(int row, int column); @Override Number getMinRegularValue(Comparable rowKey, Comparable columnKey); @Override Number getMaxRegularValue(int row, int column); @Override Number getMaxRegularValue(Comparable rowKey, Comparable columnKey); @Override Number getMinOutlier(int row, int column); @Override Number getMinOutlier(Comparable rowKey, Comparable columnKey); @Override Number getMaxOutlier(int row, int column); @Override Number getMaxOutlier(Comparable rowKey, Comparable columnKey); @Override List<Number> getOutliers(int row, int column); @Override List<Number> getOutliers(Comparable rowKey, Comparable columnKey); @Override boolean equals(Object obj); @Override Object clone(); }
DefaultBoxAndWhiskerCategoryDataset extends AbstractDataset implements BoxAndWhiskerCategoryDataset, RangeInfo, PublicCloneable { @Override public Range getRangeBounds(boolean includeInterval) { return new Range(this.minimumRangeValue, this.maximumRangeValue); } DefaultBoxAndWhiskerCategoryDataset(); void add(List<Number> list, Comparable rowKey, Comparable columnKey); void add(BoxAndWhiskerItem item, Comparable rowKey,
            Comparable columnKey); void remove(Comparable rowKey, Comparable columnKey); void removeRow(int rowIndex); void removeRow(Comparable rowKey); void removeColumn(int columnIndex); void removeColumn(Comparable columnKey); void clear(); BoxAndWhiskerItem getItem(int row, int column); @Override Number getValue(int row, int column); @Override Number getValue(Comparable rowKey, Comparable columnKey); @Override Number getMeanValue(int row, int column); @Override Number getMeanValue(Comparable rowKey, Comparable columnKey); @Override Number getMedianValue(int row, int column); @Override Number getMedianValue(Comparable rowKey, Comparable columnKey); @Override Number getQ1Value(int row, int column); @Override Number getQ1Value(Comparable rowKey, Comparable columnKey); @Override Number getQ3Value(int row, int column); @Override Number getQ3Value(Comparable rowKey, Comparable columnKey); @Override int getColumnIndex(Comparable key); @Override Comparable getColumnKey(int column); @Override List<Comparable> getColumnKeys(); @Override int getRowIndex(Comparable key); @Override Comparable getRowKey(int row); @Override List<Comparable> getRowKeys(); @Override int getRowCount(); @Override int getColumnCount(); @Override double getRangeLowerBound(boolean includeInterval); @Override double getRangeUpperBound(boolean includeInterval); @Override Range getRangeBounds(boolean includeInterval); @Override Number getMinRegularValue(int row, int column); @Override Number getMinRegularValue(Comparable rowKey, Comparable columnKey); @Override Number getMaxRegularValue(int row, int column); @Override Number getMaxRegularValue(Comparable rowKey, Comparable columnKey); @Override Number getMinOutlier(int row, int column); @Override Number getMinOutlier(Comparable rowKey, Comparable columnKey); @Override Number getMaxOutlier(int row, int column); @Override Number getMaxOutlier(Comparable rowKey, Comparable columnKey); @Override List<Number> getOutliers(int row, int column); @Override List<Number> getOutliers(Comparable rowKey, Comparable columnKey); @Override boolean equals(Object obj); @Override Object clone();  }