Clone creates a copy of the Bitmap
()
| 285 | |
| 286 | // Clone creates a copy of the Bitmap |
| 287 | func (rb *Bitmap) Clone() *Bitmap { |
| 288 | ptr := new(Bitmap) |
| 289 | ptr.highlowcontainer = *rb.highlowcontainer.clone() |
| 290 | return ptr |
| 291 | } |
| 292 | |
| 293 | // Minimum get the smallest value stored in this roaring bitmap, assumes that it is not empty |
| 294 | func (rb *Bitmap) Minimum() uint64 { |