UnsetIterator creates a new IntPeekable to iterate over values in the range [start, end) that are NOT contained in the bitmap. The iterator becomes invalid if the bitmap is modified (e.g., with Add or Remove).
(start, end uint64)
| 1027 | // UnsetIterator creates a new IntPeekable to iterate over values in the range [start, end) that are NOT contained in the bitmap. |
| 1028 | // The iterator becomes invalid if the bitmap is modified (e.g., with Add or Remove). |
| 1029 | func (rb *Bitmap) UnsetIterator(start, end uint64) IntPeekable { |
| 1030 | p := new(unsetIterator) |
| 1031 | p.Initialize(rb, start, end) |
| 1032 | return p |
| 1033 | } |
| 1034 | |
| 1035 | // Clone creates a copy of the Bitmap |
| 1036 | func (rb *Bitmap) Clone() *Bitmap { |