Documentation ¶
Index ¶
- Constants
- type ISet2
- type IntSet
- func (s *IntSet) Add(x int)
- func (set *IntSet) AddAll(nums ...int)
- func (s *IntSet) Clear()
- func (s *IntSet) Copy() *IntSet
- func (s *IntSet) DifferenceWith(t *IntSet)
- func (s *IntSet) Elems() []int
- func (s *IntSet) Has(x int) bool
- func (s *IntSet) IntersectWith(t *IntSet)
- func (s *IntSet) Len() int
- func (s *IntSet) Remove(x int)
- func (s *IntSet) String() string
- func (s *IntSet) StringV2() string
- func (s *IntSet) SymmetricWith(t *IntSet)
- func (s *IntSet) UnionWith(t *IntSet)
Constants ¶
View Source
const Bit = 32 << (^uint(0) >> 63)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IntSet ¶
type IntSet struct {
// contains filtered or unexported fields
}
func (*IntSet) DifferenceWith ¶
func (*IntSet) IntersectWith ¶
func (*IntSet) SymmetricWith ¶
Click to show internal directories.
Click to hide internal directories.