| java.lang.Object | |
| ↳ | org.jfree.data.DefaultKeyedValue |
A (key, value) pair. This class provides a default implementation
of the KeyedValue interface.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new (key, value) item.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns a clone.
| |||||||||||
Tests this key-value pair for equality with an arbitrary object.
| |||||||||||
Returns the key.
| |||||||||||
Returns the value.
| |||||||||||
Returns a hash code.
| |||||||||||
Sets the value.
| |||||||||||
Returns a string representing this instance, primarily useful for
debugging.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.jfree.data.KeyedValue
| |||||||||||
From interface
org.jfree.data.Value
| |||||||||||
Creates a new (key, value) item.
| key | the key (should be immutable, null not
permitted). |
|---|---|
| value | the value (null permitted).
|
Returns a clone. It is assumed that both the key and value are immutable objects, so only the references are cloned, not the objects themselves.
| CloneNotSupportedException | Not thrown by this class, but subclasses (if any) might. |
|---|
Tests this key-value pair for equality with an arbitrary object.
| obj | the object (null permitted). |
|---|
Returns a hash code.
Sets the value.
| value | the value (null permitted).
|
|---|
Returns a string representing this instance, primarily useful for debugging.