Optional
Using for for...of syntax like Array.
for...of
Clear the container.
Boolean about if the container is empty.
Remove the elements of the specified value.
The element you want to remove.
Boolean about if the specified element in the hash set.
The element you want to find.
Iterate over all elements in the container.
Callback function like Array.forEach.
Get the value of the element which has the specified key.
The key you want to get.
Insert a new key-value pair to hash map or set value by key.
HashMap.setElement(1, 2); // insert a key-value pair [1, 2]
The key you want to insert.
The value you want to insert.
The size of the container.
Generated using TypeDoc
Description
Using for
for...of
syntax like Array.