setKit

package
v2.2.33 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSet

func NewSet[T comparable](threadSafe bool, args ...T) mapset.Set[T]

NewSet

PS: (1) Set: 无序;不允许重复.

@param threadSafe 是否goroutines安全?

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL