sortedmap

package
v0.0.0-...-e70b4cf Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Float64KeySortedMap

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

func NewFloat64KeySortedMap

func NewFloat64KeySortedMap() *Float64KeySortedMap

func (*Float64KeySortedMap) Contains

func (m *Float64KeySortedMap) Contains(key int) (ok bool)

func (*Float64KeySortedMap) Get

func (m *Float64KeySortedMap) Get(key float64) (val interface{}, ok bool)

func (*Float64KeySortedMap) Length

func (m *Float64KeySortedMap) Length() int

func (*Float64KeySortedMap) Put

func (m *Float64KeySortedMap) Put(key float64, val interface{})

func (*Float64KeySortedMap) Range

func (m *Float64KeySortedMap) Range(f func(key float64, val interface{}) (isContinue bool))

func (*Float64KeySortedMap) Remove

func (m *Float64KeySortedMap) Remove(key float64) (val interface{}, ok bool)

type IntKeySortedMap

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

func NewIntKeySortedMap

func NewIntKeySortedMap() *IntKeySortedMap

func (*IntKeySortedMap) Contains

func (m *IntKeySortedMap) Contains(key int) (ok bool)

func (*IntKeySortedMap) Get

func (m *IntKeySortedMap) Get(key int) (val interface{}, ok bool)

func (*IntKeySortedMap) Length

func (m *IntKeySortedMap) Length() int

func (*IntKeySortedMap) Put

func (m *IntKeySortedMap) Put(key int, val interface{})

func (*IntKeySortedMap) Range

func (m *IntKeySortedMap) Range(f func(val interface{}) (isContinue bool))

func (*IntKeySortedMap) Remove

func (m *IntKeySortedMap) Remove(key int) (val interface{}, ok bool)

type StringKeySortedMap

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

func NewStringKeySortedMap

func NewStringKeySortedMap() *StringKeySortedMap

func NewStringKeySortedMapWithBytesData

func NewStringKeySortedMapWithBytesData(data map[string][]byte) *StringKeySortedMap

func NewStringKeySortedMapWithData

func NewStringKeySortedMapWithData(data map[string]string) *StringKeySortedMap

func NewStringKeySortedMapWithInterfaceData

func NewStringKeySortedMapWithInterfaceData(data map[string]interface{}) *StringKeySortedMap

func (*StringKeySortedMap) Contains

func (m *StringKeySortedMap) Contains(key string) (ok bool)

func (*StringKeySortedMap) Get

func (m *StringKeySortedMap) Get(key string) (val interface{}, ok bool)

func (*StringKeySortedMap) Length

func (m *StringKeySortedMap) Length() int

func (*StringKeySortedMap) Put

func (m *StringKeySortedMap) Put(key string, val interface{})

func (*StringKeySortedMap) Range

func (m *StringKeySortedMap) Range(f func(key string, val interface{}) (isContinue bool))

func (*StringKeySortedMap) Remove

func (m *StringKeySortedMap) Remove(key string) (val interface{}, ok bool)

Jump to

Keyboard shortcuts

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