public interface

Values2D

org.jfree.data.Values2D
Known Indirect Subclasses

Class Overview

A general purpose interface that can be used to access a table of values.

Summary

Public Methods
abstract int getColumnCount()
Returns the number of columns in the table.
abstract int getRowCount()
Returns the number of rows in the table.
abstract Number getValue(int row, int column)
Returns a value from the table.

Public Methods

public abstract int getColumnCount ()

Returns the number of columns in the table.

Returns
  • The column count.

public abstract int getRowCount ()

Returns the number of rows in the table.

Returns
  • The row count.

public abstract Number getValue (int row, int column)

Returns a value from the table.

Parameters
row the row index (zero-based).
column the column index (zero-based).
Returns
  • The value (possibly null).
Throws
IndexOutOfBoundsException if the row or column is out of bounds.