Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
SafeComparer Class
Members See Also Send Feedback

Oracle® Coherence .NET API Reference Release 3.6
E15727-01
Null-safe delegating comparator.

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

# 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

SafeComparer Members
Tangosol.Util.Comparator Namespace