Schnittstelle CountRequestable<E>

Typparameter:
E - is the type of the elements a CountRequestable.
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
  • Methodendetails

    • getCount

      int getCount()
      Gibt zurück:
      the number of elements of the current CountRequestable.
    • getCount

      int getCount(Predicate<E> selector)
      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

      int getCountOf(Object element)
      Parameter:
      element -
      Gibt zurück:
      the number how many times the current CountRequestable contains the given element.