HashTable.eraseIter
Deletes entry from the table by its iterator.
Arguments
iterator
is a HashTableIterator pointing to the entry to erase. The iterator and all ranges that include it as a “first” or an “end” iterator become invalid. If the iterator is an “end” iterator, an error will occur.
Return values
None
Complexity
Constant
Example
Output:
{ key: 34; value: 135; }
{ key: -25; value: "element"; }
{ key: 35; value: "element"; }