Interface StoringRequestable<E>
- Type Parameters:
E- is the type of the elements aStoringRequestable.
- 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 Summary
Modifier and TypeMethodDescriptionbooleanbooleancontainsAllOf(Iterable<?> objects) booleancontainsAllOf(Object... objects) booleancontainsAny(Predicate<E> selector) booleancontainsAnyOf(Iterable<?> objects) booleancontainsAnyOf(Object... objects) booleancontainsAsManyAs(Iterable<?> container) booleancontainsEqualing(Object element) booleancontainsExactlyEqualingInSameOrder(Iterable<?> iterable) booleancontainsExactlyInSameOrder(Iterable<?> iterable) booleancontainsLessThan(Iterable<?> iterable) booleancontainsMoreThan(Iterable<?> iterable) booleancontainsNone(Predicate<E> selector) booleancontainsNoneOf(Iterable<?> objects) booleancontainsNoneOf(Object... objects) booleancontainsOnce(Object object) booleanbooleancontainsOne(Predicate<E> selector) booleancontainsOneEqualing(E object) booleancontainsOnly(Predicate<E> selector)
-
Method Details
-
contains
- Parameters:
object-- Returns:
- true if the current
StoringRequestablecontains the given object, false otherwise.
-
containsAllOf
- Parameters:
objects-- Returns:
- true if the current
StoringRequestablecontains all of the given objects, false otherwise. - Throws:
RuntimeException- if the given objects is null.
-
containsAllOf
- Parameters:
objects-- Returns:
- true if the current
StoringRequestablecontains all of the given objects, false otherwise. - Throws:
RuntimeException- if the given objects is null.
-
containsAny
- Parameters:
selector-- Returns:
- true if the current
StoringRequestablecontains an element the given selector selects, false otherwise. Ignores null elements. - Throws:
RuntimeException- if the given selector is null.
-
containsAnyOf
- Parameters:
objects-- Returns:
- true if the current
StoringRequestablecontains any of the given objects, false otherwise. - Throws:
RuntimeException- if the given objects is null.
-
containsAnyOf
- Parameters:
objects-- Returns:
- true if the current
StoringRequestablecontains at least one of the given objects, false otherwise. - Throws:
RuntimeException- if the given objects is null.
-
containsAsManyAs
- Parameters:
container-- Returns:
- true if the current
StoringRequestablecontains as many elements as the given container, false otherwise.
-
containsEqualing
- Parameters:
element-- Returns:
- true if the current
StoringRequestablecontains an element that equals the given given element, false otherwise.
-
containsExactlyEqualingInSameOrder
- Parameters:
iterable-- Returns:
- true if the current
StoringRequestablecontains exactly elements that equal the elements of given iterable in the same order, false otherwise.
-
containsExactlyInSameOrder
- Parameters:
iterable-- Returns:
- true if the current
StoringRequestablecontains exactly the elements of the given iterable in the same order, false otherwise.
-
containsLessThan
- Parameters:
iterable-- Returns:
- true if the current
StoringRequestablecontains less elements than the given container, false otherwise
-
containsMoreThan
- Parameters:
iterable-- Returns:
- true if the current
StoringRequestablecontains more elements than the given container, false otherwise.
-
containsNone
- Parameters:
selector-- Returns:
- true if the current
StoringRequestabledoes not contain an element the given selector selects, false otherwise. Ignores null elements. - Throws:
RuntimeException- if the given selector is null.
-
containsNoneOf
- Parameters:
objects-- Returns:
- true if the current
StoringRequestabledoes not contain any of the given objects, false otherwise. - Throws:
RuntimeException- if the given objects is null.
-
containsNoneOf
- Parameters:
objects-- Returns:
- true if the current
StoringRequestabledoes not contain any of the given objects, false otherwise. - Throws:
RuntimeException- if the given objects is null.
-
containsOnce
- Parameters:
object-- Returns:
- true if the current
StoringRequestablecontains the given object exactly 1 time, false otherwise.
-
containsOne
boolean containsOne()- Returns:
- true if the current
StoringRequestablecontains exactly 1 element, false otherwise.
-
containsOne
- Parameters:
selector-- Returns:
- true if the current
StoringRequestablecontains exactly 1 element the given selector selects, false otherwise. Ignores null elements. - Throws:
RuntimeException- if the given selector is null.
-
containsOneEqualing
- Parameters:
object-- Returns:
- true if the current
StoringRequestablecontains exactly 1 element that equals the given object, false otherwise.
-
containsOnly
- Parameters:
selector-- Returns:
- true if the current
StoringRequestablecontains only elements the given selector selects, false otherwise.. Null element are regarded as unselectable. - Throws:
RuntimeException- if the given selector is null.
-