Documentation ¶
Index ¶
- type HashSet
- func (s *HashSet) Add(v interface{})
- func (s *HashSet) AddAll(l ...interface{})
- func (s *HashSet) Clear()
- func (s *HashSet) Contains(v interface{}) bool
- func (s *HashSet) ContainsAll(l ...interface{}) bool
- func (s *HashSet) Len() int
- func (s *HashSet) Remove(v interface{})
- func (s *HashSet) RemoveAll(l ...interface{})
- func (s *HashSet) ToSlice() []interface{}
- type TreeSet
- func (s *TreeSet) Add(v interface{})
- func (s *TreeSet) AddAll(l ...interface{})
- func (s *TreeSet) Clear()
- func (s *TreeSet) Contains(v interface{}) bool
- func (s *TreeSet) ContainsAll(l ...interface{}) bool
- func (s *TreeSet) Len() int
- func (s *TreeSet) Remove(v interface{})
- func (s *TreeSet) RemoveAll(l ...interface{})
- func (s *TreeSet) ToSlice() []interface{}
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 NewTreeSet ¶
func (*TreeSet) ContainsAll ¶
Click to show internal directories.
Click to hide internal directories.