Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
ChainedComparer Class
Members See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01
Composite comparer implementation based on a collection of comparers.

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

# 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

ChainedComparer Members
Tangosol.Util.Comparator Namespace