Construct a readonly range map instance
Optional
entries: [RangeMapKey | [number, number] | [number, number, boolean, boolean], V][]the map entries
whether to compare the ranges to all the ranges previously, to determine if there are any conflicts
Returns the string representation of the map identifier ('ReadonlyRangeMap')
the string representation of the map identifier
Returns the size of map
the size of map
Response for returning the list of key/value to iterate
Returns the key/value entries of the map
the key/value entries of the map
Processes each entry in the map
a callback function that processes each entry
Optional
thisArg: anyany instance to retrieve 'this' reference in the callback function
Processes each entry in the map with breakable capability
a callback function that processes each entry. Returning false indicates to break the map iteration
Optional
thisArg: anyany instance to retrieve 'this' reference in the callback function
Processes each entry in the map with index capability
a callback function that processes each entry
Optional
thisArg: anyany instance to retrieve 'this' reference in the callback function
Returns the value of the given key
the key to retrieve
Optional
defaults: Vthe default value if not found
the value of the given key
Returns the value that associated to the number, by determining which bound contains the given number
the number to retrieve
Optional
defaults: Vthe default value if not found
the value that associated to the number, by determining which bound contains the given number
Returns whether the map contains all the given keys
the keys to check
whether the map contains all the given keys
Returns whether the map contains all the given values, matching exactly
the values to check
whether the map contains all the given values, matching exactly
Returns whether the map contains any of the given keys
the keys to check
whether the map contains any of the given keys
Returns whether the map contains any of the given values
the values to check
whether the map contains any of the given values
Returns whether the map contains the given key
the key to check
whether the map contains the given key
Returns whether the map contains the given key/value pair
the key to check
the value to check
whether the map contains the given key/value pair
Returns whether any entries of the map that contains the given values
the value to check
whether any entries of the map that contains the given values
Returns the keys of the map
the keys of the map
Static
ofConstruct a readonly range map instance
Optional
entries: [RangeMapKey | [number, number] | [number, number, boolean, boolean], V][]the map entries
whether to compare the ranges to all the ranges previously, to determine if there are any conflicts
a readonly multi value map instance
Readonly map with entries that contains a range key and a value
Author
David Hsing