Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

Composite comparer implementation based on a collection of comparers.

Namespace:  Tangosol.Util.Comparator
Assembly:  Coherence (in Coherence.dll) Version: 3.7.1.23 (3.7.1.23)

Syntax

C#
public class ChainedComparer : IQueryCacheComparer, 
	IEntryAwareComparer, IComparer, IPortableObject

Remarks

The comparers in the array assumed to be sorted according to their priorities; only in a case when the n-th comparer cannot determine the order of the passed objects:
CopyC#
comparers[n].Compare(o1, o2) == 0
the (n+1)-th comparer will be applied to calculate the value.

Inheritance Hierarchy

System..::.Object
  Tangosol.Util.Comparator..::.ChainedComparer

See Also