Documentation ¶
Index ¶
- type Set
- func (s *Set) Add(items ...uint)
- func (s *Set) Clear()
- func (s *Set) Clone() *Set
- func (s *Set) Complement(others ...Set)
- func (s Set) Contains(item uint) bool
- func (s Set) ContainsAll(items ...uint) bool
- func (s Set) ContainsAny(items ...uint) bool
- func (s *Set) Delete(items ...uint)
- func (s *Set) Items() (res []uint)
- 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 (*Set) Complement ¶ added in v0.7.0
func (Set) ContainsAll ¶ added in v0.8.0
func (Set) ContainsAny ¶ added in v0.8.0
Click to show internal directories.
Click to hide internal directories.