clearSet method
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
@useCopy
IMapOfSets<K, V> clearSet(K key) => replaceSet(key, ISetImpl.empty<V>());