bitmap

package
v0.0.0-...-b51443a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2022 License: BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BitMap

type BitMap struct {
	// contains filtered or unexported fields
}

func New

func New(max int) *BitMap

func (*BitMap) Add

func (b *BitMap) Add(num uint)

func (*BitMap) IsExist

func (b *BitMap) IsExist(num uint) bool

func (*BitMap) Max

func (b *BitMap) Max() int

func (*BitMap) Remove

func (b *BitMap) Remove(num uint)

func (*BitMap) String

func (b *BitMap) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL