org.jfree.data.statistics
public class DefaultStatisticalCategoryDataset extends AbstractDataset implements StatisticalCategoryDataset, RangeInfo, PublicCloneable
Constructor Summary | |
---|---|
DefaultStatisticalCategoryDataset()
Creates a new dataset. |
Method Summary | |
---|---|
void | add(double mean, double standardDeviation, Comparable rowKey, Comparable columnKey)
Adds a mean and standard deviation to the table.
|
void | add(Number mean, Number standardDeviation, Comparable rowKey, Comparable columnKey)
Adds a mean and standard deviation to the table.
|
void | clear()
Clears all data from the dataset and sends a DatasetChangeEvent
to all registered listeners.
|
Object | clone()
Returns a clone of this dataset.
|
boolean | equals(Object obj)
Tests this instance for equality with an arbitrary object.
|
int | getColumnCount()
Returns the number of columns in the table.
|
int | getColumnIndex(Comparable key)
Returns the column index for a given key.
|
Comparable | getColumnKey(int column)
Returns a column key.
|
List | getColumnKeys()
Returns the column keys.
|
Number | getMeanValue(int row, int column)
Returns the mean value for an item.
|
Number | getMeanValue(Comparable rowKey, Comparable columnKey)
Returns the mean value for an item.
|
Range | getRangeBounds(boolean includeInterval)
Returns the range of the values in this dataset's range.
|
double | getRangeLowerBound(boolean includeInterval)
Returns the minimum y-value in the dataset.
|
double | getRangeUpperBound(boolean includeInterval)
Returns the maximum y-value in the dataset.
|
int | getRowCount()
Returns the number of rows in the table.
|
int | getRowIndex(Comparable key)
Returns the row index for a given key.
|
Comparable | getRowKey(int row)
Returns a row key.
|
List | getRowKeys()
Returns the row keys.
|
Number | getStdDevValue(int row, int column)
Returns the standard deviation value for an item.
|
Number | getStdDevValue(Comparable rowKey, Comparable columnKey)
Returns the standard deviation value for an item.
|
Number | getValue(int row, int column)
Returns the value for an item (for this dataset, the mean value is
returned).
|
Number | getValue(Comparable rowKey, Comparable columnKey)
Returns the value for an item (for this dataset, the mean value is
returned).
|
void | remove(Comparable rowKey, Comparable columnKey)
Removes an item from the dataset and sends a DatasetChangeEvent
to all registered listeners.
|
void | removeColumn(int columnIndex)
Removes a column from the dataset and sends a DatasetChangeEvent
to all registered listeners.
|
void | removeColumn(Comparable columnKey)
Removes a column from the dataset and sends a DatasetChangeEvent
to all registered listeners.
|
void | removeRow(int rowIndex)
Removes a row from the dataset and sends a DatasetChangeEvent
to all registered listeners.
|
void | removeRow(Comparable rowKey)
Removes a row from the dataset and sends a DatasetChangeEvent
to all registered listeners.
|
Parameters: mean the mean. standardDeviation the standard deviation. rowKey the row key. columnKey the column key.
Parameters: mean the mean. standardDeviation the standard deviation. rowKey the row key. columnKey the column key.
Since: 1.0.7
Returns: A clone of this dataset.
Throws: CloneNotSupportedException if cloning cannot be completed.
Parameters: obj the object (null
permitted).
Returns: A boolean.
Returns: The column count.
See Also: getRowCount
Parameters: key the column key (null
not permitted).
Returns: The column index.
Parameters: column the column index (zero-based).
Returns: The column key.
Returns: The keys.
Parameters: row the row index (zero-based). column the column index (zero-based).
Returns: The mean value (possibly null
).
Parameters: rowKey the row key. columnKey the columnKey.
Returns: The mean value (possibly null
).
Parameters: includeInterval a flag that determines whether or not the y-interval is taken into account.
Returns: The range.
Parameters: includeInterval a flag that determines whether or not the y-interval is taken into account.
Returns: The minimum value.
See Also: DefaultStatisticalCategoryDataset
Parameters: includeInterval a flag that determines whether or not the y-interval is taken into account.
Returns: The maximum value.
See Also: DefaultStatisticalCategoryDataset
Returns: The row count.
See Also: getColumnCount
Parameters: key the row key (null
not permitted).
Returns: The row index.
Parameters: row the row index (zero-based).
Returns: The row key.
Returns: The keys.
Parameters: row the row index (zero-based). column the column index (zero-based).
Returns: The standard deviation (possibly null
).
Parameters: rowKey the row key. columnKey the columnKey.
Returns: The standard deviation (possibly null
).
Parameters: row the row index. column the column index.
Returns: The value (possibly null
).
Parameters: rowKey the row key. columnKey the columnKey.
Returns: The value (possibly null
).
Parameters: rowKey the row key (null
not permitted). columnKey the column key (null
not permitted).
Since: 1.0.7
Parameters: columnIndex the column index.
Since: 1.0.7
Parameters: columnKey the column key (null
not permitted).
Since: 1.0.7
Parameters: rowIndex the row index.
Since: 1.0.7
Parameters: rowKey the row key (null
not permitted).
Since: 1.0.7