concurrent_map

package
v0.0.0-...-35a4376 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConcurrentGenericMap

type ConcurrentGenericMap[Key comparable, Value any] struct {
	// contains filtered or unexported fields
}

func NewConcurrentGenericMap

func NewConcurrentGenericMap[Key comparable, Value any](mapLength int) *ConcurrentGenericMap[Key, Value]

func (*ConcurrentGenericMap[Key, Value]) Add

func (m *ConcurrentGenericMap[Key, Value]) Add(key Key, value Value)

func (*ConcurrentGenericMap[Key, Value]) Clear

func (m *ConcurrentGenericMap[Key, Value]) Clear()

func (*ConcurrentGenericMap[Key, Value]) Copy

func (m *ConcurrentGenericMap[Key, Value]) Copy() *ConcurrentGenericMap[Key, Value]

func (*ConcurrentGenericMap[Key, Value]) Delete

func (m *ConcurrentGenericMap[Key, Value]) Delete(key Key)

func (*ConcurrentGenericMap[Key, Value]) Find

func (m *ConcurrentGenericMap[Key, Value]) Find(key Key) Value

func (*ConcurrentGenericMap[Key, Value]) FindExists

func (m *ConcurrentGenericMap[Key, Value]) FindExists(key Key) (Value, bool)

func (*ConcurrentGenericMap[Key, Value]) Keys

func (m *ConcurrentGenericMap[Key, Value]) Keys() []Key

func (*ConcurrentGenericMap[Key, Value]) Len

func (m *ConcurrentGenericMap[Key, Value]) Len() int

Jump to

Keyboard shortcuts

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