C# Class Orc.Sort.NSort.QuickSorter

http://www.codeproject.com/csharp/csquicksort.asp
Inheritance: SwapSorter
Afficher le fichier Open project: WildGums/Orc.Sort

Méthodes publiques

Méthode Description
QuickSorter ( ) : System.Collections
QuickSorter ( IComparer comparer, ISwap swapper ) : System.Collections
Sort ( IList array ) : void

Sorts the array.

Sort ( IList array, int lower, int upper ) : void

Private Methods

Méthode Description
Pivot ( IList array, int lower, int upper ) : int

Method Details

QuickSorter() public méthode

public QuickSorter ( ) : System.Collections
Résultat System.Collections

QuickSorter() public méthode

public QuickSorter ( IComparer comparer, ISwap swapper ) : System.Collections
comparer IComparer
swapper ISwap
Résultat System.Collections

Sort() public méthode

Sorts the array.
public Sort ( IList array ) : void
array IList The array to sort.
Résultat void

Sort() public méthode

public Sort ( IList array, int lower, int upper ) : void
array IList
lower int
upper int
Résultat void