zstringset

package
v0.5.3 Latest Latest
Warning

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

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

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() *StringSet

func (*StringSet) Add

func (s *StringSet) Add(items ...string)

func (*StringSet) Clear

func (s *StringSet) Clear()

func (*StringSet) Clone

func (s *StringSet) Clone() *StringSet

func (*StringSet) Complement

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

func (StringSet) Contains

func (s StringSet) Contains(items ...string) bool

func (*StringSet) Delete

func (s *StringSet) Delete(items ...string)

func (*StringSet) Items

func (s *StringSet) Items() (res []string)

func (*StringSet) Size

func (s *StringSet) Size() int

func (*StringSet) Union

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

Jump to

Keyboard shortcuts

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