Modifier and Type | Method and Description |
---|---|
KeyValue |
getKeyValue(int index)
Returns the
KeyValue of the element at the specified position in this list. |
int |
indexOfId(KeyValue id)
Return the index of the entity in the list with the given
id or -1 if there is no such entity in
the list. |
int indexOfId(KeyValue id)
id
or -1
if there is no such entity in
the list. This method is faster then iterating through the elements of the list.id
- the key value to look for.id
.KeyValue getKeyValue(int index)
KeyValue
of the element at the specified position in this list.index
- index of the element to returnKeyValue
of the the element at the specified position in this listIndexOutOfBoundsException
- if the index is out of range (index < 0 || index >= List.size()
)Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500