AlphaReadonly Alpha[toReadonly AlphasizeStatic Readonly Alpha[species]Alpha
Add an addend to the value for a given key.
The key to update the value of
The value to add to the current value
The updated value
Alpha
Removes all elements from the Map.
Alpha
true if an element in the Map existed and has been removed, or false if the element does not exist.
Alpha
Divide the value for a given key by a divisor.
The key to update the value of
The value to divide the current value by
The updated value
Alpha
Returns an iterable of key, value pairs for every entry in the map.
Alpha
Get the value for a given key, or the default value if it's missing.
Time complexity: O(1)
Space complexity: O(1)
The key to get the value for
The value for key, or the default value if it's missing
Alpha
Returns a specified element from the Map object.
If no element is associated with the specified key, a new element with the value defaultValue will be inserted into the Map and returned.
The element associated with the specified key, which will be defaultValue if no element previously existed.
Alpha
Returns a specified element from the Map object.
If no element is associated with the specified key, the result of passing the specified key to the callback function will be inserted into the Map and returned.
The element associated with the specific key, which will be the newly computed value if no element previously existed.
Alpha
boolean indicating whether an element with the specified key exists or not.
Alpha
Multiply a multiplicand by the value for a given key.
The key to update the value of
The value to multiply the current value by
The updated value
Alpha
Raise the value for a given key to an exponent.
The key to update the value of
The exponent to raise the current value to
The updated value
Alpha
Take the _n_th root of the value for a given key.
The key to get the _n_th root of
The root to get
The nth root of the value for key
Alpha
Adds a new element with a specified key and value to the Map. If an element with the same key already exists, the element will be updated.
Alpha
Square root of the value for a given key.
The key to get the square root of
The square root of the value for key
Alpha
Subtract a subtrahend from the value for a given key.
The key to update the value of
The value to subtract from the current value
The updated value
Alpha
Returns an iterable of values in the map
Staticgroup
A DefaultMap with methods for performing basic math operations that mutate the data.