Example usage for Java org.jfree.data DefaultKeyedValues2D fields, constructors, methods, implement or subclass
The text is from its open source code.
DefaultKeyedValues2D() Creates a new instance (initially empty). | |
DefaultKeyedValues2D(boolean sortRowKeys) Creates a new instance (initially empty). |
void | addValue(Number value, Comparable rowKey, Comparable columnKey) Adds a value to the table. |
Object | clone() Returns a clone. |
boolean | equals(Object o) Tests if this object is equal to another. |
Class> | getClass() Returns the runtime class of this Object . |
int | getColumnCount() Returns the column count. |
Comparable | getColumnKey(int column) Returns the key for a given column. |
int | getRowCount() Returns the row count. |
Comparable | getRowKey(int row) Returns the key for a given row. |
Number | getValue(int row, int column) Returns the value for a given row and column. |
Number | getValue(Comparable rowKey, Comparable columnKey) Returns the value for the given row and column keys. |
void | removeColumn(int columnIndex) Removes a column. |
void | removeColumn(Comparable columnKey) Removes a column from the table. |
void | removeRow(int rowIndex) Removes a row. |
void | removeRow(Comparable rowKey) Removes a row from the table. |
void | removeValue(Comparable rowKey, Comparable columnKey) Removes a value from the table by setting it to null . |
void | setValue(Number value, Comparable rowKey, Comparable columnKey) Adds or updates a value. |