Package de.espirit.or
Interface EntityList
A list containing 
Entity instances. This list also offers the option to get the KeyValue of an
 element at a specific index.- Since:
- 4.0.17
- 
Method SummaryModifier and TypeMethodDescriptionGet the current language applied to the select for this list, if available.getKeyValue(int index) Returns theKeyValueof the element at the specified position in this list.intReturn the index of the entity in the list with the givenidor-1if there is no such entity in the list.Methods inherited from interface java.util.CollectionparallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Listadd, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
- 
Method Details- 
indexOfIdReturn the index of the entity in the list with the givenidor-1if there is no such entity in the list. This method is faster than iterating through the elements of the list.- Parameters:
- id- the key value to look for.
- Returns:
- -1 or the index of the entity with the given id.
- Since:
- 4.0.17
 
- 
getKeyValueReturns theKeyValueof the element at the specified position in this list.- Parameters:
- index- index of the element to return
- Returns:
- KeyValueof the element at the specified position in this list
- Throws:
- IndexOutOfBoundsException- if the index is out of range (- index < 0 || index >=)- List.size()
- Since:
- 4.0.17
 
- 
getAppliedLanguageGet the current language applied to the select for this list, if available.- Returns:
- The language abbreviation if available.
- Since:
- 5.2.250604
 
 
-