stringset

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2017 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.RWMutex
	// contains filtered or unexported fields
}

func New

func New() *StringSet

func NewFromSlice

func NewFromSlice(slc []string) *StringSet

func (*StringSet) Add

func (s *StringSet) Add(val string)

func (*StringSet) Difference

func (s *StringSet) Difference(sSet *StringSet) *StringSet

func (*StringSet) Intersection

func (s *StringSet) Intersection(sSet *StringSet) *StringSet

func (*StringSet) Remove

func (s *StringSet) Remove(val string)

func (*StringSet) Slice

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

func (*StringSet) Union

func (s *StringSet) Union(sSet *StringSet) *StringSet

Jump to

Keyboard shortcuts

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