maputils

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FixedMap

type FixedMap struct {
	// contains filtered or unexported fields
}

func NewFixedMap

func NewFixedMap(maxSize int) *FixedMap

func (*FixedMap) Get

func (this *FixedMap) Get(key string) (value any, ok bool)

func (*FixedMap) Has

func (this *FixedMap) Has(key string) bool

func (*FixedMap) Reset

func (this *FixedMap) Reset()

func (*FixedMap) Set

func (this *FixedMap) Set(key string, item any)

func (*FixedMap) Size

func (this *FixedMap) Size() int

Jump to

Keyboard shortcuts

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