org.jfree.data
public class KeyedObject extends Object implements Cloneable, PublicCloneable, Serializable
| Constructor Summary | |
|---|---|
| KeyedObject(Comparable key, Object object)
Creates a new (key, object) pair.
| |
| Method Summary | |
|---|---|
| Object | clone()
Returns a clone of this object. |
| boolean | equals(Object obj)
Tests if this object is equal to another.
|
| Comparable | getKey()
Returns the key.
|
| Object | getObject()
Returns the object.
|
| void | setObject(Object object)
Sets the object.
|
Parameters: key the key. object the object (null permitted).
Returns: A clone.
Throws: CloneNotSupportedException if there is a problem cloning.
Parameters: obj the other object.
Returns: A boolean.
Returns: The key.
Returns: The object (possibly null).
Parameters: object the object (null permitted).