stringset

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2018 License: Apache-2.0 Imports: 1 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 {
	sync.Mutex
	Set map[string]struct{}
}

func NewStringSet

func NewStringSet() *StringSet

func (*StringSet) Add

func (ss *StringSet) Add(s string)

func (*StringSet) AddAll

func (ss *StringSet) AddAll(s []string)

func (*StringSet) Contains

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

func (*StringSet) ContainsAll

func (ss *StringSet) ContainsAll(s []string) bool

func (*StringSet) ContainsAny

func (ss *StringSet) ContainsAny(s []string) bool

func (*StringSet) Empty

func (ss *StringSet) Empty() bool

func (*StringSet) Equal

func (ss *StringSet) Equal(second *StringSet) bool

func (*StringSet) ToStrings

func (ss *StringSet) ToStrings() []string

Jump to

Keyboard shortcuts

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