|
||||||||||
| 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(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. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KeyedObject(Comparable key,
Object object)
key - the key.object - the object (null permitted).| Method Detail |
|---|
public Comparable getKey()
public Object getObject()
null).public void setObject(Object object)
object - the object (null permitted).
public Object clone()
throws CloneNotSupportedException
PublicCloneable, otherwise a shallow clone is
made.
clone in interface org.jfree.util.PublicCloneableclone in class ObjectCloneNotSupportedException - if there is a problem cloning.public boolean equals(Object obj)
equals in class Objectobj - the other object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||