Schnittstelle MultiSearchable<E>
- Typparameter:
E- is the type of the elements aMultiSearchable.
- Alle bekannten Unterschnittstellen:
IArrayList<E>,ICachingContainer<E>,IContainer<E>,ILinkedList<E>,IMatrix<E>,ISqlRecord
- Alle bekannten Implementierungsklassen:
ArrayList,ArrayView,CachingContainer,Container,ContainerView,ContainerView,FilterContainerView,ImmutableList,IterableView,LinkedList,Matrix,MatrixColumn,MatrixRow,MultiContainerView,SqlRecord
public interface MultiSearchable<E>
- Version:
- 2024-11-12
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungIContainer<? extends IContainer<E>> getStoredInGroups(Function<E, ?> norm) <E2 extends E>
IContainer<E2> getStoredOfType(Class<E2> type) getStoredOthers(Predicate<E> selector) getStoredSelected(Predicate<? super E> selector)
-
Methodendetails
-
getStoredInGroups
- Parameter:
norm-- Gibt zurück:
- a new
IContainerwith the elements of the currentMultiSearchablegrouped by the given norm. Ignores null elements. - Löst aus:
RuntimeException- if the given norm is null.
-
getStoredOfType
- Typparameter:
E2- is the type of the elements of the returnedSingleSearchable.- Parameter:
type-- Gibt zurück:
- a new
IContainerwith the elements from the currentMultiSearchablethat are of the given type. - Löst aus:
RuntimeException- if the given type is null.
-
getStoredOthers
- Parameter:
selector-- Gibt zurück:
- a new
IContainerwith the elements from the currentMultiSearchablethe given selector skips. Ignores null elements. - Löst aus:
RuntimeException- if the given selector is null.
-
getStoredSelected
- Parameter:
selector-- Gibt zurück:
- a new
IContainerwith the elements the given selector selects from the currentMultiSearchable. Ignores null elements. - Löst aus:
RuntimeException- if the given selector is null.
-