Documentation ¶
Index ¶
- type Set
- func (self *Set) Add(values ...interface{})
- func (self *Set) AddStrings(values ...string)
- func (self *Set) Copy() *Set
- func (self *Set) Difference(other_sets ...*Set) *Set
- func (self *Set) Have(value interface{}) bool
- func (self *Set) Intersection(other_sets ...*Set) *Set
- func (self *Set) Len() int
- func (self *Set) List() []interface{}
- func (self *Set) ListStrings() []string
- func (self *Set) ListStringsSorted() []string
- func (self *Set) Remove(values ...interface{})
- func (self *Set) Union(other_sets ...*Set) *Set
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Set ¶
type Set struct {
// contains filtered or unexported fields
}
func Difference ¶
func Intersection ¶
func NewSetString ¶
func NewSetString() *Set
func (*Set) AddStrings ¶
func (*Set) Difference ¶
func (*Set) Intersection ¶
func (*Set) ListStrings ¶
func (*Set) ListStringsSorted ¶
Click to show internal directories.
Click to hide internal directories.