Readonly
capacityThe maximum number of elements the collection can hold.
If the collection is unbounded, this will be Infinity
.
Removes all elements from the collection.
Concatenates the given items to the end of the collection and returns an iterator over the merged items.
This method does not mutate the original collection.
The items to merge.
An iterator of the merged items.
Returns the number of elements in the collection.
Removes all the items matching the given predicate from the collection.
An iterable of the removed items.
Replaces all the item matching the given predicate in the collection with a new item.
An iterable of the replaced items.
Replaces the first occurence of the item matching the given predicate in the collection with a new item.
true
if the item was found and replaced, false
otherwise.
Interface representing the children of a tree node.