sortedmap

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2015 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Element

type Element struct {
	Key   string
	Value interface{}
}

type Map

type Map struct {
	Indexes map[string]int
	Values  []Element
}

func New

func New() Map

func (*Map) Clear

func (m *Map) Clear()

func (*Map) DefGet

func (m *Map) DefGet(key string, def interface{}) interface{}

func (*Map) Delete

func (m *Map) Delete(key string)

func (*Map) Get

func (m *Map) Get(key string) interface{}

func (*Map) HasKey

func (m *Map) HasKey(key string) bool

func (*Map) Set

func (m *Map) Set(key string, value interface{})

Jump to

Keyboard shortcuts

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