Schnittstelle CountRequestable<E>
- Typparameter:
E- is the type of the elements aCountRequestable.
- Alle bekannten Unterschnittstellen:
IArrayList<E>, IContainer<E>, ILinkedList<E>, IMatrix<E>, ISqlRecord
- Alle bekannten Implementierungsklassen:
AbstractContainer, AbstractExtendedContainer, ArrayContainerView, ArrayList, ContainerView, FilterContainerView, ImmutableList, IntervallContainerView, IterableContainerView, LinkedList, MappingContainerView, Matrix, MatrixColumn, MatrixRow, MultiContainerView, SingleContainer, SqlRecord
public interface CountRequestable<E>
- 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.
-