Oracle® Coherence .NET API Reference Release 3.6
E15727-01

Construct an EntryComparer to compare entries' values using the provided IComparer object.

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

Syntax

C#
public EntryComparer(
	IComparer comparer
)

Parameters

comparer
Type: System.Collections..::.IComparer
The comparer to use; if not specified the "natural" comparison of entries' values is used.

Remarks

The EntryComparer will choose the comparison style based on the specified comparator type: if the comparer is an instance of the KeyExtractor, the ComparisonStyle.Key style will be assumed; otherwise, the ComparisonStyle.Value style is used.

See Also