clearSet method

IMapOfSets<K, V> clearSet(
  1. K key
)

When removeEmptySets is true, the given key and its corresponding set will be removed. This is the same as calling removeSet.

When removeEmptySets is false, the set for the corresponding key will become empty.

Implementation

IMapOfSets<K, V> clearSet(K key) => replaceSet(key, ISetImpl.empty<V>());