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 ...int64) bool v1.0.1 Aug 28, 2018 Changes in this version type Set + func (s *Set) Pop2() (int64, 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 ...int64) *Set + func NewWithSize(size int) *Set + func SymmetricDifference(s *Set, t *Set) *Set + func Union(sets ...*Set) *Set + func (s *Set) Add(items ...int64) + func (s *Set) Clear() + func (s *Set) Copy() *Set + func (s *Set) Each(f func(item int64) bool) + func (s *Set) Has(items ...int64) 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() []int64 + func (s *Set) Merge(t *Set) + func (s *Set) Pop() int64 + func (s *Set) Remove(items ...int64) + func (s *Set) Separate(t *Set) + func (s *Set) Size() int + func (s *Set) String() string