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