SortedList Module
Provides extended functionality for the generic SortedList collection.
Functions and values
| Function or value |
Description
|
Full Usage:
SortedList.tryFindNextKey key list
Parameters:
'T
list : SortedList<'T, 'a>
Returns: 'T option
Type parameters: 'T, 'a |
Finds the next key of the given key according to the comparer of the given SortedList. If there is no strictly greater key, this function returns None.
|
Full Usage:
SortedList.tryFindPreviousKey key list
Parameters:
'T
list : SortedList<'T, 'a>
Returns: 'T option
Type parameters: 'T, 'a |
Finds the previous key of the given key according to the comparer of the given SortedList. If there is no strictly smaller key, this function returns None.
|
B2R2