RemoveDuplicatesInPlace Method

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Overload List

NameDescription
Public methodStatic memberRemoveDuplicatesInPlace<(Of <T>)>(IList<(Of <T>)>)
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.
Public methodStatic memberRemoveDuplicatesInPlace<(Of <T>)>(IList<(Of <T>)>, IEqualityComparer<(Of <T>)>)
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.
Public methodStatic memberRemoveDuplicatesInPlace<(Of <T>)>(IList<(Of <T>)>, BinaryPredicate<(Of <T>)>)
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".

See Also