|
Header
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.data.KeyedObject
public class 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 obj)
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.PublicCloneable
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- if there is a problem cloning.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the other object.
|
Footer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |