List of usage examples for org.jfree.data.statistics MeanAndStandardDeviation getMean
public Number getMean()
From source file:org.jfree.data.statistics.DefaultStatisticalCategoryDataset.java
/** * Returns the mean value for an item.//from ww w. ja v a 2 s . c o m * * @param row the row index (zero-based). * @param column the column index (zero-based). * * @return The mean value (possibly <code>null</code>). */ @Override public Number getMeanValue(int row, int column) { Number result = null; MeanAndStandardDeviation masd = (MeanAndStandardDeviation) this.data.getObject(row, column); if (masd != null) { result = masd.getMean(); } return result; }
From source file:org.jfree.data.statistics.DefaultStatisticalCategoryDataset.java
/** * Returns the mean value for an item./*from ww w. j av a 2 s .c o m*/ * * @param rowKey the row key. * @param columnKey the columnKey. * * @return The mean value (possibly <code>null</code>). */ @Override public Number getMeanValue(Comparable rowKey, Comparable columnKey) { Number result = null; MeanAndStandardDeviation masd = (MeanAndStandardDeviation) this.data.getObject(rowKey, columnKey); if (masd != null) { result = masd.getMean(); } return result; }