set

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

README

set GoDoc test Go Report Card codecov Maintainability Apache 2 licensed

Refer to go package documentation for details.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Map

type Map interface {
	Set
	Get(key any) any
	AddKV(key, value any)
	IterateValues() <-chan any
}

func NewConcurrentMap

func NewConcurrentMap(capacity int) Map

func NewMap

func NewMap(capacity int) Map

type Set

type Set interface {
	Capacity() int
	Size() int
	Has(key any) bool
	Add(key any)
	Remove(key any)
	Iterate() <-chan any
	Clear()
}

func NewConcurrentSet

func NewConcurrentSet(capacity int) Set

func NewSet

func NewSet(capacity int) Set

Jump to

Keyboard shortcuts

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