Wintellect.PowerCollections Namespace
Algorithms Class
Algorithms Methods
GhostDoc Pro Sample Help File

Algorithms..::..RemoveDuplicatesInPlace Method

Overload List


  Name Description
Public method Static member RemoveDuplicatesInPlace<(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 method Static member RemoveDuplicatesInPlace<(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 method Static member RemoveDuplicatesInPlace<(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".