|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A collection of values where each value is associated with a key.
Values,
DefaultKeyedValues| Method Summary | |
int |
getIndex(java.lang.Comparable key)
Returns the index for a given key. |
java.lang.Comparable |
getKey(int index)
Returns the key associated with an item (value). |
java.util.List |
getKeys()
Returns the keys for the values in the collection. |
java.lang.Number |
getValue(java.lang.Comparable key)
Returns the value (possibly null) for a given key. |
| Methods inherited from interface org.jfree.data.Values |
getItemCount, getValue |
| Method Detail |
public java.lang.Comparable getKey(int index)
index - the item index (zero-based).
public int getIndex(java.lang.Comparable key)
key - the key.
public java.util.List getKeys()
null).public java.lang.Number getValue(java.lang.Comparable key)
null) for a given key.
If the key is not recognised, the method should return null.
key - the key.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||