Package org.jfree.data
Interface Values
- All Known Subinterfaces:
KeyedValues,KeyedValuesDataset,PieDataset
- All Known Implementing Classes:
CategoryToPieDataset,DefaultKeyedValues,DefaultKeyedValuesDataset,DefaultPieDataset,JDBCPieDataset
public interface Values
An interface through which (single-dimension) data values can be accessed.
-
Method Summary
Modifier and Type Method Description intgetItemCount()Returns the number of items (values) in the collection.NumbergetValue(int item)Returns a value.
-
Method Details
-
getItemCount
int getItemCount()Returns the number of items (values) in the collection.- Returns:
- the item count.
-
getValue
Returns a value.- Parameters:
item- the item of interest (zero-based index).- Returns:
- the value.
-