treemap

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TreeMap

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

func New

func New(Compare compare.Compare) *TreeMap

New instantiates a hash map.

func (*TreeMap) Clear

func (tmap *TreeMap) Clear()

func (*TreeMap) Empty

func (tmap *TreeMap) Empty() bool

func (*TreeMap) Get

func (tmap *TreeMap) Get(key interface{}) (value interface{}, isfound bool)

func (*TreeMap) Keys

func (tmap *TreeMap) Keys() []interface{}

func (*TreeMap) Put

func (tmap *TreeMap) Put(key interface{}, value interface{})

Put inserts element into the map.

func (*TreeMap) Remove

func (tmap *TreeMap) Remove(key interface{})

func (*TreeMap) Size

func (tmap *TreeMap) Size() int

func (*TreeMap) String

func (tmap *TreeMap) String() string

func (*TreeMap) Values

func (tmap *TreeMap) Values() []interface{}

Jump to

Keyboard shortcuts

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