ProcessQueueTSort(ComparisonT) Method

Sorts the elements in the entire ProcessQueueT, using the specified comparison.

Definition

Namespace: Gemstone.Threading.Collections
Assembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.147 -- Release Build+71918e29738e2d0700de8aec0ad72324b16f1428
public virtual void Sort(
	Comparison<T> comparison
)

Parameters

comparison  ComparisonT
The comparison to use when comparing elements.

Exceptions

ArgumentExceptionThe implementation of comparison caused an error during the sort. For example, comparison might not return 0 when comparing an item with itself.
ArgumentNullExceptioncomparison is null.

See Also