An associative data structure that assigns ranges of keys to a value.
Constructor | Description |
Full Usage:
RangeMap(ranges)
Parameters:
('TKey * 'TKey * 'TValue) seq
Returns: RangeMap<'TKey, 'TValue>
|
![]() ![]() ![]() ![]() Creates a range map from a sequence of range-value pairs. An exception will be raised if some ranges overlap.
|
Instance member | Description |
Full Usage:
this.ContainsKey
Parameters:
'TKey
Returns: bool
|
![]() ![]() ![]() ![]() Checks if the given element exists in this range map.
|
|
![]() ![]() ![]() ![]() A read-only span containing the elements of the range map.
|
|
|
Full Usage:
this.IsEmpty
Returns: bool
|
![]() ![]() ![]() ![]() Whether this range map is empty.
|
Full Usage:
this.TryFind
Parameters:
'TKey
Returns: 'TValue voption
|
![]() ![]() ![]() ![]() Tries to find an element, returning its corresponding value, if it exists.
|
Static member | Description |
|
![]() ![]() ![]() ![]() An empty range map.
|