Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Compares its two arguments for order.

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

Syntax

C#
public virtual 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 negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.

Implements

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

Remarks

Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second. null values are evaluated as "less then" any non-null value.

See Also