orderedmap

package
v0.0.0-...-8135c48 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2016 License: MIT, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSkipList

func NewSkipList(lesser func(l, r interface{}) bool) *skiplistOrderedMap

Types

type GoogleBTree

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

func NewGoogleBTree

func NewGoogleBTree(lesser func(l, r interface{}) bool) *GoogleBTree

func (*GoogleBTree) Get

func (me *GoogleBTree) Get(key interface{}) interface{}

func (*GoogleBTree) GetOk

func (me *GoogleBTree) GetOk(key interface{}) (interface{}, bool)

func (*GoogleBTree) Iter

func (me *GoogleBTree) Iter(f func(value interface{}) bool)

func (*GoogleBTree) Len

func (me *GoogleBTree) Len() int

func (*GoogleBTree) Set

func (me *GoogleBTree) Set(key interface{}, value interface{})

func (*GoogleBTree) Unset

func (me *GoogleBTree) Unset(key interface{})

type Iter

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

func (*Iter) Next

func (me *Iter) Next() bool

func (*Iter) Value

func (me *Iter) Value() interface{}

type OrderedMap

type OrderedMap interface {
	Get(key interface{}) interface{}
	GetOk(key interface{}) (interface{}, bool)
	itertools.Iterable
	Set(key, value interface{})
	Unset(key interface{})
	Len() int
}

func New

func New(lesser func(l, r interface{}) bool) OrderedMap

Jump to

Keyboard shortcuts

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