Class Int16ComparerDescending
Implements
Inherited Members
Namespace: Tenray.ZoneTree.Comparers
Assembly: ZoneTree.dll
Syntax
public sealed class Int16ComparerDescending : IRefComparer<short>
Methods
| Improve this Doc View SourceCompare(in short, in short)
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 short x, in short y)
Parameters
| Type | Name | Description |
|---|---|---|
| short | x | The first key |
| short | y | The second key |
Returns
| Type | Description |
|---|---|
| int | -1 (x < y), 0 (x == y) or 1 (x > y) |