asMutableMap

Wraps this ScatterMap with a MutableMap interface. The MutableMap is backed by the ScatterMap, so changes to the ScatterMap are reflected in the MutableMap and vice-versa. If the ScatterMap is modified while an iteration over the MutableMap is in progress (and vice- versa), the results of the iteration are undefined.

Note: while this method is useful to use this MutableScatterMap with APIs accepting MutableMap interfaces, it is less efficient to do so than to use MutableScatterMap's APIs directly. While the MutableMap implementation returned by this method tries to be as efficient as possible, the semantics of MutableMap may require the allocation of temporary objects for access and iteration.