| RankedDictionaryTKey, TValueRemoveWhere Method |
Removes all elements from the dictionary that match the condition defined by the supplied key-parameterized predicate.
Namespace:
Kaos.Collections
Assembly:
KaosCollections (in KaosCollections.dll) Version: 4.2.0.0
Syntax public int RemoveWhere(
Predicate<TKey> match
)
Parameters
- match
- Type: SystemPredicateTKey
The condition of the elements to remove.
Return Value
Type:
Int32The number of elements removed from the dictionary.
Exceptions Remarks
This is a O(
n log
m) operation
where
m is the number of elements removed and
n is
Count.
See Also