Class WriteAheadLogEntryReader.LogEntryReaderComparer
Implements
Inherited Members
Namespace: Tenray.ZoneTree.WAL
Assembly: ZoneTree.dll
Syntax
public sealed class WriteAheadLogEntryReader.LogEntryReaderComparer : IRefComparer<int>
Constructors
| Improve this Doc View SourceLogEntryReaderComparer(IList<long>)
Declaration
public LogEntryReaderComparer(IList<long> opIndexes)
Parameters
Type | Name | Description |
---|---|---|
IList<long> | opIndexes |
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) |