public interface KeyedValues<T> extends Values<T>
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex(java.lang.Comparable<?> key)
Returns the index for the specified key, or
-1 if the key
is not present in the list. |
java.lang.Comparable<?> |
getKey(int index)
Returns the key for the specified item in the list.
|
java.util.List<java.lang.Comparable<?>> |
getKeys()
Returns a list of all the keys.
|
T |
getValue(java.lang.Comparable<?> key)
Returns the value associated with the specified key, or
null. |
getDoubleValue, getItemCount, getValuejava.lang.Comparable<?> getKey(int index)
index - the item index.int getIndex(java.lang.Comparable<?> key)
-1 if the key
is not present in the list.key - the key (null not permitted).-1.java.util.List<java.lang.Comparable<?>> getKeys()
null).