Documentation ¶
Index ¶
- Constants
- type Set
- func (s *Set) Add(items ...int) *Set
- func (s *Set) Contains(item int) bool
- func (s *Set) Copy() *Set
- func (s *Set) Intersect(t *Set) *Set
- func (s *Set) IsEmpty() bool
- func (s *Set) IsEqual(t *Set) bool
- func (s *Set) Remove(items ...int) *Set
- func (s *Set) Subtract(t *Set) *Set
- func (s *Set) ToSlice() []int
- func (s *Set) Union(t *Set) *Set
Constants ¶
View Source
const IntSize = 1 << IntSizeShift
View Source
const IntSizeShift = 5 + (^uint(0) >> 32 & 1)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.