Documentation ¶
Index ¶
- Variables
- type Entry
- type Iterator
- type Key
- type OrdMap
- func (node *OrdMap) Entries() []Entry
- func (node *OrdMap) Get(key Key) (value Value, ok bool)
- func (node *OrdMap) Height() int
- func (node *OrdMap) Insert(key Key, value Value) *OrdMap
- func (node *OrdMap) Iterate() Iterator
- func (node *OrdMap) IterateFrom(k Key) Iterator
- func (node *OrdMap) IterateReverse() Iterator
- func (node *OrdMap) IterateReverseFrom(k Key) Iterator
- func (node *OrdMap) Len() int
- func (node *OrdMap) Max() *Entry
- func (node *OrdMap) Min() *Entry
- func (node *OrdMap) Remove(key Key) *OrdMap
- type Value
Constants ¶
This section is empty.
Variables ¶
View Source
var Template string
Functions ¶
This section is empty.
Types ¶
type OrdMap ¶
type OrdMap struct { Entry Entry // contains filtered or unexported fields }
func (*OrdMap) IterateFrom ¶
func (*OrdMap) IterateReverse ¶
func (*OrdMap) IterateReverseFrom ¶
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
examples
|
|
composite_index
DO NOT EDIT this code was generated using go-ordmap code generation go run github.com/edofic/go-ordmap/cmd/gen -name Index -key CompositeKey -value bool -target ./composite.go
|
DO NOT EDIT this code was generated using go-ordmap code generation go run github.com/edofic/go-ordmap/cmd/gen -name Index -key CompositeKey -value bool -target ./composite.go |
gen
DO NOT EDIT this code was generated using go-ordmap code generation go run github.com/edofic/go-ordmap/cmd/gen -name IntIntMap -key int -less < -value int -target ./int_int_map.go
|
DO NOT EDIT this code was generated using go-ordmap code generation go run github.com/edofic/go-ordmap/cmd/gen -name IntIntMap -key int -less < -value int -target ./int_int_map.go |
ptr_type
DO NOT EDIT this code was generated using go-ordmap code generation go run github.com/edofic/go-ordmap/cmd/gen -name MyMap -key int -less < -value *MyValue -target ./my_map.go
|
DO NOT EDIT this code was generated using go-ordmap code generation go run github.com/edofic/go-ordmap/cmd/gen -name MyMap -key int -less < -value *MyValue -target ./my_map.go |
Click to show internal directories.
Click to hide internal directories.