|
static void | Sort< T > (IList< T > list) |
| MergeSort a list of comparable items.
|
|
static void | Sort< T > (IList< T > list, IComparer< T > comparer) |
| MergeSort a list.
|
|
|
static void | Sort< T > (IList< T > list, int lowIndex, int highIndex, IComparer< T > comparer) |
| Sorts the elements of the input list using the specified comparer.
|
|
◆ Sort< T >() [1/3]
static void NAudio.Utils.MergeSort.Sort< T > |
( |
IList< T > | list | ) |
|
|
inlinestatic |
MergeSort a list of comparable items.
◆ Sort< T >() [2/3]
static void NAudio.Utils.MergeSort.Sort< T > |
( |
IList< T > | list, |
|
|
IComparer< T > | comparer ) |
|
inlinestatic |
◆ Sort< T >() [3/3]
static void NAudio.Utils.MergeSort.Sort< T > |
( |
IList< T > | list, |
|
|
int | lowIndex, |
|
|
int | highIndex, |
|
|
IComparer< T > | comparer ) |
|
inlinestaticprivate |
Sorts the elements of the input list using the specified comparer.
- Template Parameters
-
T | The type of elements in the list. |
- Parameters
-
list | The list to be sorted. |
comparer | The comparer to use for sorting. |
- Exceptions
-
ArgumentNullException | Thrown when the input list or comparer is null. |
This method sorts the elements of the input list in place using the specified comparer. The sorting algorithm used is not specified and may vary based on the implementation of the comparer.
The documentation for this class was generated from the following file:
- /Users/sumansaurabh/Documents/my-startup/xeno-rat/Plugins/LiveMicrophone/lib/NAudio.Midi/MergeSort.cs