void
|
clear()
Clears all data from this dataset and sends a DatasetChangeEvent
to all registered listeners (unless the dataset was already empty).
|
Object
|
clone()
Returns a clone of the dataset.
|
boolean
|
equals(Object obj)
Tests if this object is equal to another.
|
int
|
getIndex(Comparable key)
Returns the index for a key, or -1 if the key is not recognised.
|
int
|
getItemCount()
Returns the number of items in the dataset.
|
Comparable
|
getKey(int item)
Returns the key for the specified item, or null .
|
List
|
getKeys()
Returns the categories in the dataset.
|
Number
|
getValue(int item)
Returns a value.
|
Number
|
getValue(Comparable key)
Returns the data value associated with a key.
|
int
|
hashCode()
Returns a hash code.
|
void
|
insertValue(int position, Comparable key, double value)
Inserts a new value at the specified position in the dataset or, if
there is an existing item with the specified key, updates the value
for that item and moves it to the specified position.
|
void
|
insertValue(int position, Comparable key, Number value)
Inserts a new value at the specified position in the dataset or, if
there is an existing item with the specified key, updates the value
for that item and moves it to the specified position.
|
void
|
remove(Comparable key)
Removes an item from the dataset and sends a DatasetChangeEvent
to all registered listeners.
|
void
|
setValue(Comparable key, double value)
|
void
|
setValue(Comparable key, Number value)
|
void
|
sortByKeys(SortOrder order)
Sorts the dataset's items by key and sends a DatasetChangeEvent
to all registered listeners.
|
void
|
sortByValues(SortOrder order)
Sorts the dataset's items by value and sends a DatasetChangeEvent
to all registered listeners.
|