Java org.jfree.data KeyedObjects fields, constructors, methods, implement or subclass

Example usage for Java org.jfree.data KeyedObjects fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jfree.data KeyedObjects.

The text is from its open source code.

Constructor

KeyedObjects()
Creates a new collection (initially empty).

Method

voidaddObject(Comparable key, Object object)
Adds a new object to the collection, or overwrites an existing object.
Objectclone()
Returns a clone of this object.
booleanequals(Object obj)
Tests this object for equality with an arbitrary object.
ClassgetClass()
Returns the runtime class of this Object .
intgetIndex(Comparable key)
Returns the index for a given key, or -1.
intgetItemCount()
Returns the number of items (values) in the collection.
ComparablegetKey(int index)
Returns the key at the specified position in the list.
ObjectgetObject(int item)
Returns an object from the list.
ObjectgetObject(Comparable key)
Returns the object for a given key.
voidremoveValue(int index)
Removes a value from the collection.
voidremoveValue(Comparable key)
Removes a value from the collection.
voidsetObject(Comparable key, Object object)
Replaces an existing object, or adds a new object to the collection.