Schnittstelle Filterable<E>

Typparameter:
E - is the type of the elements a Filterable.
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 Filterable<E>
Version:
2025-05-30
Autor:
Silvan Wyss
  • Methodendetails

    • getStoredOfType

      <E2 extends E> IContainer<E2> getStoredOfType(Class<E2> type)
      Typparameter:
      E2 - is the type of the elements of the returned IContainer.
      Parameter:
      type -
      Gibt zurück:
      a new IContainer with the elements from the current Filterable that are of the given type. Ignores null elements.
      Löst aus:
      RuntimeException - if the given type is null.
    • getStoredOthers

      IContainer<E> getStoredOthers(Predicate<E> selector)
      Parameter:
      selector -
      Gibt zurück:
      a new IContainer with the elements from the current Filterable the given selector skips. Ignores null elements.
      Löst aus:
      RuntimeException - if the given selector is null.
    • getStoredSelected

      IContainer<E> getStoredSelected(Predicate<? super E> selector)
      Parameter:
      selector -
      Gibt zurück:
      a new IContainer with the elements the given selector selects from the current Filterable. Ignores null elements.
      Löst aus:
      RuntimeException - if the given selector is null.