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

Use the wrapped IComparer to compare the two arguments for order and negate the result.

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

Syntax

C#
public override int Compare(
	Object o1,
	Object o2
)

Parameters

o1
Type: System..::.Object
The first object to be compared.
o2
Type: System..::.Object
The second object to be compared.

Return Value

A positive integer, zero, or a negative integer as the first argument is less than, equal to, or greater than the second.

Implements

IComparer..::.Compare(Object, Object)
IComparer..::.Compare(Object, Object)

See Also