MergeSorted 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 memberMergeSorted<(Of <T>)>(array<IEnumerable<(Of <T>)>>[]())
Merge several sorted collections into a single sorted collection. Each input collection must be sorted by the natural ordering of the type (it's implementation of IComparable<T>). The merging is stable; equal items maintain their ordering, and equal items in different collections are placed in the order of the collections.
Public methodStatic memberMergeSorted<(Of <T>)>(IComparer<(Of <T>)>, array<IEnumerable<(Of <T>)>>[]())
Merge several sorted collections into a single sorted collection. Each input collection must be sorted by the ordering in the passed instance of IComparer<T>. The merging is stable; equal items maintain their ordering, and equal items in different collections are placed in the order of the collections.
Public methodStatic memberMergeSorted<(Of <T>)>(Comparison<(Of <T>)>, array<IEnumerable<(Of <T>)>>[]())
Merge several sorted collections into a single sorted collection. Each input collection must be sorted by the ordering in the passed Comparison<T> delegate. The merging is stable; equal items maintain their ordering, and equal items in different collections are placed in the order of the collections.

See Also