|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.data.KeyedObject
A (key, object) pair.
| Constructor Summary | |
KeyedObject(java.lang.Comparable key,
java.lang.Object object)
Creates a new (key, object) pair. |
|
| Method Summary | |
java.lang.Object |
clone()
Returns a clone of this object. |
boolean |
equals(java.lang.Object object)
Tests if this object is equal to another. |
java.lang.Comparable |
getKey()
Returns the key. |
java.lang.Object |
getObject()
Returns the object. |
void |
setObject(java.lang.Object object)
Sets the object. |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public KeyedObject(java.lang.Comparable key,
java.lang.Object object)
key - the key.object - the object (null permitted).| Method Detail |
public java.lang.Comparable getKey()
public java.lang.Object getObject()
null).public void setObject(java.lang.Object object)
object - the object (null permitted).
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
PublicCloneable, otherwise a shallow clone is made.
clone in interface org.jfree.util.PublicCloneablejava.lang.CloneNotSupportedException - if there is a problem cloning.public boolean equals(java.lang.Object object)
object - the other object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||