Versions in this module Expand all Collapse all v1 v1.0.2 Nov 14, 2018 Changes in this version type Set + func (s *Set) HasAny(items ...uint32) bool v1.0.1 Aug 28, 2018 Changes in this version type Set + func (s *Set) Pop2() (uint32, bool) v1.0.0 Aug 14, 2018 Changes in this version + type Set struct + func Difference(set1 *Set, sets ...*Set) *Set + func Intersection(sets ...*Set) *Set + func New(ts ...uint32) *Set + func NewWithSize(size int) *Set + func SymmetricDifference(s *Set, t *Set) *Set + func Union(sets ...*Set) *Set + func (s *Set) Add(items ...uint32) + func (s *Set) Clear() + func (s *Set) Copy() *Set + func (s *Set) Each(f func(item uint32) bool) + func (s *Set) Has(items ...uint32) bool + func (s *Set) IsEmpty() bool + func (s *Set) IsEqual(t *Set) bool + func (s *Set) IsSubset(t *Set) bool + func (s *Set) IsSuperset(t *Set) bool + func (s *Set) List() []uint32 + func (s *Set) Merge(t *Set) + func (s *Set) Pop() uint32 + func (s *Set) Remove(items ...uint32) + func (s *Set) Separate(t *Set) + func (s *Set) Size() int + func (s *Set) String() string