Interface IterableContainEqualRequestable<E>
- Type Parameters:
E- the type of the elements aIterableContainEqualRequestable
- 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 IterableContainEqualRequestable<E>
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsEqual(Object object) The time complexity of this method is O(n) if the currentIterableContainEqualRequestablecontains n elements.booleancontainsNoEqual(E object) The time complexity of this method is O(n) if the currentIterableContainEqualRequestablecontains n elements.booleancontainsOneEqual(E object) The time complexity of this method is O(n) if the currentIterableContainEqualRequestablecontains n elements.
-
Method Details
-
containsEqual
The time complexity of this method is O(n) if the currentIterableContainEqualRequestablecontains n elements.- Parameters:
object-- Returns:
- true if the current
IterableContainEqualRequestablecontains an element that equals the given object, false otherwise
-
containsNoEqual
The time complexity of this method is O(n) if the currentIterableContainEqualRequestablecontains n elements.- Parameters:
object-- Returns:
- true if the current
IterableContainEqualRequestabledoes not contain an element that equals the given object, false otherwise
-
containsOneEqual
The time complexity of this method is O(n) if the currentIterableContainEqualRequestablecontains n elements.- Parameters:
object-- Returns:
- true if the current
IterableContainEqualRequestablecontains exactly 1 element that equals the given object, false otherwise
-