ChainedComparer Class |
Namespace: Tangosol.Util.Comparator
public class ChainedComparer : IQueryCacheComparer, IEntryAwareComparer, IComparer, IPortableObject
The ChainedComparer type exposes the following members.
| Name | Description | |
|---|---|---|
| ChainedComparer |
Default constructor.
| |
| ChainedComparer(IComparer) |
Construct a ChainedComparer.
|
| Name | Description | |
|---|---|---|
| Compare |
Compares its two arguments for order.
| |
| CompareEntries |
Compare two entries based on the rules specified by
IComparer.
| |
| Equals |
Determine if two ChainedComparer objects are equal.
(Overrides ObjectEquals(Object).) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode |
Return the hash code for this comparator.
(Overrides ObjectGetHashCode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsKeyComparer |
Specifies whether this comparer expects to compare keys or
values.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ReadExternal |
Restore the contents of a user type instance by reading its state
using the specified IPofReader object.
| |
| ToString |
Returns a human-readable description for this
ChainedComparer.
(Overrides ObjectToString.) | |
| WriteExternal |
Save the contents of a POF user type instance by writing its
state using the specified IPofWriter object.
|
| Name | Description | |
|---|---|---|
| m_comparers |
The IComparer array.
|
comparers[n].Compare(o1, o2) == 0