Documentation ¶
Index ¶
- type AnyHashSet
- func (s AnyHashSet) Add(items ...interface{})
- func (s AnyHashSet) ContainAll(items ...interface{}) bool
- func (s AnyHashSet) ContainAny(items ...string) bool
- func (s AnyHashSet) Contains(item string) bool
- func (s AnyHashSet) Difference(o AnyHashSet) AnyHashSet
- func (s AnyHashSet) InterSection(o AnyHashSet) AnyHashSet
- func (s AnyHashSet) IsSubSet(o AnyHashSet) bool
- func (s AnyHashSet) IsSuperSet(o AnyHashSet) bool
- func (s AnyHashSet) Range(fn func(item interface{}))
- func (s AnyHashSet) Remove(items ...interface{})
- func (s AnyHashSet) Size() int
- func (s AnyHashSet) Union(o AnyHashSet) AnyHashSet
- func (s AnyHashSet) Values() []interface{}
- type ComparableBtreeSet
- type ComparableHashSet
- type IntSet
- type Set
- type StringBtreeSet
- func (s *StringBtreeSet) Add(items ...string)
- func (s *StringBtreeSet) ContainAll(items ...string) bool
- func (s *StringBtreeSet) ContainAny(items ...string) bool
- func (s *StringBtreeSet) Contains(item string) bool
- func (s *StringBtreeSet) Difference(o *StringBtreeSet) *StringBtreeSet
- func (s *StringBtreeSet) InterSection(o *StringBtreeSet) *StringBtreeSet
- func (s *StringBtreeSet) IsSubSet(o *StringBtreeSet) bool
- func (s *StringBtreeSet) IsSuperSet(o *StringBtreeSet) bool
- func (s *StringBtreeSet) Range(begin, end string, fn func(key string) bool)
- func (s *StringBtreeSet) RangeAll(fn func(item string))
- func (s *StringBtreeSet) Remove(items ...string)
- func (s *StringBtreeSet) Size() int
- func (s *StringBtreeSet) Union(o *StringBtreeSet) *StringBtreeSet
- func (s *StringBtreeSet) Values() []string
- type StringHashSet
- func (s StringHashSet) Add(items ...string)
- func (s StringHashSet) ContainAll(items ...string) bool
- func (s StringHashSet) ContainAny(items ...string) bool
- func (s StringHashSet) Contains(item string) bool
- func (s StringHashSet) Difference(o StringHashSet) StringHashSet
- func (s StringHashSet) InterSection(o StringHashSet) StringHashSet
- func (s StringHashSet) IsSubSet(o StringHashSet) bool
- func (s StringHashSet) IsSuperSet(o StringHashSet) bool
- func (s StringHashSet) Range(fn func(item string))
- func (s StringHashSet) Remove(items ...string)
- func (s StringHashSet) Size() int
- func (s StringHashSet) Union(o StringHashSet) StringHashSet
- func (s StringHashSet) Values() []string
- type StringItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnyHashSet ¶
type AnyHashSet map[interface{}]struct{}
func NewAnyHashSet ¶
func NewAnyHashSet(items ...interface{}) AnyHashSet
func (AnyHashSet) Add ¶
func (s AnyHashSet) Add(items ...interface{})
func (AnyHashSet) ContainAll ¶
func (s AnyHashSet) ContainAll(items ...interface{}) bool
func (AnyHashSet) ContainAny ¶
func (s AnyHashSet) ContainAny(items ...string) bool
func (AnyHashSet) Contains ¶
func (s AnyHashSet) Contains(item string) bool
func (AnyHashSet) Difference ¶
func (s AnyHashSet) Difference(o AnyHashSet) AnyHashSet
func (AnyHashSet) InterSection ¶
func (s AnyHashSet) InterSection(o AnyHashSet) AnyHashSet
func (AnyHashSet) IsSubSet ¶
func (s AnyHashSet) IsSubSet(o AnyHashSet) bool
func (AnyHashSet) IsSuperSet ¶
func (s AnyHashSet) IsSuperSet(o AnyHashSet) bool
func (AnyHashSet) Range ¶
func (s AnyHashSet) Range(fn func(item interface{}))
func (AnyHashSet) Remove ¶
func (s AnyHashSet) Remove(items ...interface{})
func (AnyHashSet) Size ¶
func (s AnyHashSet) Size() int
func (AnyHashSet) Union ¶
func (s AnyHashSet) Union(o AnyHashSet) AnyHashSet
func (AnyHashSet) Values ¶
func (s AnyHashSet) Values() []interface{}
type ComparableBtreeSet ¶
type ComparableBtreeSet struct {
// contains filtered or unexported fields
}
type ComparableHashSet ¶
type ComparableHashSet struct {
// contains filtered or unexported fields
}
type StringBtreeSet ¶
type StringBtreeSet struct {
// contains filtered or unexported fields
}
func NewStringBtreeSet ¶
func NewStringBtreeSet(items ...string) *StringBtreeSet
func (*StringBtreeSet) Add ¶
func (s *StringBtreeSet) Add(items ...string)
func (*StringBtreeSet) ContainAll ¶
func (s *StringBtreeSet) ContainAll(items ...string) bool
func (*StringBtreeSet) ContainAny ¶
func (s *StringBtreeSet) ContainAny(items ...string) bool
func (*StringBtreeSet) Contains ¶
func (s *StringBtreeSet) Contains(item string) bool
func (*StringBtreeSet) Difference ¶
func (s *StringBtreeSet) Difference(o *StringBtreeSet) *StringBtreeSet
func (*StringBtreeSet) InterSection ¶
func (s *StringBtreeSet) InterSection(o *StringBtreeSet) *StringBtreeSet
func (*StringBtreeSet) IsSubSet ¶
func (s *StringBtreeSet) IsSubSet(o *StringBtreeSet) bool
func (*StringBtreeSet) IsSuperSet ¶
func (s *StringBtreeSet) IsSuperSet(o *StringBtreeSet) bool
func (*StringBtreeSet) Range ¶
func (s *StringBtreeSet) Range(begin, end string, fn func(key string) bool)
func (*StringBtreeSet) RangeAll ¶
func (s *StringBtreeSet) RangeAll(fn func(item string))
func (*StringBtreeSet) Remove ¶
func (s *StringBtreeSet) Remove(items ...string)
func (*StringBtreeSet) Size ¶
func (s *StringBtreeSet) Size() int
func (*StringBtreeSet) Union ¶
func (s *StringBtreeSet) Union(o *StringBtreeSet) *StringBtreeSet
func (*StringBtreeSet) Values ¶
func (s *StringBtreeSet) Values() []string
type StringHashSet ¶
type StringHashSet map[string]struct{}
func NewStringHashSet ¶
func NewStringHashSet(items ...string) StringHashSet
func (StringHashSet) Add ¶
func (s StringHashSet) Add(items ...string)
func (StringHashSet) ContainAll ¶
func (s StringHashSet) ContainAll(items ...string) bool
func (StringHashSet) ContainAny ¶
func (s StringHashSet) ContainAny(items ...string) bool
func (StringHashSet) Contains ¶
func (s StringHashSet) Contains(item string) bool
func (StringHashSet) Difference ¶
func (s StringHashSet) Difference(o StringHashSet) StringHashSet
func (StringHashSet) InterSection ¶
func (s StringHashSet) InterSection(o StringHashSet) StringHashSet
func (StringHashSet) IsSubSet ¶
func (s StringHashSet) IsSubSet(o StringHashSet) bool
func (StringHashSet) IsSuperSet ¶
func (s StringHashSet) IsSuperSet(o StringHashSet) bool
func (StringHashSet) Range ¶
func (s StringHashSet) Range(fn func(item string))
func (StringHashSet) Remove ¶
func (s StringHashSet) Remove(items ...string)
func (StringHashSet) Size ¶
func (s StringHashSet) Size() int
func (StringHashSet) Union ¶
func (s StringHashSet) Union(o StringHashSet) StringHashSet
func (StringHashSet) Values ¶
func (s StringHashSet) Values() []string
type StringItem ¶
type StringItem string
Click to show internal directories.
Click to hide internal directories.