java.lang.Object | ||
↳ | org.jfree.data.general.AbstractDataset | |
↳ | org.jfree.data.general.DefaultKeyedValueDataset |
A default implementation of the KeyedValueDataset
interface.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new dataset, initially empty.
| |||||||||||
Creates a new dataset with the specified initial value.
| |||||||||||
Creates a new dataset that uses the data from a
KeyedValue
instance. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a clone of the dataset.
| |||||||||||
Tests this dataset for equality with an arbitrary object.
| |||||||||||
Returns the key associated with the value, or
null if the
dataset has no data item. | |||||||||||
Returns the value.
| |||||||||||
Returns a hash code.
| |||||||||||
Sets the value for the dataset and sends a
DatasetChangeEvent to
all registered listeners. | |||||||||||
Updates the value.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Constructs a new dataset, initially empty.
Creates a new dataset with the specified initial value.
key | the key. |
---|---|
value | the value (null permitted).
|
Creates a new dataset that uses the data from a KeyedValue
instance.
data | the data (null permitted).
|
---|
Creates a clone of the dataset.
CloneNotSupportedException | This class will not throw this exception, but subclasses (if any) might. |
---|
Tests this dataset for equality with an arbitrary object.
obj | the object (null permitted). |
---|
Returns the key associated with the value, or null
if the
dataset has no data item.
Returns a hash code.
Sets the value for the dataset and sends a DatasetChangeEvent
to
all registered listeners.
key | the key. |
---|---|
value | the value (null permitted).
|
Updates the value.
value | the new value (null permitted).
|
---|