/** * Returns the first quartile value. * * @param rowKey the row key. * @param columnKey the column key. * @return The first quartile value. * @see #getItem(int, int) */ public Number getQ1Value(Comparable rowKey, Comparable columnKey) { Number result = null; BoxAndWhiskerItem item = (BoxAndWhiskerItem) this.data.getObject(rowKey, columnKey); if (item != null) { result = item.getQ1(); } return result; }
/** * Returns the Q1 median-value for the specified series and item. * * @param series the series (zero-based index). * @param item the item (zero-based index). * @return The Q1 median-value for the specified series and item. */ public Number getQ1Value(int series, int item) { Number result = null; BoxAndWhiskerItem stats = (BoxAndWhiskerItem) this.items.get(item); if (stats != null) { result = stats.getQ1(); } return result; }
/** * Returns the first quartile value. * * @param row the row index (zero-based). * @param column the column index (zero-based). * @return The first quartile value. * @see #getItem(int, int) */ public Number getQ1Value(int row, int column) { Number result = null; BoxAndWhiskerItem item = (BoxAndWhiskerItem) this.data.getObject(row, column); if (item != null) { result = item.getQ1(); } return result; }