Documentation
¶
Index ¶
- type Float32
- func (s *Float32) Add(num float32) *Float32
- func (s *Float32) Clear()
- func (s *Float32) Contains(num float32) bool
- func (s *Float32) GetList() []float32
- func (s *Float32) Intersection(s2 *Float32) *Float32
- func (s *Float32) Minus(s2 *Float32) *Float32
- func (s *Float32) Remove(num float32) bool
- func (s *Float32) Size() int
- func (s *Float32) Subset(s2 *Float32) bool
- func (s *Float32) Superset(s2 *Float32) bool
- func (s *Float32) Union(s2 *Float32) *Float32
- type Float32Sync
- func (s *Float32Sync) Add(num float32) *Float32Sync
- func (s *Float32Sync) Clear()
- func (s *Float32Sync) Contains(num float32) bool
- func (s *Float32Sync) GetList() []float32
- func (s *Float32Sync) Intersection(s2 *Float32Sync) *Float32Sync
- func (s *Float32Sync) Minus(s2 *Float32Sync) *Float32Sync
- func (s *Float32Sync) Remove(num float32) bool
- func (s *Float32Sync) Size() int
- func (s *Float32Sync) Subset(s2 *Float32Sync) bool
- func (s *Float32Sync) Superset(s2 *Float32Sync) bool
- func (s *Float32Sync) Union(s2 *Float32Sync) *Float32Sync
- type Float64
- func (s *Float64) Add(num float64) *Float64
- func (s *Float64) Clear()
- func (s *Float64) Contains(num float64) bool
- func (s *Float64) GetList() []float64
- func (s *Float64) Intersection(s2 *Float64) *Float64
- func (s *Float64) Minus(s2 *Float64) *Float64
- func (s *Float64) Remove(num float64) bool
- func (s *Float64) Size() int
- func (s *Float64) Subset(s2 *Float64) bool
- func (s *Float64) Superset(s2 *Float64) bool
- func (s *Float64) Union(s2 *Float64) *Float64
- type Float64Sync
- func (s *Float64Sync) Add(num float64) *Float64Sync
- func (s *Float64Sync) Clear()
- func (s *Float64Sync) Contains(num float64) bool
- func (s *Float64Sync) GetList() []float64
- func (s *Float64Sync) Intersection(s2 *Float64Sync) *Float64Sync
- func (s *Float64Sync) Minus(s2 *Float64Sync) *Float64Sync
- func (s *Float64Sync) Remove(num float64) bool
- func (s *Float64Sync) Size() int
- func (s *Float64Sync) Subset(s2 *Float64Sync) bool
- func (s *Float64Sync) Superset(s2 *Float64Sync) bool
- func (s *Float64Sync) Union(s2 *Float64Sync) *Float64Sync
- type Int
- func (s *Int) Add(num int) *Int
- func (s *Int) Clear()
- func (s *Int) Contains(num int) bool
- func (s *Int) GetList() []int
- func (s *Int) Intersection(s2 *Int) *Int
- func (s *Int) Minus(s2 *Int) *Int
- func (s *Int) Remove(num int) bool
- func (s *Int) Size() int
- func (s *Int) Subset(s2 *Int) bool
- func (s *Int) Superset(s2 *Int) bool
- func (s *Int) Union(s2 *Int) *Int
- type Int16
- func (s *Int16) Add(num int16) *Int16
- func (s *Int16) Clear()
- func (s *Int16) Contains(num int16) bool
- func (s *Int16) GetList() []int16
- func (s *Int16) Intersection(s2 *Int16) *Int16
- func (s *Int16) Minus(s2 *Int16) *Int16
- func (s *Int16) Remove(num int16) bool
- func (s *Int16) Size() int
- func (s *Int16) Subset(s2 *Int16) bool
- func (s *Int16) Superset(s2 *Int16) bool
- func (s *Int16) Union(s2 *Int16) *Int16
- type Int16Sync
- func (s *Int16Sync) Add(num int16) *Int16Sync
- func (s *Int16Sync) Clear()
- func (s *Int16Sync) Contains(num int16) bool
- func (s *Int16Sync) GetList() []int16
- func (s *Int16Sync) Intersection(s2 *Int16Sync) *Int16Sync
- func (s *Int16Sync) Minus(s2 *Int16Sync) *Int16Sync
- func (s *Int16Sync) Remove(num int16) bool
- func (s *Int16Sync) Size() int
- func (s *Int16Sync) Subset(s2 *Int16Sync) bool
- func (s *Int16Sync) Superset(s2 *Int16Sync) bool
- func (s *Int16Sync) Union(s2 *Int16Sync) *Int16Sync
- type Int32
- func (s *Int32) Add(num int32) *Int32
- func (s *Int32) Clear()
- func (s *Int32) Contains(num int32) bool
- func (s *Int32) GetList() []int32
- func (s *Int32) Intersection(s2 *Int32) *Int32
- func (s *Int32) Minus(s2 *Int32) *Int32
- func (s *Int32) Remove(num int32) bool
- func (s *Int32) Size() int
- func (s *Int32) Subset(s2 *Int32) bool
- func (s *Int32) Superset(s2 *Int32) bool
- func (s *Int32) Union(s2 *Int32) *Int32
- type Int32Sync
- func (s *Int32Sync) Add(num int32) *Int32Sync
- func (s *Int32Sync) Clear()
- func (s *Int32Sync) Contains(num int32) bool
- func (s *Int32Sync) GetList() []int32
- func (s *Int32Sync) Intersection(s2 *Int32Sync) *Int32Sync
- func (s *Int32Sync) Minus(s2 *Int32Sync) *Int32Sync
- func (s *Int32Sync) Remove(num int32) bool
- func (s *Int32Sync) Size() int
- func (s *Int32Sync) Subset(s2 *Int32Sync) bool
- func (s *Int32Sync) Superset(s2 *Int32Sync) bool
- func (s *Int32Sync) Union(s2 *Int32Sync) *Int32Sync
- type Int64
- func (s *Int64) Add(num int64) *Int64
- func (s *Int64) Clear()
- func (s *Int64) Contains(num int64) bool
- func (s *Int64) GetList() []int64
- func (s *Int64) Intersection(s2 *Int64) *Int64
- func (s *Int64) Minus(s2 *Int64) *Int64
- func (s *Int64) Remove(num int64) bool
- func (s *Int64) Size() int
- func (s *Int64) Subset(s2 *Int64) bool
- func (s *Int64) Superset(s2 *Int64) bool
- func (s *Int64) Union(s2 *Int64) *Int64
- type Int64Sync
- func (s *Int64Sync) Add(num int64) *Int64Sync
- func (s *Int64Sync) Clear()
- func (s *Int64Sync) Contains(num int64) bool
- func (s *Int64Sync) GetList() []int64
- func (s *Int64Sync) Intersection(s2 *Int64Sync) *Int64Sync
- func (s *Int64Sync) Minus(s2 *Int64Sync) *Int64Sync
- func (s *Int64Sync) Remove(num int64) bool
- func (s *Int64Sync) Size() int
- func (s *Int64Sync) Subset(s2 *Int64Sync) bool
- func (s *Int64Sync) Superset(s2 *Int64Sync) bool
- func (s *Int64Sync) Union(s2 *Int64Sync) *Int64Sync
- type Int8
- func (s *Int8) Add(num int8) *Int8
- func (s *Int8) Clear()
- func (s *Int8) Contains(num int8) bool
- func (s *Int8) GetList() []int8
- func (s *Int8) Intersection(s2 *Int8) *Int8
- func (s *Int8) Minus(s2 *Int8) *Int8
- func (s *Int8) Remove(num int8) bool
- func (s *Int8) Size() int
- func (s *Int8) Subset(s2 *Int8) bool
- func (s *Int8) Superset(s2 *Int8) bool
- func (s *Int8) Union(s2 *Int8) *Int8
- type Int8Sync
- func (s *Int8Sync) Add(num int8) *Int8Sync
- func (s *Int8Sync) Clear()
- func (s *Int8Sync) Contains(num int8) bool
- func (s *Int8Sync) GetList() []int8
- func (s *Int8Sync) Intersection(s2 *Int8Sync) *Int8Sync
- func (s *Int8Sync) Minus(s2 *Int8Sync) *Int8Sync
- func (s *Int8Sync) Remove(num int8) bool
- func (s *Int8Sync) Size() int
- func (s *Int8Sync) Subset(s2 *Int8Sync) bool
- func (s *Int8Sync) Superset(s2 *Int8Sync) bool
- func (s *Int8Sync) Union(s2 *Int8Sync) *Int8Sync
- type IntSync
- func (s *IntSync) Add(num int) *IntSync
- func (s *IntSync) Clear()
- func (s *IntSync) Contains(num int) bool
- func (s *IntSync) Intersection(s2 *IntSync) *IntSync
- func (s *IntSync) Minus(s2 *IntSync) *IntSync
- func (s *IntSync) Remove(num int) bool
- func (s *IntSync) Size() int
- func (s *IntSync) Subset(s2 *IntSync) bool
- func (s *IntSync) Superset(s2 *IntSync) bool
- func (s *IntSync) Union(s2 *IntSync) *IntSync
- type Str
- func (s *Str) Add(str string) *Str
- func (s *Str) Clear()
- func (s *Str) Contains(str string) bool
- func (s *Str) GetList() []string
- func (s *Str) Intersection(s2 *Str) *Str
- func (s *Str) Minus(s2 *Str) *Str
- func (s *Str) Remove(str string) bool
- func (s *Str) Size() int
- func (s *Str) Subset(s2 *Str) bool
- func (s *Str) Superset(s2 *Str) bool
- func (s *Str) Union(s2 *Str) *Str
- type StrSync
- func (s *StrSync) Add(str string) *StrSync
- func (s *StrSync) Clear()
- func (s *StrSync) Contains(str string) bool
- func (s *StrSync) GetList() []string
- func (s *StrSync) Intersection(s2 *StrSync) *StrSync
- func (s *StrSync) Minus(s2 *StrSync) *StrSync
- func (s *StrSync) Remove(str string) bool
- func (s *StrSync) Size() int
- func (s *StrSync) Subset(s2 *StrSync) bool
- func (s *StrSync) Superset(s2 *StrSync) bool
- func (s *StrSync) Union(s2 *StrSync) *StrSync
- type Uint
- func (s *Uint) Add(num uint) *Uint
- func (s *Uint) Clear()
- func (s *Uint) Contains(num uint) bool
- func (s *Uint) GetList() []uint
- func (s *Uint) Intersection(s2 *Uint) *Uint
- func (s *Uint) Minus(s2 *Uint) *Uint
- func (s *Uint) Remove(num uint) bool
- func (s *Uint) Size() int
- func (s *Uint) Subset(s2 *Uint) bool
- func (s *Uint) Superset(s2 *Uint) bool
- func (s *Uint) Union(s2 *Uint) *Uint
- type Uint16
- func (s *Uint16) Add(num uint16) *Uint16
- func (s *Uint16) Clear()
- func (s *Uint16) Contains(num uint16) bool
- func (s *Uint16) GetList() []uint16
- func (s *Uint16) Intersection(s2 *Uint16) *Uint16
- func (s *Uint16) Minus(s2 *Uint16) *Uint16
- func (s *Uint16) Remove(num uint16) bool
- func (s *Uint16) Size() int
- func (s *Uint16) Subset(s2 *Uint16) bool
- func (s *Uint16) Superset(s2 *Uint16) bool
- func (s *Uint16) Union(s2 *Uint16) *Uint16
- type Uint16Sync
- func (s *Uint16Sync) Add(num uint16) *Uint16Sync
- func (s *Uint16Sync) Clear()
- func (s *Uint16Sync) Contains(num uint16) bool
- func (s *Uint16Sync) GetList() []uint16
- func (s *Uint16Sync) Intersection(s2 *Uint16Sync) *Uint16Sync
- func (s *Uint16Sync) Minus(s2 *Uint16Sync) *Uint16Sync
- func (s *Uint16Sync) Remove(num uint16) bool
- func (s *Uint16Sync) Size() int
- func (s *Uint16Sync) Subset(s2 *Uint16Sync) bool
- func (s *Uint16Sync) Superset(s2 *Uint16Sync) bool
- func (s *Uint16Sync) Union(s2 *Uint16Sync) *Uint16Sync
- type Uint32
- func (s *Uint32) Add(num uint32) *Uint32
- func (s *Uint32) Clear()
- func (s *Uint32) Contains(num uint32) bool
- func (s *Uint32) GetList() []uint32
- func (s *Uint32) Intersection(s2 *Uint32) *Uint32
- func (s *Uint32) Minus(s2 *Uint32) *Uint32
- func (s *Uint32) Remove(num uint32) bool
- func (s *Uint32) Size() int
- func (s *Uint32) Subset(s2 *Uint32) bool
- func (s *Uint32) Superset(s2 *Uint32) bool
- func (s *Uint32) Union(s2 *Uint32) *Uint32
- type Uint32Sync
- func (s *Uint32Sync) Add(num uint32) *Uint32Sync
- func (s *Uint32Sync) Clear()
- func (s *Uint32Sync) Contains(num uint32) bool
- func (s *Uint32Sync) GetList() []uint32
- func (s *Uint32Sync) Intersection(s2 *Uint32Sync) *Uint32Sync
- func (s *Uint32Sync) Minus(s2 *Uint32Sync) *Uint32Sync
- func (s *Uint32Sync) Remove(num uint32) bool
- func (s *Uint32Sync) Size() int
- func (s *Uint32Sync) Subset(s2 *Uint32Sync) bool
- func (s *Uint32Sync) Superset(s2 *Uint32Sync) bool
- func (s *Uint32Sync) Union(s2 *Uint32Sync) *Uint32Sync
- type Uint64
- func (s *Uint64) Add(num uint64) *Uint64
- func (s *Uint64) Clear()
- func (s *Uint64) Contains(num uint64) bool
- func (s *Uint64) GetList() []uint64
- func (s *Uint64) Intersection(s2 *Uint64) *Uint64
- func (s *Uint64) Minus(s2 *Uint64) *Uint64
- func (s *Uint64) Remove(num uint64) bool
- func (s *Uint64) Size() int
- func (s *Uint64) Subset(s2 *Uint64) bool
- func (s *Uint64) Superset(s2 *Uint64) bool
- func (s *Uint64) Union(s2 *Uint64) *Uint64
- type Uint64Sync
- func (s *Uint64Sync) Add(num uint64) *Uint64Sync
- func (s *Uint64Sync) Clear()
- func (s *Uint64Sync) Contains(num uint64) bool
- func (s *Uint64Sync) GetList() []uint64
- func (s *Uint64Sync) Intersection(s2 *Uint64Sync) *Uint64Sync
- func (s *Uint64Sync) Minus(s2 *Uint64Sync) *Uint64Sync
- func (s *Uint64Sync) Remove(num uint64) bool
- func (s *Uint64Sync) Size() int
- func (s *Uint64Sync) Subset(s2 *Uint64Sync) bool
- func (s *Uint64Sync) Superset(s2 *Uint64Sync) bool
- func (s *Uint64Sync) Union(s2 *Uint64Sync) *Uint64Sync
- type Uint8
- func (s *Uint8) Add(num uint8) *Uint8
- func (s *Uint8) Clear()
- func (s *Uint8) Contains(num uint8) bool
- func (s *Uint8) GetList() []uint8
- func (s *Uint8) Intersection(s2 *Uint8) *Uint8
- func (s *Uint8) Minus(s2 *Uint8) *Uint8
- func (s *Uint8) Remove(num uint8) bool
- func (s *Uint8) Size() int
- func (s *Uint8) Subset(s2 *Uint8) bool
- func (s *Uint8) Superset(s2 *Uint8) bool
- func (s *Uint8) Union(s2 *Uint8) *Uint8
- type Uint8Sync
- func (s *Uint8Sync) Add(num uint8) *Uint8Sync
- func (s *Uint8Sync) Clear()
- func (s *Uint8Sync) Contains(num uint8) bool
- func (s *Uint8Sync) GetList() []uint8
- func (s *Uint8Sync) Intersection(s2 *Uint8Sync) *Uint8Sync
- func (s *Uint8Sync) Minus(s2 *Uint8Sync) *Uint8Sync
- func (s *Uint8Sync) Remove(num uint8) bool
- func (s *Uint8Sync) Size() int
- func (s *Uint8Sync) Subset(s2 *Uint8Sync) bool
- func (s *Uint8Sync) Superset(s2 *Uint8Sync) bool
- func (s *Uint8Sync) Union(s2 *Uint8Sync) *Uint8Sync
- type UintSync
- func (s *UintSync) Add(num uint) *UintSync
- func (s *UintSync) Clear()
- func (s *UintSync) Contains(num uint) bool
- func (s *UintSync) GetList() []uint
- func (s *UintSync) Intersection(s2 *UintSync) *UintSync
- func (s *UintSync) Minus(s2 *UintSync) *UintSync
- func (s *UintSync) Remove(num uint) bool
- func (s *UintSync) Size() int
- func (s *UintSync) Subset(s2 *UintSync) bool
- func (s *UintSync) Superset(s2 *UintSync) bool
- func (s *UintSync) Union(s2 *UintSync) *UintSync
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Float32 ¶
type Float32 struct {
// contains filtered or unexported fields
}
Float32 struct
func (*Float32) Intersection ¶
Intersection returns common items in S and S2
type Float32Sync ¶
Float32Sync - struct
func NewFloat32Sync ¶
func NewFloat32Sync(nums []float32) *Float32Sync
NewFloat32Sync creates new set
func (*Float32Sync) Contains ¶
func (s *Float32Sync) Contains(num float32) bool
Contains - Check if item exists in set
func (*Float32Sync) Intersection ¶
func (s *Float32Sync) Intersection(s2 *Float32Sync) *Float32Sync
Intersection returns common items in S and S2
func (*Float32Sync) Minus ¶
func (s *Float32Sync) Minus(s2 *Float32Sync) *Float32Sync
Minus - s.Minus(s2) : all of S but not in S2
func (*Float32Sync) Subset ¶
func (s *Float32Sync) Subset(s2 *Float32Sync) bool
Subset checks if S is subset of S2
func (*Float32Sync) Superset ¶
func (s *Float32Sync) Superset(s2 *Float32Sync) bool
Superset checks if S is superset of S2
func (*Float32Sync) Union ¶
func (s *Float32Sync) Union(s2 *Float32Sync) *Float32Sync
Union returns all the items that are in S or in S2
type Float64 ¶
type Float64 struct {
// contains filtered or unexported fields
}
Float64 - struct
func (*Float64) Intersection ¶
Intersection returns common items in S and S2
type Float64Sync ¶
Float64Sync - struct
func (*Float64Sync) Contains ¶
func (s *Float64Sync) Contains(num float64) bool
Contains - Check if item exists in set
func (*Float64Sync) Intersection ¶
func (s *Float64Sync) Intersection(s2 *Float64Sync) *Float64Sync
Intersection get common items in S and S2
func (*Float64Sync) Minus ¶
func (s *Float64Sync) Minus(s2 *Float64Sync) *Float64Sync
Minus - s.Minus(s2) : all of S but not in S2
func (*Float64Sync) Subset ¶
func (s *Float64Sync) Subset(s2 *Float64Sync) bool
Subset checks if S is subset of S2
func (*Float64Sync) Superset ¶
func (s *Float64Sync) Superset(s2 *Float64Sync) bool
Superset checks if S is superset of S2
func (*Float64Sync) Union ¶
func (s *Float64Sync) Union(s2 *Float64Sync) *Float64Sync
Union returns all the items that are in S or in S2
type Int ¶
type Int struct {
// contains filtered or unexported fields
}
Int - struct
func (*Int) Intersection ¶
Intersection - Common items in S and S2
type Int16 ¶
type Int16 struct {
// contains filtered or unexported fields
}
Int16 - struct
func (*Int16) Intersection ¶
Intersection returns common items in S and S2
type Int16Sync ¶
Int16Sync - struct
func (*Int16Sync) Intersection ¶
Intersection returns common items in S and S2
type Int32 ¶
type Int32 struct {
// contains filtered or unexported fields
}
Int32 - struct
func (*Int32) Intersection ¶
Intersection returns common items in S and S2
type Int32Sync ¶
Int32Sync - struct
func (*Int32Sync) Intersection ¶
Intersection returns common items in S and S2
type Int64 ¶
type Int64 struct {
// contains filtered or unexported fields
}
Int64 - struct
func (*Int64) Intersection ¶
Intersection returns common items in S and S2
type Int64Sync ¶
Int64Sync - struct
func (*Int64Sync) Intersection ¶
Intersection returns common items in S and S2
type Int8 ¶
type Int8 struct {
// contains filtered or unexported fields
}
Int8 - struct
func (*Int8) Intersection ¶
Intersection returns common items in S and S2
type Int8Sync ¶
Int8Sync - struct
func (*Int8Sync) Intersection ¶
Intersection returns common items in S and S2
type IntSync ¶
IntSync - struct
func (*IntSync) Intersection ¶
Intersection returns common items in S and S2
type Str ¶
type Str struct {
// contains filtered or unexported fields
}
Str - struct
func (*Str) Intersection ¶
Intersection returns common items in S and S2
type StrSync ¶
StrSync - struct
func (*StrSync) Intersection ¶
Intersection returns common items in S and S2
type Uint ¶
type Uint struct {
// contains filtered or unexported fields
}
Uint - struct
func (*Uint) Intersection ¶
Intersection returns common items in S and S2
type Uint16 ¶
type Uint16 struct {
// contains filtered or unexported fields
}
Uint16 - struct
func (*Uint16) Intersection ¶
Intersection returns common items in S and S2
type Uint16Sync ¶
Uint16Sync - struct
func (*Uint16Sync) Contains ¶
func (s *Uint16Sync) Contains(num uint16) bool
Contains - Check if item exists in set
func (*Uint16Sync) Intersection ¶
func (s *Uint16Sync) Intersection(s2 *Uint16Sync) *Uint16Sync
Intersection returns common items in S and S2
func (*Uint16Sync) Minus ¶
func (s *Uint16Sync) Minus(s2 *Uint16Sync) *Uint16Sync
Minus - s.Minus(s2) : all of S but not in S2
func (*Uint16Sync) Subset ¶
func (s *Uint16Sync) Subset(s2 *Uint16Sync) bool
Subset checks if S is subset of S2
func (*Uint16Sync) Superset ¶
func (s *Uint16Sync) Superset(s2 *Uint16Sync) bool
Superset checks if S is superset of S2
func (*Uint16Sync) Union ¶
func (s *Uint16Sync) Union(s2 *Uint16Sync) *Uint16Sync
Union returns all the items that are in S or in S2
type Uint32 ¶
type Uint32 struct {
// contains filtered or unexported fields
}
Uint32 - struct
func (*Uint32) Intersection ¶
Intersection returns common items in S and S2
type Uint32Sync ¶
Uint32Sync - struct
func (*Uint32Sync) Contains ¶
func (s *Uint32Sync) Contains(num uint32) bool
Contains - Check if item exists in set
func (*Uint32Sync) Intersection ¶
func (s *Uint32Sync) Intersection(s2 *Uint32Sync) *Uint32Sync
Intersection returns common items in S and S2
func (*Uint32Sync) Minus ¶
func (s *Uint32Sync) Minus(s2 *Uint32Sync) *Uint32Sync
Minus - s.Minus(s2) : all of S but not in S2
func (*Uint32Sync) Subset ¶
func (s *Uint32Sync) Subset(s2 *Uint32Sync) bool
Subset checks if S is subset of S2
func (*Uint32Sync) Superset ¶
func (s *Uint32Sync) Superset(s2 *Uint32Sync) bool
Superset checks if S is superset of S2
func (*Uint32Sync) Union ¶
func (s *Uint32Sync) Union(s2 *Uint32Sync) *Uint32Sync
Union returns all the items that are in S or in S2
type Uint64 ¶
type Uint64 struct {
// contains filtered or unexported fields
}
Uint64 - struct
func (*Uint64) Intersection ¶
Intersection returns common items in S and S2
type Uint64Sync ¶
Uint64Sync - struct
func (*Uint64Sync) Contains ¶
func (s *Uint64Sync) Contains(num uint64) bool
Contains - Check if item exists in set
func (*Uint64Sync) Intersection ¶
func (s *Uint64Sync) Intersection(s2 *Uint64Sync) *Uint64Sync
Intersection returns common items in S and S2
func (*Uint64Sync) Minus ¶
func (s *Uint64Sync) Minus(s2 *Uint64Sync) *Uint64Sync
Minus - s.Minus(s2) : all of S but not in S2
func (*Uint64Sync) Subset ¶
func (s *Uint64Sync) Subset(s2 *Uint64Sync) bool
Subset checks if S is subset of S2
func (*Uint64Sync) Superset ¶
func (s *Uint64Sync) Superset(s2 *Uint64Sync) bool
Superset checks if S is superset of S2
func (*Uint64Sync) Union ¶
func (s *Uint64Sync) Union(s2 *Uint64Sync) *Uint64Sync
Union returns all the items that are in S or in S2
type Uint8 ¶
type Uint8 struct {
// contains filtered or unexported fields
}
Uint8 - struct
func (*Uint8) Intersection ¶
Intersection returns common items in S and S2
type Uint8Sync ¶
Uint8Sync - struct
func (*Uint8Sync) Intersection ¶
Intersection returns common items in S and S2
type UintSync ¶
UintSync - struct
func (*UintSync) Intersection ¶
Intersection returns common items in S and S2
Source Files
¶
- setfloat32.go
- setfloat32sync.go
- setfloat64.go
- setfloat64sync.go
- setint.go
- setint16.go
- setint16sync.go
- setint32.go
- setint32sync.go
- setint64.go
- setint64sync.go
- setint8.go
- setint8sync.go
- setintsync.go
- setstr.go
- setstrsync.go
- setuint.go
- setuint16.go
- setuint16sync.go
- setuint32.go
- setuint32sync.go
- setuint64.go
- setuint64sync.go
- setuint8.go
- setuint8sync.go
- setuintsync.go