sortmap

package
v0.0.0-...-8a3c41b Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SortMap

type SortMap struct {

	// 保存所有key
	Keys []interface{}

	// k v存储
	Values map[interface{}]interface{}
	sync.RWMutex
}

func NewSortMap

func NewSortMap() *SortMap

func (*SortMap) Delete

func (sortMap *SortMap) Delete(key interface{})

func (*SortMap) Get

func (sortMap *SortMap) Get(key interface{}) interface{}

func (*SortMap) KeySet

func (sortMap *SortMap) KeySet() []interface{}

func (*SortMap) Set

func (sortMap *SortMap) Set(key interface{}, value interface{})

func (*SortMap) ValueSet

func (sortMap *SortMap) ValueSet() []interface{}

Jump to

Keyboard shortcuts

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