C# Class LitDev.LDSort

Afficher le fichier Open project: litdev1/LitDev

Méthodes publiques

Свойство Type Description
bCaseSensitive bool

Méthodes publiques

Méthode Description
ByIndex ( Primitive array ) : Primitive

Sort an array of any dimension by the index (key).

ByValue ( Primitive array ) : Primitive

Sort a 1D array by the value (the indices are re-numbered from 1).

ByValueWithIndex ( Primitive array ) : Primitive

Sort a 1D array by the value (the indices are unchanged, but sorted).

Private Methods

Méthode Description
sort ( Primitive array ) : List

Method Details

ByIndex() public static méthode

Sort an array of any dimension by the index (key).
public static ByIndex ( Primitive array ) : Primitive
array Primitive /// The array to sort. ///
Résultat Primitive

ByValue() public static méthode

Sort a 1D array by the value (the indices are re-numbered from 1).
public static ByValue ( Primitive array ) : Primitive
array Primitive /// The array to sort. ///
Résultat Primitive

ByValueWithIndex() public static méthode

Sort a 1D array by the value (the indices are unchanged, but sorted).
public static ByValueWithIndex ( Primitive array ) : Primitive
array Primitive /// The array to sort. ///
Résultat Primitive

Property Details

bCaseSensitive public_oe static_oe property

public static bool bCaseSensitive
Résultat bool