Documentation
¶
Index ¶
- type IntSet
- type StringSet
- func (s *StringSet) Add(val string) *StringSet
- func (s *StringSet) AddAll(vals []string) *StringSet
- func (s *StringSet) Clear()
- func (s *StringSet) Contains(val string) bool
- func (s *StringSet) Len() int
- func (s *StringSet) Range(fn func(val string))
- func (s *StringSet) Remove(val string)
- func (s *StringSet) ToArray() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IntSet ¶
type IntSet struct {
// contains filtered or unexported fields
}
func NewIntSetWithValues ¶
type StringSet ¶
type StringSet struct {
// contains filtered or unexported fields
}
func NewStringSet ¶
func NewStringSet() *StringSet
func NewStringSetWithValues ¶
Click to show internal directories.
Click to hide internal directories.