| java.lang.Object org.jfree.data.DefaultKeyedValues2D
DefaultKeyedValues2D | public class DefaultKeyedValues2D implements KeyedValues2D,PublicCloneable,Cloneable,Serializable(Code) | | A data structure that stores zero, one or many values, where each value
is associated with two keys (a 'row' key and a 'column' key). The keys
should be (a) instances of
Comparable and (b) immutable.
|
DefaultKeyedValues2D | public DefaultKeyedValues2D()(Code) | | Creates a new instance (initially empty).
|
DefaultKeyedValues2D | public DefaultKeyedValues2D(boolean sortRowKeys)(Code) | | Creates a new instance (initially empty).
Parameters: sortRowKeys - if the row keys should be sorted. |
clear | public void clear()(Code) | | Clears all the data and associated keys.
|
equals | public boolean equals(Object o)(Code) | | Tests if this object is equal to another.
Parameters: o - the other object (null permitted). A boolean. |
hashCode | public int hashCode()(Code) | | Returns a hash code.
A hash code. |
removeValue | public void removeValue(Comparable rowKey, Comparable columnKey)(Code) | | Removes a value from the table by setting it to null . If
all the values in the specified row and/or column are now
null , the row and/or column is removed from the table.
Parameters: rowKey - the row key (null not permitted). Parameters: columnKey - the column key (null not permitted). See Also: DefaultKeyedValues2D.addValue(Number,Comparable,Comparable) |
|
|