RemoveFullRange is equivalent to RemoveRange, except that if any key in the given range does not correspond to a segment, RemoveFullRange panics.
(r Range)
| 609 | // RemoveFullRange is equivalent to RemoveRange, except that if any key in the |
| 610 | // given range does not correspond to a segment, RemoveFullRange panics. |
| 611 | func (s *Set) RemoveFullRange(r Range) GapIterator { |
| 612 | return s.RemoveFullRangeWith(r, nil) |
| 613 | } |
| 614 | |
| 615 | // RemoveRangeWith removes all segments in the given range. An iterator to the |
| 616 | // newly formed gap is returned, and all existing iterators are invalidated. |