artem_zin
08/04/2016, 3:02 PMremove(key) because it returns removed value and not the new map. I see two ways at the moment: filter (which is slow obviously) or create new mutable map with content of previous, remove item from it, then make it readonly.