| java.lang.Object org.jfree.data.KeyedObject
KeyedObject | public KeyedObject(Comparable key, Object object)(Code) | | Creates a new (key, object) pair.
Parameters: key - the key. Parameters: object - the object (null permitted). |
clone | public Object clone() throws CloneNotSupportedException(Code) | | Returns a clone of this object. It is assumed that the key is an
immutable object, so it is not deep-cloned. The object is deep-cloned
if it implements
PublicCloneable , otherwise a shallow clone is
made.
A clone. throws: CloneNotSupportedException - if there is a problem cloning. |
equals | public boolean equals(Object obj)(Code) | | Tests if this object is equal to another.
Parameters: obj - the other object. A boolean. |
getObject | public Object getObject()(Code) | | Returns the object.
The object (possibly null ). |
setObject | public void setObject(Object object)(Code) | | Sets the object.
Parameters: object - the object (null permitted). |
|
|