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

Compare two entries.

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

Syntax

C#
public virtual int CompareEntries(
	IQueryCacheEntry entry1,
	IQueryCacheEntry entry2
)

Parameters

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

Return Value

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

IQueryCacheComparer..::.CompareEntries(IQueryCacheEntry, IQueryCacheEntry)

Exceptions

ExceptionCondition
System..::.InvalidCastException If the arguments' types prevent them from being compared by this IComparer.
System..::.ArgumentException If the extractor cannot handle the passed objects for any other reason; an implementor should include a descriptive message.

See Also