RankedBagTRemove Method (T, Int32) |
Namespace: Kaos.Collections
public int Remove( T item, int count )
Exception | Condition |
---|---|
ArgumentException | When count is less than zero. |
For items with multiple occurrences, lowest indexed items are removed first.
This is a O(log n) operation n is Count.