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