Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Null-safe delegating comparator.

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

Syntax

C#
public class SafeComparer : IQueryCacheComparer, 
	IEntryAwareComparer, IComparer, IPortableObject

Remarks

null values are evaluated as "less then" any non-null value. If the wrapped comparator is not specified then all non-null values must implement the IComparable interface.

Use SafeComparer.Instance to obtain an instance of non-delegating SafeComparer.

Inheritance Hierarchy

System..::..Object
  Tangosol.Util.Comparator..::..SafeComparer
    Tangosol.Util.Comparator..::..EntryComparer
    Tangosol.Util.Comparator..::..InverseComparer

See Also