Documentation ¶
Index ¶
- type StringSet
- func (s *StringSet) Contains(v string) bool
- func (s *StringSet) Difference(other *StringSet) *StringSet
- func (s *StringSet) Insert(v string)
- func (s *StringSet) InsertMany(vs ...string)
- func (s *StringSet) Intersect(other *StringSet) *StringSet
- func (s *StringSet) Length() int
- func (s *StringSet) Remove(value string)
- func (s *StringSet) Union(other *StringSet) *StringSet
- func (s *StringSet) Values() []string
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 NewWithLength ¶
func (*StringSet) Difference ¶
func (*StringSet) InsertMany ¶
Click to show internal directories.
Click to hide internal directories.