redblacktree

package
v0.0.0-...-e532b39 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Black rbColor = iota
	Red
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Iterator

type Iterator interface {
	Next() bool
	KVPair(key string, data []byte)
}

type Tree

type Tree interface {
	Insert(key string, data []byte) error
	Remove(key string) (data []byte, err error)
	Size() int
	Exists(key string) (ok bool, err error)
}

func NewTree

func NewTree() Tree

Jump to

Keyboard shortcuts

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