C# Class Orc.Sort.NSort.QuickSortWithBubbleSort

Inheritance: SwapSorter
Mostra file Open project: WildGums/Orc.Sort

Public Methods

Method Description
QuickSortWithBubbleSort ( ) : System.Collections
QuickSortWithBubbleSort ( IComparer comparer, ISwap swapper ) : System.Collections
Sort ( IList list ) : void

Private Methods

Method Description
Sort1 ( IList list, int fromPos, int toPos ) : void
Sort2 ( IList list, int low, int high ) : void

Method Details

QuickSortWithBubbleSort() public method

public QuickSortWithBubbleSort ( ) : System.Collections
return System.Collections

QuickSortWithBubbleSort() public method

public QuickSortWithBubbleSort ( IComparer comparer, ISwap swapper ) : System.Collections
comparer IComparer
swapper ISwap
return System.Collections

Sort() public method

public Sort ( IList list ) : void
list IList
return void