Documentation ¶ Index ¶ type Set func New() *Set func (s *Set) Add(items ...int16) func (s *Set) Clear() func (s *Set) Clone() *Set func (s *Set) Complement(others ...Set) func (s Set) Contains(items ...int16) bool func (s *Set) Delete(items ...int16) func (s *Set) Items() (res []int16) func (s *Set) Size() int func (s *Set) Union(others ...Set) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Set ¶ added in v0.7.0 type Set struct { // contains filtered or unexported fields } func New ¶ func New() *Set func (*Set) Add ¶ added in v0.7.0 func (s *Set) Add(items ...int16) func (*Set) Clear ¶ added in v0.7.0 func (s *Set) Clear() func (*Set) Clone ¶ added in v0.7.0 func (s *Set) Clone() *Set func (*Set) Complement ¶ added in v0.7.0 func (s *Set) Complement(others ...Set) func (Set) Contains ¶ added in v0.7.0 func (s Set) Contains(items ...int16) bool func (*Set) Delete ¶ added in v0.7.0 func (s *Set) Delete(items ...int16) func (*Set) Items ¶ added in v0.7.0 func (s *Set) Items() (res []int16) func (*Set) Size ¶ added in v0.7.0 func (s *Set) Size() int func (*Set) Union ¶ added in v0.7.0 func (s *Set) Union(others ...Set) Source Files ¶ View all Source files main.go Click to show internal directories. Click to hide internal directories.