Cropped copy of debox.Map. https://raw.githubusercontent.com/non/debox/master/src/main/scala/debox/Map.scala
- Companion:
- object
Value members
Concrete methods
Return the key's current value in the map, throwing an exception if the key is not found.
Return the key's current value in the map, throwing an exception if the key is not found.
On average, this is an O(1) operation; the (unlikely) worst-case is O(n).
This method stores associates value with key.
This method stores associates value with key.
If a previous value was associated with the key, it is overwritten.
This method is usually invoked as map(key) = value, but can also be invoked as map.update(key, value).
On average, this is an amortized O(1) operation; the worst-case is O(n), which will happen when the map needs to be resized.