Interface StoringRequestable<E>

Type Parameters:
E - is the type of the elements a StoringRequestable.
All Known Subinterfaces:
IArrayList<E>, IContainer<E>, ILinkedList<E>, IMatrix<E>, IMatrixColumn<E>, IMatrixRow<E>, ISqlRecord
All Known Implementing Classes:
AbstractContainer, AbstractExtendedContainer, ArrayContainerView, ArrayList, ContainerView, FilterContainerView, ImmutableList, IntervallContainerView, IterableContainerView, LinkedList, MappingContainerView, Matrix, MatrixColumn, MatrixRow, MultiContainerView, SingleContainer, SqlRecord

public interface StoringRequestable<E>
Author:
Silvan Wyss
  • Method Details

    • contains

      boolean contains(Object object)
      Parameters:
      object -
      Returns:
      true if the current StoringRequestable contains the given object, false otherwise.
    • containsAllOf

      boolean containsAllOf(Iterable<?> objects)
      Parameters:
      objects -
      Returns:
      true if the current StoringRequestable contains all of the given objects, false otherwise.
      Throws:
      RuntimeException - if the given objects is null.
    • containsAllOf

      boolean containsAllOf(Object... objects)
      Parameters:
      objects -
      Returns:
      true if the current StoringRequestable contains all of the given objects, false otherwise.
      Throws:
      RuntimeException - if the given objects is null.
    • containsAny

      boolean containsAny(Predicate<E> selector)
      Parameters:
      selector -
      Returns:
      true if the current StoringRequestable contains an element the given selector selects, false otherwise. Ignores null elements.
      Throws:
      RuntimeException - if the given selector is null.
    • containsAnyOf

      boolean containsAnyOf(Iterable<?> objects)
      Parameters:
      objects -
      Returns:
      true if the current StoringRequestable contains any of the given objects, false otherwise.
      Throws:
      RuntimeException - if the given objects is null.
    • containsAnyOf

      boolean containsAnyOf(Object... objects)
      Parameters:
      objects -
      Returns:
      true if the current StoringRequestable contains at least one of the given objects, false otherwise.
      Throws:
      RuntimeException - if the given objects is null.
    • containsAsManyAs

      boolean containsAsManyAs(Iterable<?> container)
      Parameters:
      container -
      Returns:
      true if the current StoringRequestable contains as many elements as the given container, false otherwise.
    • containsEqualing

      boolean containsEqualing(Object element)
      Parameters:
      element -
      Returns:
      true if the current StoringRequestable contains an element that equals the given given element, false otherwise.
    • containsExactlyEqualingInSameOrder

      boolean containsExactlyEqualingInSameOrder(Iterable<?> iterable)
      Parameters:
      iterable -
      Returns:
      true if the current StoringRequestable contains exactly elements that equal the elements of given iterable in the same order, false otherwise.
    • containsExactlyInSameOrder

      boolean containsExactlyInSameOrder(Iterable<?> iterable)
      Parameters:
      iterable -
      Returns:
      true if the current StoringRequestable contains exactly the elements of the given iterable in the same order, false otherwise.
    • containsLessThan

      boolean containsLessThan(Iterable<?> iterable)
      Parameters:
      iterable -
      Returns:
      true if the current StoringRequestable contains less elements than the given container, false otherwise
    • containsMoreThan

      boolean containsMoreThan(Iterable<?> iterable)
      Parameters:
      iterable -
      Returns:
      true if the current StoringRequestable contains more elements than the given container, false otherwise.
    • containsNone

      boolean containsNone(Predicate<E> selector)
      Parameters:
      selector -
      Returns:
      true if the current StoringRequestable does not contain an element the given selector selects, false otherwise. Ignores null elements.
      Throws:
      RuntimeException - if the given selector is null.
    • containsNoneOf

      boolean containsNoneOf(Iterable<?> objects)
      Parameters:
      objects -
      Returns:
      true if the current StoringRequestable does not contain any of the given objects, false otherwise.
      Throws:
      RuntimeException - if the given objects is null.
    • containsNoneOf

      boolean containsNoneOf(Object... objects)
      Parameters:
      objects -
      Returns:
      true if the current StoringRequestable does not contain any of the given objects, false otherwise.
      Throws:
      RuntimeException - if the given objects is null.
    • containsOnce

      boolean containsOnce(Object object)
      Parameters:
      object -
      Returns:
      true if the current StoringRequestable contains the given object exactly 1 time, false otherwise.
    • containsOne

      boolean containsOne()
      Returns:
      true if the current StoringRequestable contains exactly 1 element, false otherwise.
    • containsOne

      boolean containsOne(Predicate<E> selector)
      Parameters:
      selector -
      Returns:
      true if the current StoringRequestable contains exactly 1 element the given selector selects, false otherwise. Ignores null elements.
      Throws:
      RuntimeException - if the given selector is null.
    • containsOneEqualing

      boolean containsOneEqualing(E object)
      Parameters:
      object -
      Returns:
      true if the current StoringRequestable contains exactly 1 element that equals the given object, false otherwise.
    • containsOnly

      boolean containsOnly(Predicate<E> selector)
      Parameters:
      selector -
      Returns:
      true if the current StoringRequestable contains only elements the given selector selects, false otherwise.. Null element are regarded as unselectable.
      Throws:
      RuntimeException - if the given selector is null.