Documentation ¶
Overview ¶
package stringset is a simple implementation of finite sets of strings.
Index ¶
- type Set
- func (dst Set) Add(src Set)
- func (set Set) Clone() Set
- func (fst Set) Contains(snd Set) bool
- func (set Set) Empty() bool
- func (set Set) Has(el string) bool
- func (set Set) Insert(el string)
- func (dst Set) Intersect(src Set)
- func (fst Set) IntersectsWith(snd Set) bool
- func (set Set) Remove(el string)
- func (set Set) Size() int
- func (set Set) Slice() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Set ¶
func (Set) IntersectsWith ¶
Click to show internal directories.
Click to hide internal directories.