The number of keys whose frequency is positive.
The sum of the frequencies of all the keys in the table.
Empties the table.
If the frequency of the specified key is positive, decreases it by 1. Otherwise (if it's 0), doesn't do anything.
The key whose frequency to decrement.
Retrieves the frequency of the specified key. Returns 0, if the key doesn't exist in the table.
The key whose frequency to decrement.
A non-negative integer indicating the frequency of the specified key.
Increases the frequency of the specified key by 1.
The key whose frequency to increment.
Converts the collection into a plain array.
A new array containing all the items in the collection.
Generated using TypeDoc
An object that can be used to efficiently store and manage the frequencies of the specified keys.