Documentation
¶
Index ¶
- type BoolSet
- func (s BoolSet) Add(key bool)
- func (s BoolSet) AddAll(keys ...bool)
- func (s BoolSet) Contains(key bool) bool
- func (s BoolSet) Equal(s2 BoolSet) bool
- func (s BoolSet) Exist(key bool) bool
- func (s BoolSet) Intersect(s2 BoolSet) BoolSet
- func (s BoolSet) IsEmpty() bool
- func (s BoolSet) Minus(s2 BoolSet) BoolSet
- func (s BoolSet) MinusInPlace(s2 BoolSet)
- func (s BoolSet) Remove(key bool)
- func (s BoolSet) Size() int
- func (s BoolSet) ToList() []bool
- func (s BoolSet) Union(s2 BoolSet) BoolSet
- type Float32Set
- func (s Float32Set) Add(key float32)
- func (s Float32Set) AddAll(keys ...float32)
- func (s Float32Set) Contains(key float32) bool
- func (s Float32Set) Equal(s2 Float32Set) bool
- func (s Float32Set) Exist(key float32) bool
- func (s Float32Set) Intersect(s2 Float32Set) Float32Set
- func (s Float32Set) IsEmpty() bool
- func (s Float32Set) Minus(s2 Float32Set) Float32Set
- func (s Float32Set) MinusInPlace(s2 Float32Set)
- func (s Float32Set) Remove(key float32)
- func (s Float32Set) Size() int
- func (s Float32Set) ToList() []float32
- func (s Float32Set) Union(s2 Float32Set) Float32Set
- type Float64Set
- func (s Float64Set) Add(key float64)
- func (s Float64Set) AddAll(keys ...float64)
- func (s Float64Set) Contains(key float64) bool
- func (s Float64Set) Equal(s2 Float64Set) bool
- func (s Float64Set) Exist(key float64) bool
- func (s Float64Set) Intersect(s2 Float64Set) Float64Set
- func (s Float64Set) IsEmpty() bool
- func (s Float64Set) Minus(s2 Float64Set) Float64Set
- func (s Float64Set) MinusInPlace(s2 Float64Set)
- func (s Float64Set) Remove(key float64)
- func (s Float64Set) Size() int
- func (s Float64Set) ToList() []float64
- func (s Float64Set) Union(s2 Float64Set) Float64Set
- type Int16Set
- func (s Int16Set) Add(key int16)
- func (s Int16Set) AddAll(keys ...int16)
- func (s Int16Set) Contains(key int16) bool
- func (s Int16Set) Equal(s2 Int16Set) bool
- func (s Int16Set) Exist(key int16) bool
- func (s Int16Set) Intersect(s2 Int16Set) Int16Set
- func (s Int16Set) IsEmpty() bool
- func (s Int16Set) Minus(s2 Int16Set) Int16Set
- func (s Int16Set) MinusInPlace(s2 Int16Set)
- func (s Int16Set) Remove(key int16)
- func (s Int16Set) Size() int
- func (s Int16Set) ToList() []int16
- func (s Int16Set) Union(s2 Int16Set) Int16Set
- type Int32Set
- func (s Int32Set) Add(key int32)
- func (s Int32Set) AddAll(keys ...int32)
- func (s Int32Set) Contains(key int32) bool
- func (s Int32Set) Equal(s2 Int32Set) bool
- func (s Int32Set) Exist(key int32) bool
- func (s Int32Set) Intersect(s2 Int32Set) Int32Set
- func (s Int32Set) IsEmpty() bool
- func (s Int32Set) Minus(s2 Int32Set) Int32Set
- func (s Int32Set) MinusInPlace(s2 Int32Set)
- func (s Int32Set) Remove(key int32)
- func (s Int32Set) Size() int
- func (s Int32Set) ToList() []int32
- func (s Int32Set) Union(s2 Int32Set) Int32Set
- type Int64Set
- func (s Int64Set) Add(key int64)
- func (s Int64Set) AddAll(keys ...int64)
- func (s Int64Set) Contains(key int64) bool
- func (s Int64Set) Equal(s2 Int64Set) bool
- func (s Int64Set) Exist(key int64) bool
- func (s Int64Set) Intersect(s2 Int64Set) Int64Set
- func (s Int64Set) IsEmpty() bool
- func (s Int64Set) Minus(s2 Int64Set) Int64Set
- func (s Int64Set) MinusInPlace(s2 Int64Set)
- func (s Int64Set) Remove(key int64)
- func (s Int64Set) Size() int
- func (s Int64Set) ToList() []int64
- func (s Int64Set) Union(s2 Int64Set) Int64Set
- type Int8Set
- func (s Int8Set) Add(key int8)
- func (s Int8Set) AddAll(keys ...int8)
- func (s Int8Set) Contains(key int8) bool
- func (s Int8Set) Equal(s2 Int8Set) bool
- func (s Int8Set) Exist(key int8) bool
- func (s Int8Set) Intersect(s2 Int8Set) Int8Set
- func (s Int8Set) IsEmpty() bool
- func (s Int8Set) Minus(s2 Int8Set) Int8Set
- func (s Int8Set) MinusInPlace(s2 Int8Set)
- func (s Int8Set) Remove(key int8)
- func (s Int8Set) Size() int
- func (s Int8Set) ToList() []int8
- func (s Int8Set) Union(s2 Int8Set) Int8Set
- type IntSet
- func (s IntSet) Add(key int)
- func (s IntSet) AddAll(keys ...int)
- func (s IntSet) Contains(key int) bool
- func (s IntSet) Equal(s2 IntSet) bool
- func (s IntSet) Exist(key int) bool
- func (s IntSet) Intersect(s2 IntSet) IntSet
- func (s IntSet) IsEmpty() bool
- func (s IntSet) Minus(s2 IntSet) IntSet
- func (s IntSet) MinusInPlace(s2 IntSet)
- func (s IntSet) Remove(key int)
- func (s IntSet) Size() int
- func (s IntSet) ToList() []int
- func (s IntSet) Union(s2 IntSet) IntSet
- type StringSet
- func (s StringSet) Add(key string)
- func (s StringSet) AddAll(keys ...string)
- func (s StringSet) Contains(key string) bool
- func (s StringSet) Equal(s2 StringSet) bool
- func (s StringSet) Exist(key string) bool
- func (s StringSet) Intersect(s2 StringSet) StringSet
- func (s StringSet) IsEmpty() bool
- func (s StringSet) Minus(s2 StringSet) StringSet
- func (s StringSet) MinusInPlace(s2 StringSet)
- func (s StringSet) Remove(key string)
- func (s StringSet) Size() int
- func (s StringSet) ToList() []string
- func (s StringSet) Union(s2 StringSet) StringSet
- type Uint16Set
- func (s Uint16Set) Add(key uint16)
- func (s Uint16Set) AddAll(keys ...uint16)
- func (s Uint16Set) Contains(key uint16) bool
- func (s Uint16Set) Equal(s2 Uint16Set) bool
- func (s Uint16Set) Exist(key uint16) bool
- func (s Uint16Set) Intersect(s2 Uint16Set) Uint16Set
- func (s Uint16Set) IsEmpty() bool
- func (s Uint16Set) Minus(s2 Uint16Set) Uint16Set
- func (s Uint16Set) MinusInPlace(s2 Uint16Set)
- func (s Uint16Set) Remove(key uint16)
- func (s Uint16Set) Size() int
- func (s Uint16Set) ToList() []uint16
- func (s Uint16Set) Union(s2 Uint16Set) Uint16Set
- type Uint32Set
- func (s Uint32Set) Add(key uint32)
- func (s Uint32Set) AddAll(keys ...uint32)
- func (s Uint32Set) Contains(key uint32) bool
- func (s Uint32Set) Equal(s2 Uint32Set) bool
- func (s Uint32Set) Exist(key uint32) bool
- func (s Uint32Set) Intersect(s2 Uint32Set) Uint32Set
- func (s Uint32Set) IsEmpty() bool
- func (s Uint32Set) Minus(s2 Uint32Set) Uint32Set
- func (s Uint32Set) MinusInPlace(s2 Uint32Set)
- func (s Uint32Set) Remove(key uint32)
- func (s Uint32Set) Size() int
- func (s Uint32Set) ToList() []uint32
- func (s Uint32Set) Union(s2 Uint32Set) Uint32Set
- type Uint64Set
- func (s Uint64Set) Add(key uint64)
- func (s Uint64Set) AddAll(keys ...uint64)
- func (s Uint64Set) Contains(key uint64) bool
- func (s Uint64Set) Equal(s2 Uint64Set) bool
- func (s Uint64Set) Exist(key uint64) bool
- func (s Uint64Set) Intersect(s2 Uint64Set) Uint64Set
- func (s Uint64Set) IsEmpty() bool
- func (s Uint64Set) Minus(s2 Uint64Set) Uint64Set
- func (s Uint64Set) MinusInPlace(s2 Uint64Set)
- func (s Uint64Set) Remove(key uint64)
- func (s Uint64Set) Size() int
- func (s Uint64Set) ToList() []uint64
- func (s Uint64Set) Union(s2 Uint64Set) Uint64Set
- type Uint8Set
- func (s Uint8Set) Add(key uint8)
- func (s Uint8Set) AddAll(keys ...uint8)
- func (s Uint8Set) Contains(key uint8) bool
- func (s Uint8Set) Equal(s2 Uint8Set) bool
- func (s Uint8Set) Exist(key uint8) bool
- func (s Uint8Set) Intersect(s2 Uint8Set) Uint8Set
- func (s Uint8Set) IsEmpty() bool
- func (s Uint8Set) Minus(s2 Uint8Set) Uint8Set
- func (s Uint8Set) MinusInPlace(s2 Uint8Set)
- func (s Uint8Set) Remove(key uint8)
- func (s Uint8Set) Size() int
- func (s Uint8Set) ToList() []uint8
- func (s Uint8Set) Union(s2 Uint8Set) Uint8Set
- type UintSet
- func (s UintSet) Add(key uint)
- func (s UintSet) AddAll(keys ...uint)
- func (s UintSet) Contains(key uint) bool
- func (s UintSet) Equal(s2 UintSet) bool
- func (s UintSet) Exist(key uint) bool
- func (s UintSet) Intersect(s2 UintSet) UintSet
- func (s UintSet) IsEmpty() bool
- func (s UintSet) Minus(s2 UintSet) UintSet
- func (s UintSet) MinusInPlace(s2 UintSet)
- func (s UintSet) Remove(key uint)
- func (s UintSet) Size() int
- func (s UintSet) ToList() []uint
- func (s UintSet) Union(s2 UintSet) UintSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Float32Set ¶
type Float32Set map[float32]struct{}
func NewFloat32Set ¶
func NewFloat32Set(keys ...float32) Float32Set
func (Float32Set) Add ¶
func (s Float32Set) Add(key float32)
func (Float32Set) AddAll ¶
func (s Float32Set) AddAll(keys ...float32)
func (Float32Set) Contains ¶
func (s Float32Set) Contains(key float32) bool
func (Float32Set) Equal ¶
func (s Float32Set) Equal(s2 Float32Set) bool
func (Float32Set) Exist ¶
func (s Float32Set) Exist(key float32) bool
func (Float32Set) Intersect ¶
func (s Float32Set) Intersect(s2 Float32Set) Float32Set
func (Float32Set) IsEmpty ¶
func (s Float32Set) IsEmpty() bool
func (Float32Set) Minus ¶
func (s Float32Set) Minus(s2 Float32Set) Float32Set
func (Float32Set) MinusInPlace ¶
func (s Float32Set) MinusInPlace(s2 Float32Set)
func (Float32Set) Remove ¶
func (s Float32Set) Remove(key float32)
func (Float32Set) Size ¶
func (s Float32Set) Size() int
func (Float32Set) ToList ¶
func (s Float32Set) ToList() []float32
func (Float32Set) Union ¶
func (s Float32Set) Union(s2 Float32Set) Float32Set
type Float64Set ¶
type Float64Set map[float64]struct{}
func NewFloat64Set ¶
func NewFloat64Set(keys ...float64) Float64Set
func (Float64Set) Add ¶
func (s Float64Set) Add(key float64)
func (Float64Set) AddAll ¶
func (s Float64Set) AddAll(keys ...float64)
func (Float64Set) Contains ¶
func (s Float64Set) Contains(key float64) bool
func (Float64Set) Equal ¶
func (s Float64Set) Equal(s2 Float64Set) bool
func (Float64Set) Exist ¶
func (s Float64Set) Exist(key float64) bool
func (Float64Set) Intersect ¶
func (s Float64Set) Intersect(s2 Float64Set) Float64Set
func (Float64Set) IsEmpty ¶
func (s Float64Set) IsEmpty() bool
func (Float64Set) Minus ¶
func (s Float64Set) Minus(s2 Float64Set) Float64Set
func (Float64Set) MinusInPlace ¶
func (s Float64Set) MinusInPlace(s2 Float64Set)
func (Float64Set) Remove ¶
func (s Float64Set) Remove(key float64)
func (Float64Set) Size ¶
func (s Float64Set) Size() int
func (Float64Set) ToList ¶
func (s Float64Set) ToList() []float64
func (Float64Set) Union ¶
func (s Float64Set) Union(s2 Float64Set) Float64Set
type StringSet ¶
type StringSet map[string]struct{}
func NewStringSet ¶
func (StringSet) MinusInPlace ¶
type Uint16Set ¶
type Uint16Set map[uint16]struct{}
func NewUint16Set ¶
func (Uint16Set) MinusInPlace ¶
type Uint32Set ¶
type Uint32Set map[uint32]struct{}
func NewUint32Set ¶
func (Uint32Set) MinusInPlace ¶
type Uint64Set ¶
type Uint64Set map[uint64]struct{}
func NewUint64Set ¶
func (Uint64Set) MinusInPlace ¶
Click to show internal directories.
Click to hide internal directories.