Interface IterableContainMultipleRequestable
- All Known Subinterfaces:
ExtendedIterable<E>, IAppendableList<E>, IArrayList<E>, ILinkedList<E>, IMatrix<E>, IMatrixColumn<E>, IMatrixRow<E>, ISqlRecord
- All Known Implementing Classes:
AbstractExtendedIterable, ArrayExtendedIterableView, ArrayList, ExtendedIterableFilterView, ExtendedIterableIntervalView, ExtendedIterableMapperView, ExtendedIterableView, ImmutableList, IterableExtendedIterableView, LinkedList, Matrix, MatrixColumn, MatrixRow, MultiExtendedIterableView, SqlRecord
public interface IterableContainMultipleRequestable
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsAll(Iterable<?> objects) The time complexity of this method is O(m*n) if the currentIterableContainMultipleRequestablecontains m elements and n objects are given.booleancontainsAll(Object... objects) The time complexity of this method is O(m*n) if the currentIterableContainMultipleRequestablecontains m elements and n objects are given.booleancontainsAny(Iterable<?> objects) The time complexity of this method is O(m*n) if the currentIterableContainMultipleRequestablecontains m elements and n objects are given.booleancontainsAny(Object... objects) The time complexity of this method is O(m*n) if the currentIterableContainMultipleRequestablecontains m elements and n objects are given.booleancontainsExactlyAllEqualInSameOrder(Iterable<?> objects) The time complexity of this method is O(n) if the currentIterableContainMultipleRequestablecontains n elements.booleancontainsExactlyInSameOrder(Iterable<?> iterable) The time complexity of this implementation is O(n) if the currentIterableContainMultipleRequestablecontains n elements.booleancontainsNone(Iterable<?> objects) The time complexity of this method is O(m*n) if the currentIterableContainMultipleRequestablecontains m elements and n objects are given.booleancontainsNone(Object... objects) The time complexity of this method is O(m*n) if the currentIterableContainMultipleRequestablecontains m elements and n objects are given.
-
Method Details
-
containsAll
The time complexity of this method is O(m*n) if the currentIterableContainMultipleRequestablecontains m elements and n objects are given.- Parameters:
objects- the searched objects, is considered to be empty when is null- Returns:
- true if the current
IterableContainMultipleRequestablecontains all of the given objects, false otherwise
-
containsAll
The time complexity of this method is O(m*n) if the currentIterableContainMultipleRequestablecontains m elements and n objects are given.- Parameters:
objects- the searched objects, is considered to be empty when is null- Returns:
- true if the current
IterableContainMultipleRequestablecontains all of the given objects, false otherwise
-
containsAny
The time complexity of this method is O(m*n) if the currentIterableContainMultipleRequestablecontains m elements and n objects are given.- Parameters:
objects- the searched objects, is considered to be empty when is null- Returns:
- true if the current
IterableContainMultipleRequestablecontains any of the given objects, false otherwise
-
containsAny
The time complexity of this method is O(m*n) if the currentIterableContainMultipleRequestablecontains m elements and n objects are given.- Parameters:
objects- the searched objects, is considered to be empty when is null- Returns:
- true if the current
IterableContainMultipleRequestablecontains at least one of the given objects, false otherwise
-
containsExactlyAllEqualInSameOrder
The time complexity of this method is O(n) if the currentIterableContainMultipleRequestablecontains n elements.- Parameters:
objects- the searched objects, is considered to be empty when is null- Returns:
- true if the current
IterableContainMultipleRequestablecontains exactly such elements that equal the elements of given iterable in the same order, false otherwise
-
containsExactlyInSameOrder
The time complexity of this implementation is O(n) if the currentIterableContainMultipleRequestablecontains n elements.- Parameters:
iterable- the searched iterable, is considered to be empty when is null- Returns:
- true if the current
IterableContainMultipleRequestablecontains exactly the elements of the given iterable in the same order, false otherwise
-
containsNone
The time complexity of this method is O(m*n) if the currentIterableContainMultipleRequestablecontains m elements and n objects are given.- Parameters:
objects- the searched objects, is considered to be empty when is null- Returns:
- true if the current
IterableContainMultipleRequestabledoes not contain any of the given objects, false otherwise
-
containsNone
The time complexity of this method is O(m*n) if the currentIterableContainMultipleRequestablecontains m elements and n objects are given.- Parameters:
objects- the searched objects, is considered to be empty when is null- Returns:
- true if the current
IterableContainMultipleRequestabledoes not contain any of the given objects, false otherwise
-