public interface

Values

org.jfree.data.Values
Known Indirect Subclasses

Class Overview

An interface through which (single-dimension) data values can be accessed.

Summary

Public Methods
abstract int getItemCount()
Returns the number of items (values) in the collection.
abstract Number getValue(int index)
Returns the value with the specified index.

Public Methods

public abstract int getItemCount ()

Returns the number of items (values) in the collection.

Returns
  • The item count (possibly zero).

public abstract Number getValue (int index)

Returns the value with the specified index.

Parameters
index the item index (in the range 0 to getItemCount() - 1).
Returns
  • The value (possibly null).
Throws
IndexOutOfBoundsException if index is not in the specified range.