collections

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EmptyBitSet = NewBitSet(0, []byte{})

Functions

This section is empty.

Types

type BitSet

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

func NewBitSet

func NewBitSet(length int, b []byte) *BitSet

func (*BitSet) Bytes

func (bs *BitSet) Bytes() []byte

func (*BitSet) Clear

func (bs *BitSet) Clear(i int)

func (*BitSet) Equals

func (bs *BitSet) Equals(other *BitSet) bool

func (*BitSet) Get

func (bs *BitSet) Get(i int) bool

func (*BitSet) Len

func (bs *BitSet) Len() int

func (*BitSet) Set

func (bs *BitSet) Set(i int)

func (*BitSet) Slice

func (bs *BitSet) Slice(start, end int) *BitSet

func (*BitSet) String

func (path *BitSet) String() string

Jump to

Keyboard shortcuts

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