ReverseComparerT Class |
Namespace: Koden.Utils
The ReverseComparerT type exposes the following members.
| Name | Description | |
|---|---|---|
| ReverseComparerT |
Creates a new reversing comparer.
|
| Name | Description | |
|---|---|---|
| OriginalComparer |
Returns the original comparer; this can be useful to avoid multiple
reversals.
|
| Name | Description | |
|---|---|---|
| Compare |
Returns the result of comparing the specified values using the original
comparer, but reversing the order of comparison.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| kReverseT |
Reverses the original comparer; if it was already a reverse comparer,
the previous version was reversed (rather than reversing twice).
In other words, for any comparer X, X==X.Reverse().Reverse().
(Defined by ComparerExt.) | |
| kThenByT(IComparerT) | Overloaded.
Combines a comparer with a second comparer to implement composite sort
behaviour.
(Defined by ComparerExt.) | |
| kThenByT, TKey(FuncT, TKey) | Overloaded.
Combines a comparer with a projection to implement composite sort behaviour.
(Defined by ComparerExt.) |