Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
NewGset Deprecated: 存储的元素类型为 interface{}.
@param safe 是否并发安全?
NewGsetFrom Deprecated: 存储的元素类型为 interface{}.
@param items (1) 切片实例(元素类型不限)
(2) 可以为nil
@param safe 是否并发安全?
Functions ¶
func NewSet ¶
func NewSet[T comparable](threadSafe bool, args ...T) mapset.Set[T]
NewSet
@param threadSafe 是否并发安全?
func NewSetFromMapKeys ¶
func NewSetFromMapKeys[T comparable, V any](threadSafe bool, val map[T]V) mapset.Set[T]
func NewSetWithSize ¶ added in v2.1.54
func NewSetWithSize[T comparable](threadSafe bool, cardinality int) mapset.Set[T]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.