C# Class ZForge.Controls.XPTable.Sorting.InsertionSorter

An InsertionSort implementation for sorting the Cells contained in a TableModel
Inheritance: SorterBase
Afficher le fichier Open project: zhuangyy/Motion Class Usage Examples

Méthodes publiques

Méthode Description
InsertionSorter ( TableModel tableModel, int column, IComparer comparer, SortOrder sortOrder ) : System

Initializes a new instance of the InsertionSorter class with the specified TableModel, Column index, IComparer and SortOrder

Sort ( ) : void

Starts sorting the Cells in the TableModel

Method Details

InsertionSorter() public méthode

Initializes a new instance of the InsertionSorter class with the specified TableModel, Column index, IComparer and SortOrder
public InsertionSorter ( TableModel tableModel, int column, IComparer comparer, SortOrder sortOrder ) : System
tableModel ZForge.Controls.XPTable.Models.TableModel The TableModel that contains the data to be sorted
column int The index of the Column to be sorted
comparer IComparer The IComparer used to sort the Column's Cells
sortOrder SortOrder Specifies how the Column is to be sorted
Résultat System

Sort() public méthode

Starts sorting the Cells in the TableModel
public Sort ( ) : void
Résultat void