Click or drag to resize

ChainedComparerCompareEntries Method

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Compare two entries based on the rules specified by IComparer.

Namespace:  Tangosol.Util.Comparator
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public virtual int CompareEntries(
	IQueryCacheEntry entry1,
	IQueryCacheEntry entry2
)

Parameters

entry1
Type: Tangosol.Net.CacheIQueryCacheEntry
The first entry to compare values from; read-only.
entry2
Type: Tangosol.Net.CacheIQueryCacheEntry
The second entry to compare values from; read-only.

Return Value

Type: Int32
A negative integer, zero, or a positive integer as the first entry denotes a value that is is less than, equal to, or greater than the value denoted by the second entry.

Implements

IQueryCacheComparerCompareEntries(IQueryCacheEntry, IQueryCacheEntry)
Remarks
This implementation simply passes on this invocation to the wrapped IComparer objects if they too implement this interface, or invokes their default Compare method passing the values extracted from the passed entries.
See Also