Schnittstelle CountRequestable<E>
- Typparameter:
E- is the type of the elements aCountRequestable.
- Alle bekannten Unterschnittstellen:
IArrayList<E>,ICachingContainer<E>,IContainer<E>,ILinkedList<E>,IMatrix<E>,ISqlRecord
- Alle bekannten Implementierungsklassen:
AbstractContainer,AbstractExtendedContainer,ArrayContainerView,ArrayList,CachingContainer,ContainerView,FilterContainerView,ImmutableList,IntervallContainerView,IterableContainerView,LinkedList,MappingContainerView,Matrix,MatrixColumn,MatrixRow,MultiContainerView,SqlRecord
public interface CountRequestable<E>
- Version:
- 2024-11-26
- Autor:
- Silvan Wyss
-
Methodenübersicht
-
Methodendetails
-
getCount
int getCount()- Gibt zurück:
- the number of elements of the current
CountRequestable.
-
getCount
- Parameter:
selector-- Gibt zurück:
- the number of elements the given selector selects from the current
CountRequestable. Ignores null elements. - Löst aus:
RuntimeException- if the given selector is null.
-
getCountOf
- Parameter:
element-- Gibt zurück:
- the number how many times the current
CountRequestablecontains the given element.
-