AlgorithmsRemoveDuplicatesInPlace Method |
Name | Description | |
---|---|---|
![]() ![]() | RemoveDuplicatesInPlaceT(IListT) |
Remove consecutive equal items from a list or array. In each run of consecutive equal items
in the list, all items after the first item in the run are removed. The removal is done in-place, changing
the list.
|
![]() ![]() | RemoveDuplicatesInPlaceT(IListT, IEqualityComparerT) |
Remove subsequent consecutive equal items from a list or array. In each run of consecutive equal items
in the list, all items after the first item in the run are removed.
The replacement is done in-place, changing
the list. A passed IEqualityComparer is used to determine equality.
|
![]() ![]() | RemoveDuplicatesInPlaceT(IListT, BinaryPredicateT) |
Remove consecutive "equal" items from a list or array. In each run of consecutive equal items
in the list, all items after the first item in the run are removed. The replacement is done in-place, changing
the list. The passed BinaryPredicate is used to determine if two items are "equal".
|