Class DeletableComparer<TValue>
Implements
IRefComparer<Deletable<TValue>>
Inherited Members
Namespace: Tenray.ZoneTree.Comparers
Assembly: ZoneTree.dll
Syntax
public sealed class DeletableComparer<TValue> : IRefComparer<Deletable<TValue>>
Type Parameters
Name | Description |
---|---|
TValue |
Constructors
| Improve this Doc View SourceDeletableComparer(IRefComparer<TValue>)
Declaration
public DeletableComparer(IRefComparer<TValue> comparer)
Parameters
Type | Name | Description |
---|---|---|
IRefComparer<TValue> | comparer |
Properties
| Improve this Doc View SourceComparer
Declaration
public IRefComparer<TValue> Comparer { get; }
Property Value
Type | Description |
---|---|
IRefComparer<TValue> |
Methods
| Improve this Doc View SourceCompare(in Deletable<TValue>, in Deletable<TValue>)
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
Declaration
public int Compare(in Deletable<TValue> x, in Deletable<TValue> y)
Parameters
Type | Name | Description |
---|---|---|
Deletable<TValue> | x | The first key |
Deletable<TValue> | y | The second key |
Returns
Type | Description |
---|---|
int | -1 (x < y), 0 (x == y) or 1 (x > y) |