Replace the given logical position in the storage with
the given new items. This will move the gap to the area
being changed if the gap is not currently located at the
change location.
Parameters:
-
position - the location to make the replacement. This
is not the location in the underlying storage array, but
the location in the contiguous space being modeled.
-
rmSize - the number of items to remove
-
addItems - the new items to place in storage.