| org.jfree.data.Values
Values | public interface Values (Code) | | An interface through which (single-dimension) data values can be accessed.
|
Method Summary | |
public int | getItemCount() Returns the number of items (values) in the collection. | public Number | getValue(int index) Returns the value with the specified index.
Parameters: index - the item index (in the range 0 to getItemCount() - 1 ). |
getItemCount | public int getItemCount()(Code) | | Returns the number of items (values) in the collection.
The item count (possibly zero). |
getValue | public Number getValue(int index)(Code) | | Returns the value with the specified index.
Parameters: index - the item index (in the range 0 to getItemCount() - 1 ). The value (possibly null ). throws: IndexOutOfBoundsException - if index is not in the specified range. |
|
|