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

Null-safe delegating comparator.

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

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