zuintset

package
v0.8.7 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 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 Set added in v0.7.0

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

func New

func New() *Set

func (*Set) Add added in v0.7.0

func (s *Set) Add(items ...uint)

func (*Set) Clear added in v0.7.0

func (s *Set) Clear()

func (*Set) Clone added in v0.7.0

func (s *Set) Clone() *Set

func (*Set) Complement added in v0.7.0

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

func (Set) Contains added in v0.7.0

func (s Set) Contains(item uint) bool

func (Set) ContainsAll added in v0.8.0

func (s Set) ContainsAll(items ...uint) bool

func (Set) ContainsAny added in v0.8.0

func (s Set) ContainsAny(items ...uint) bool

func (*Set) Delete added in v0.7.0

func (s *Set) Delete(items ...uint)

func (*Set) Items added in v0.7.0

func (s *Set) Items() (res []uint)

func (*Set) Size added in v0.7.0

func (s *Set) Size() int

func (*Set) Union added in v0.7.0

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

Jump to

Keyboard shortcuts

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