zintset

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IntSet

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

func New

func New() *IntSet

func (*IntSet) Add

func (s *IntSet) Add(items ...int)

func (*IntSet) Clear

func (s *IntSet) Clear()

func (*IntSet) Clone

func (s *IntSet) Clone() *IntSet

func (*IntSet) Complement

func (s *IntSet) Complement(others ...IntSet)

func (IntSet) Contains

func (s IntSet) Contains(items ...int) bool

func (*IntSet) Delete

func (s *IntSet) Delete(items ...int)

func (*IntSet) Items

func (s *IntSet) Items() (res []int)

func (*IntSet) Size

func (s *IntSet) Size() int

func (*IntSet) Union

func (s *IntSet) Union(others ...IntSet)

Jump to

Keyboard shortcuts

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