A comparator which always instructs the caller to order the left argument first.
A comparator which always instructs the caller to order the left argument first.
Can be used to terminate a chain of compare/compareOptions, as it does not require a tiebreaker function.
The type of the item in the collection that is ultimately being sorted.
The first item to be compared.
The second item to be compared.
Always returns true.
Returns a comparator function that orders items using a provided comparator that passes the decision to the another comparator in the case of a tie.
Returns a comparator function that orders items using a provided comparator that passes the decision to the another comparator in the case of a tie.
The type of the item in the collection that is ultimately being sorted.
A function to compare the order of two features. Value returned indicates order: negative for left first, positive for right first, zero for tie.
The next comparison to try if the comparison results in a tie.
A function that can be used as an argument to the sortWith method of a collection, or as the comparator in other functions in the compoundsort library.
Returns a comparator function that orders items by first extracting a feature from each item, and then comparing this feature between items.
Returns a comparator function that orders items by first extracting a feature from each item, and then comparing this feature between items.
The type of the item in the collection that is ultimately being sorted.
The type of the features to be extracted from the collection item.
A function that extracts a feature from an item. The value that is returned from this function is what will be compared between two elements in the collection.
A function to compare the order of two features. Value returned indicates order: negative for left first, positive for right first, zero for tie.
The next comparison to try if the comparison results in a tie.
A function that can be used as an argument to the sortWith method of a collection, or as the comparator in other functions in the compoundsort library.
Returns a comparator function that orders items where the feature extraction fails (i.
Returns a comparator function that orders items where the feature extraction fails (i.e. returns None) before those where the extraction succeeds.
For those where the extraction succeeds, the items are compared by the function provided in the compareFeatures parameter.
The type of the item in the collection that is ultimately being sorted.
The type of the feature that may be extracted from the collection item.
A function that (maybe) extracts a feature from an item. The value that is returned from this function is what will be compared between two elements in the collection.
A function to compare the order of two features. Value returned indicates order: negative for left first, positive for right first, zero for tie.
The next comparison to try if the comparison results in a tie.
A function that can be used as an argument to the sortWith method of a collection, or as the comparator in other functions in the compoundsort library.
Returns a comparator function that orders items where the feature extraction fails (i.
Returns a comparator function that orders items where the feature extraction fails (i.e. returns None) after those where the extraction succeeds.
For those where the extraction succeeds, the items are compared by the function provided in the compareFeatures parameter.
The type of the item in the collection that is ultimately being sorted.
The type of the feature that may be extracted from the collection item.
A function that (maybe) extracts a feature from an item. The value that is returned from this function is what will be compared between two elements in the collection.
A function to compare the order of two features. Value returned indicates order: negative for left first, positive for right first, zero for tie.
The next comparison to try if the comparison results in a tie.
A function that can be used as an argument to the sortWith method of a collection, or as the comparator in other functions in the compoundsort library.
A comparator which always instructs the caller to order the right argument first.
A comparator which always instructs the caller to order the right argument first.
Can be used to terminate a chain of compare/compareOptions, as it does not require a tiebreaker function.
The type of the item in the collection that is ultimately being sorted.
The first item to be compared.
The second item to be compared.
Always returns false.
Created by kes on 2/1/14.