??
Reports whether value exists in this collection Complexity: O(n) (O(n 1) on a good day)
Reports whether value exists in this collection Complexity: O(n) (O(n 1) on a good day)
Returns a range of all elements with eq(key(elem), k). Complexity: O(n) (O(n result) on a good day)
insert value into this container. For Unique variant, will refuse value if value already exists in index.
insert contents of r into this container. For Unique variant, will refuse any items in content if it already exists in index.
Reports whether a value exists in the collection such that eq(k, key(value)). Complexity: O(n) (O(1) on a good day)
Reports whether value exists in this collection. Complexity: O(n) (O(n 1) on a good day)
Available for Unique variant. Complexity: O(n) (O(1) on a good day)
Gets a range of all elements in container. Complexity: O(1)
Removes all of r from this container. Preconditions: r came from this index
Removes all elements with key k from this container.
Property returning true if and only if the container has no elements.
Preconditions: !empty Complexity: O(1)
Returns the number of elements in the container.
the primary range for this index, which embodies a forward range. iteration has time complexity O(n)
index implementation