Documentation ¶
Index ¶
- type TIntSet
- func (set *TIntSet) Add(item ...int) *TIntSet
- func (set *TIntSet) Clear() *TIntSet
- func (set *TIntSet) Complement(full *TIntSet) (newSet *TIntSet)
- func (set *TIntSet) Contains(item int) bool
- func (set *TIntSet) Diff(others ...*TIntSet) (newSet *TIntSet)
- func (set *TIntSet) Equal(other *TIntSet) bool
- func (set *TIntSet) Intersect(others ...*TIntSet) (newSet *TIntSet)
- func (set *TIntSet) IsSubsetOf(other *TIntSet) bool
- func (set *TIntSet) Iterator(f func(v int) bool) *TIntSet
- func (set *TIntSet) Join(glue string) string
- func (set *TIntSet) LockFunc(f func(m map[int]struct{}))
- func (set *TIntSet) Merge(others ...*TIntSet) *TIntSet
- func (set *TIntSet) Pop(size int) int
- func (set *TIntSet) Pops(size int) []int
- func (set *TIntSet) RLockFunc(f func(m map[int]struct{}))
- func (set *TIntSet) Remove(item int) *TIntSet
- func (set *TIntSet) Size() int
- func (set *TIntSet) Slice() []int
- func (set *TIntSet) String() string
- func (set *TIntSet) Sum() (sum int)
- func (set *TIntSet) Union(others ...*TIntSet) (newSet *TIntSet)
- type TSet
- func (set *TSet) Add(item ...interface{}) *TSet
- func (set *TSet) Clear() *TSet
- func (set *TSet) Complement(full *TSet) (newTSet *TSet)
- func (set *TSet) Contains(item interface{}) bool
- func (set *TSet) Diff(others ...*TSet) (newTSet *TSet)
- func (set *TSet) Equal(other *TSet) bool
- func (set *TSet) Intersect(others ...*TSet) (newTSet *TSet)
- func (set *TSet) IsSubsetOf(other *TSet) bool
- func (set *TSet) Iterator(f func(v interface{}) bool) *TSet
- func (set *TSet) Join(glue string) string
- func (set *TSet) LockFunc(f func(m map[interface{}]struct{}))
- func (set *TSet) Merge(others ...*TSet) *TSet
- func (set *TSet) Pop(size int) interface{}
- func (set *TSet) Pops(size int) []interface{}
- func (set *TSet) RLockFunc(f func(m map[interface{}]struct{}))
- func (set *TSet) Remove(item interface{}) *TSet
- func (set *TSet) Size() int
- func (set *TSet) Slice() []interface{}
- func (set *TSet) String() string
- func (set *TSet) Sum() (sum int)
- func (set *TSet) Union(others ...*TSet) (newTSet *TSet)
- type TStrSet
- func (set *TStrSet) Add(item ...string) *TStrSet
- func (set *TStrSet) Clear() *TStrSet
- func (set *TStrSet) Complement(full *TStrSet) (newSet *TStrSet)
- func (set *TStrSet) Contains(item string) bool
- func (set *TStrSet) Diff(others ...*TStrSet) (newSet *TStrSet)
- func (set *TStrSet) Equal(other *TStrSet) bool
- func (set *TStrSet) Intersect(others ...*TStrSet) (newSet *TStrSet)
- func (set *TStrSet) IsSubsetOf(other *TStrSet) bool
- func (set *TStrSet) Iterator(f func(v string) bool) *TStrSet
- func (set *TStrSet) Join(glue string) string
- func (set *TStrSet) LockFunc(f func(m map[string]struct{}))
- func (set *TStrSet) Merge(others ...*TStrSet) *TStrSet
- func (set *TStrSet) Pop(size int) string
- func (set *TStrSet) Pops(size int) []string
- func (set *TStrSet) RLockFunc(f func(m map[string]struct{}))
- func (set *TStrSet) Remove(item string) *TStrSet
- func (set *TStrSet) Size() int
- func (set *TStrSet) Slice() []string
- func (set *TStrSet) String() string
- func (set *TStrSet) Sum() (sum int)
- func (set *TStrSet) Union(others ...*TStrSet) (newSet *TStrSet)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TIntSet ¶
type TIntSet struct {
// contains filtered or unexported fields
}
func NewIntSetFrom ¶
func (*TIntSet) Complement ¶
func (*TIntSet) IsSubsetOf ¶
type TSet ¶
type TSet struct {
// contains filtered or unexported fields
}
func (*TSet) Complement ¶
func (*TSet) IsSubsetOf ¶
type TStrSet ¶
type TStrSet struct {
// contains filtered or unexported fields
}
func NewStrSetFrom ¶
func (*TStrSet) Complement ¶
func (*TStrSet) IsSubsetOf ¶
Click to show internal directories.
Click to hide internal directories.