org.jfree.data.statistics

Interface StatisticalCategoryDataset

All Superinterfaces:
CategoryDataset, Dataset, KeyedValues2D, Values2D
Known Implementing Classes:
DefaultStatisticalCategoryDataset

public interface StatisticalCategoryDataset
extends CategoryDataset

A category dataset that defines a median and standard deviation value for each item.

Method Summary

Number
getMeanValue(Comparable rowKey, Comparable columnKey)
Returns the mean value for an item.
Number
getMeanValue(int row, int column)
Returns the mean value for an item.
Number
getStdDevValue(Comparable rowKey, Comparable columnKey)
Returns the standard deviation value for an item.
Number
getStdDevValue(int row, int column)
Returns the standard deviation value for an item.

Methods inherited from interface org.jfree.data.general.Dataset

addChangeListener, getGroup, removeChangeListener, setGroup

Methods inherited from interface org.jfree.data.KeyedValues2D

getColumnIndex, getColumnKey, getColumnKeys, getRowIndex, getRowKey, getRowKeys, getValue

Methods inherited from interface org.jfree.data.Values2D

getColumnCount, getRowCount, getValue

Method Details

getMeanValue

public Number getMeanValue(Comparable rowKey,
                           Comparable columnKey)
Returns the mean value for an item.
Parameters:
rowKey - the row key.
columnKey - the columnKey.
Returns:
The mean value.

getMeanValue

public Number getMeanValue(int row,
                           int column)
Returns the mean value for an item.
Parameters:
row - the row index (zero-based).
column - the column index (zero-based).
Returns:
The mean value.

getStdDevValue

public Number getStdDevValue(Comparable rowKey,
                             Comparable columnKey)
Returns the standard deviation value for an item.
Parameters:
rowKey - the row key.
columnKey - the columnKey.
Returns:
The standard deviation.

getStdDevValue

public Number getStdDevValue(int row,
                             int column)
Returns the standard deviation value for an item.
Parameters:
row - the row index (zero-based).
column - the column index (zero-based).
Returns:
The standard deviation.