AlphaReadonly Alpha[toReadonly AlphasizeStatic Readonly Alpha[species]AlphaAdd 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
AlphaAlphatrue if an element in the Map existed and has been removed, or false if the element does not exist.
AlphaDivide 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
AlphaReturns an iterable of key, value pairs for every entry in the map.
AlphaGet 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
Alphaboolean indicating whether an element with the specified key exists or not.
AlphaMultiply 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
AlphaRaise 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
AlphaTake 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
AlphaAdds 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.
AlphaSquare root of the value for a given key.
The key to get the square root of
The square root of the value for key
AlphaSubtract 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
AlphaReturns an iterable of values in the map
Staticgroup
A DefaultMap with methods for performing basic math operations that mutate the data.