Module org.jfree.chart
Package org.jfree.data.statistics
Interface MultiValueCategoryDataset<R extends Comparable<R>,C extends Comparable<C>>
-
- All Superinterfaces:
CategoryDataset<R,C>,Dataset,KeyedValues2D<R,C>,Values2D
- All Known Implementing Classes:
DefaultMultiValueCategoryDataset
public interface MultiValueCategoryDataset<R extends Comparable<R>,C extends Comparable<C>> extends CategoryDataset<R,C>
A category dataset that defines multiple values for each item.- Since:
- 1.0.7
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<? extends Number>getValues(int row, int column)Returns a list (possibly empty) of the values for the specified item.List<? extends Number>getValues(R rowKey, C columnKey)Returns a list (possibly empty) of the values for the specified item.-
Methods inherited from interface org.jfree.data.general.Dataset
addChangeListener, removeChangeListener
-
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 Detail
-
getValues
List<? extends Number> getValues(int row, int column)
Returns a list (possibly empty) of the values for the specified item. The returned list should be unmodifiable.- Parameters:
row- the row index (zero-based).column- the column index (zero-based).- Returns:
- The list of values.
-
getValues
List<? extends Number> getValues(R rowKey, C columnKey)
Returns a list (possibly empty) of the values for the specified item. The returned list should be unmodifiable.- Parameters:
rowKey- the row key (nullnot permitted).columnKey- the column key (nullnot permitted).- Returns:
- The list of values.
-
-