ProcessQueueTSort(ComparisonT) Method
Sorts the elements in the entire
ProcessQueueT, using the specified comparison.
Namespace: Gemstone.Threading.CollectionsAssembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.141 -- Release Build+5e2ec463438f5de09767d41cb13e56e90c503d09
public virtual void Sort(
Comparison<T> comparison
)
Public Overridable Sub Sort (
comparison As Comparison(Of T)
)
public:
virtual void Sort(
Comparison<T>^ comparison
)
function Sort(comparison);
Parameters
- comparison ComparisonT
- The comparison to use when comparing elements.
ArgumentException | The implementation of comparison caused an error during the sort. For
example, comparison might not return 0 when comparing an item with itself. |
ArgumentNullException | comparison is null. |