Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Compares this WeightedFilter with the specified WeightedFilter for order. Returns a negative integer, zero, or a positive integer as this WeightedFilter's effectiveness is less than, equal to, or greater than the effectiveness of the specified WeightedFilter object.

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

Syntax

C#
public virtual int CompareTo(
	Object obj
)

Parameters

obj
Type: System..::..Object
The Object to be compared

Return Value

A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: Value Meaning Less than zero This instance is less than obj. Zero This instance is equal to obj. Greater than zero This instance is greater than obj.

Implements

IComparable..::..CompareTo(Object)

Exceptions

ExceptionCondition
System.ArgumentException: obj is not the same type as this instance.

See Also