InverseComparer Class |
Namespace: Tangosol.Util.Comparator
public class InverseComparer : SafeComparer, IQueryCacheComparer, IComparer
The InverseComparer type exposes the following members.
| Name | Description | |
|---|---|---|
| InverseComparer |
Default constructor.
| |
| InverseComparer(IComparer) |
Construct an InverseComparer.
|
| Name | Description | |
|---|---|---|
| Comparer |
The wrapped IComparer.
(Inherited from SafeComparer.) |
| Name | Description | |
|---|---|---|
| Compare |
Use the wrapped IComparer to compare the two arguments for
order and negate the result.
(Overrides SafeComparerCompare(Object, Object).) | |
| CompareEntries |
Compare two entries using the underlying comparator and negate
the result.
(Overrides SafeComparerCompareEntries(IQueryCacheEntry, IQueryCacheEntry).) | |
| Equals |
Compare the InverseComparer with another object to
determine equality.
(Overrides SafeComparerEquals(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 SafeComparerGetHashCode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsKeyComparer |
Specifies whether this comparer expects to compare keys or
values.
(Inherited from SafeComparer.) | |
| 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.
(Inherited from SafeComparer.) | |
| ToString |
Returns a human-readable description for this IComparer.
(Inherited from SafeComparer.) | |
| WriteExternal |
Save the contents of a POF user type instance by writing its
state using the specified IPofWriter object.
(Inherited from SafeComparer.) |
| Name | Description | |
|---|---|---|
| m_comparer |
The wrapped IComparer.
(Inherited from SafeComparer.) |