Documentation ¶
Index ¶
- type Element
- type HashSet
- func (s *HashSet) Add(v Element)
- func (s *HashSet) AddAll(l ...Element)
- func (s *HashSet) Clear()
- func (s *HashSet) Contains(v Element) bool
- func (s *HashSet) ContainsAll(l ...Element) bool
- func (s *HashSet) Len() int
- func (s *HashSet) Remove(v Element)
- func (s *HashSet) RemoveAll(l ...Element)
- func (s *HashSet) ToSlice() []Element
- type TreeSet
- func (s *TreeSet) Add(v Element)
- func (s *TreeSet) AddAll(l ...Element)
- func (s *TreeSet) Clear()
- func (s *TreeSet) Contains(v Element) bool
- func (s *TreeSet) ContainsAll(l ...Element) bool
- func (s *TreeSet) Len() int
- func (s *TreeSet) Remove(v Element)
- func (s *TreeSet) RemoveAll(l ...Element)
- func (s *TreeSet) ToSlice() []Element
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HashSet ¶
type HashSet struct {
// contains filtered or unexported fields
}
func NewHashSet ¶
func NewHashSet() *HashSet
func (*HashSet) ContainsAll ¶
type TreeSet ¶
type TreeSet struct {
// contains filtered or unexported fields
}
func (*TreeSet) ContainsAll ¶
Click to show internal directories.
Click to hide internal directories.