bitmap

package
v0.0.0-...-2db71d7 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: Apache-2.0 Imports: 2 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 (*Bitmap) Clone

func (bitmap *Bitmap) Clone() *Bitmap

func (*Bitmap) Has

func (bitmap *Bitmap) Has(num int) bool

func (*Bitmap) InterExist

func (bitmap *Bitmap) InterExist(bitmap2 *Bitmap) bool

func (*Bitmap) Or

func (bitmap *Bitmap) Or(bitmap2 *Bitmap)

func (*Bitmap) Pos1

func (bitmap *Bitmap) Pos1() []int

所有为1的Pos

func (*Bitmap) Set

func (bitmap *Bitmap) Set(num int) *Bitmap

func (*Bitmap) String

func (bitmap *Bitmap) String() string

func (*Bitmap) Xor

func (bitmap *Bitmap) Xor(bitmap2 *Bitmap)

Jump to

Keyboard shortcuts

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