datastructure

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2020 License: Apache-2.0, BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RandomMap

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

func NewRandomMap

func NewRandomMap() *RandomMap

func (*RandomMap) Delete

func (rmap *RandomMap) Delete(key interface{}) (result interface{}, exists bool)

func (*RandomMap) Get

func (rmap *RandomMap) Get(key interface{}) (result interface{}, exists bool)

func (*RandomMap) RandomEntry

func (rmap *RandomMap) RandomEntry() (result interface{})

func (*RandomMap) Set

func (rmap *RandomMap) Set(key interface{}, value interface{}) (updated bool)

func (*RandomMap) Size

func (rmap *RandomMap) Size() (result int)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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