AlgorithmsGetLexicographicalComparerT Method |
Creates an IComparer instance that can be used for comparing ordered
sequences of type T; that is IEnumerable<Tgt;. This comparer can be used
for collections or algorithms that use sequences of T as an item type. The Lexicographical
ordered of sequences is for comparison.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic static IComparer<IEnumerable<T>> GetLexicographicalComparer<T>()
where T : Object, IComparable<T>
public:
generic<typename T>
where T : Object, IComparable<T>
static IComparer<IEnumerable<T>^>^ GetLexicographicalComparer()
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:X3Platform.Collections.Algorithms.GetLexicographicalComparer``1"]
Return Value
Type:
IComparerIEnumerableTAt IComparer<IEnumerable<T>> that compares sequences of T.
RemarksT must implement either IComparable<T> and this implementation is used
to compare the items.
See Also