java.lang.Object | ||
↳ | org.jfree.data.general.AbstractDataset | |
↳ | org.jfree.data.general.DefaultValueDataset |
A dataset that stores a single value (that is possibly null
).
This class provides a default implementation of the ValueDataset
interface.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new dataset, initially empty.
| |||||||||||
Creates a new dataset with the specified value.
| |||||||||||
Creates a new dataset with the specified value.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Tests this dataset for equality with an arbitrary object.
| |||||||||||
Returns the value.
| |||||||||||
Returns a hash code.
| |||||||||||
Sets the value and sends a
DatasetChangeEvent to all registered
listeners. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Constructs a new dataset, initially empty.
Creates a new dataset with the specified value.
value | the value. |
---|
Creates a new dataset with the specified value.
value | the initial value (null permitted).
|
---|
Tests this dataset for equality with an arbitrary object.
obj | the object (null permitted). |
---|
Returns a hash code.
Sets the value and sends a DatasetChangeEvent
to all registered
listeners.
value | the new value (null permitted).
|
---|