1  package frost.collections
 2  
 3  ====================================================================================================
 4  A write-only version of the standard `Map` abstract data type. `MapWriter` is generally paired with
 5  `MapView`, as in the [Map] interface.
 6  ====================================================================================================
 7  interface MapWriter<K, V> {
 8      ================================================================================================
 9      Inserts a new value or replaces an existing value.
10      ================================================================================================
11      method []:=(key:K, value:V)
12  
13      ================================================================================================
14      Removes the entry for `key`, if present.
15      ================================================================================================
16      method remove(key:K)
17  
18      ================================================================================================
19      Removes all entries from the map for which `test` returns `false`.
20      ================================================================================================
21      method filterInPlace(test:(K, V)=>(Bit))
22  
23      ================================================================================================
24      Removes all entries from the list.
25      ================================================================================================
26      method clear()
27  }