set

package
v0.0.0-...-4a512e1 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: ISC Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StringSet

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

func New

func New(entries ...string) *StringSet

func NewWithLength

func NewWithLength(length int) *StringSet

func (*StringSet) Contains

func (s *StringSet) Contains(v string) bool

func (*StringSet) Difference

func (s *StringSet) Difference(other *StringSet) *StringSet

func (*StringSet) Insert

func (s *StringSet) Insert(v string)

func (*StringSet) InsertMany

func (s *StringSet) InsertMany(vs ...string)

func (*StringSet) Intersect

func (s *StringSet) Intersect(other *StringSet) *StringSet

func (*StringSet) Length

func (s *StringSet) Length() int

func (*StringSet) Remove

func (s *StringSet) Remove(value string)

func (*StringSet) Union

func (s *StringSet) Union(other *StringSet) *StringSet

func (*StringSet) Values

func (s *StringSet) Values() []string

Jump to

Keyboard shortcuts

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