Initialize container, must have a forEach function.
When the container is an array, you can choose to directly operate on the original object of the array or perform a shallow copy. The default is shallow copy.
Iterator pointing to the beginning element.
Iterator pointing to the super end like c++.
Removes element by iterator and move iter
to next.
container.eraseElementByIterator(container.begin());
The iterator you want to erase.
An iterator pointing to the element if found, or super end if not found.
The element you want to find.
Iterate over all elements in the container.
Callback function like Array.forEach.
Iterator pointing to the end element.
Iterator pointing to the super begin like c++.
Generated using TypeDoc
Description
Vector's constructor.