Documentation ¶
Index ¶
- type BitConstraint
- type Bitmap
- func (me *Bitmap[T]) Add(x T)
- func (me *Bitmap[T]) CheckedAdd(x T) bool
- func (me *Bitmap[T]) CheckedRemove(x T) bool
- func (me *Bitmap[T]) Clone() Bitmap[T]
- func (me *Bitmap[T]) Contains(x T) bool
- func (me Bitmap[T]) Iterate(f func(x T) bool)
- func (Bitmap[T]) IteratorType() Iterator[T]
- func (me *Bitmap[T]) Rank(x T) uint64
- func (me *Bitmap[T]) Remove(x T)
- type Iterator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BitConstraint ¶
type Bitmap ¶
type Bitmap[T BitConstraint] struct { roaring.Bitmap }
func (*Bitmap[T]) CheckedAdd ¶
func (*Bitmap[T]) CheckedRemove ¶
func (Bitmap[T]) IteratorType ¶
Returns an uninitialized iterator for the type of the receiver.
type Iterator ¶
type Iterator[T BitConstraint] struct { roaring.IntIterator }
func (*Iterator[T]) AdvanceIfNeeded ¶
func (t *Iterator[T]) AdvanceIfNeeded(minVal T)
func (*Iterator[T]) Initialize ¶
Click to show internal directories.
Click to hide internal directories.