edit
Run the edit action for each Value or null within the given range, to produce an alternative Value.
Long.MAX_VALUE must not occur within the span, which is ensured by the constraint start<= pastEnd. The stronger condition, start<pastEnd also prevents empty ranges.
Parameters
The start of the range to insert.
The index just past the end of the range to insert.
The function to evaluate to map from the old value of some range to a new value for that range. The input and/or output may be null, indicating an absent range.
Run the edit action for each Value or null within the given range, to produce an alternative Value. This form takes Int arguments as a convenience.
Parameters
The start of the range to insert.
The index just past the end of the range to insert.
The function to evaluate to map from the old value of some range to a new value for that range. The input and/or output may be null, indicating an absent range.