Example usage for Java org.jfree.data KeyedObjects fields, constructors, methods, implement or subclass
The text is from its open source code.
KeyedObjects() Creates a new collection (initially empty). |
void | addObject(Comparable key, Object object) Adds a new object to the collection, or overwrites an existing object. |
Object | clone() Returns a clone of this object. |
boolean | equals(Object obj) Tests this object for equality with an arbitrary object. |
Class> | getClass() Returns the runtime class of this Object . |
int | getIndex(Comparable key) Returns the index for a given key, or -1 . |
int | getItemCount() Returns the number of items (values) in the collection. |
Comparable | getKey(int index) Returns the key at the specified position in the list. |
Object | getObject(int item) Returns an object from the list. |
Object | getObject(Comparable key) Returns the object for a given key. |
void | removeValue(int index) Removes a value from the collection. |
void | removeValue(Comparable key) Removes a value from the collection. |
void | setObject(Comparable key, Object object) Replaces an existing object, or adds a new object to the collection. |