org.jfree.data
Interface Values
- KeyedValues, KeyedValuesDataset, PieDataset
- CategoryToPieDataset, DefaultKeyedValues, DefaultKeyedValuesDataset, DefaultPieDataset, JDBCPieDataset
An interface through which (single-dimension) data values can be accessed.
int | getItemCount() - Returns the number of items (values) in the collection.
|
Number | getValue(int index) - Returns the value with the specified index.
|
getItemCount
public int getItemCount()
Returns the number of items (values) in the collection.
- The item count (possibly zero).
getValue
public Number getValue(int index)
Returns the value with the specified index.
index
- the item index (in the range 0
to
getItemCount() - 1
).
- The value (possibly
null
).