llrb

package module
v0.0.0-...-d9d1bfd Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2016 License: Apache-2.0 Imports: 2 Imported by: 0

README

LLRB - A Left-Leaning Red-Black Tree written in Golang

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RBTree

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

func NewFloat64RBTree

func NewFloat64RBTree() *RBTree

func NewIntRBTree

func NewIntRBTree() *RBTree

func NewLowerCaseRBTree

func NewLowerCaseRBTree() *RBTree

func NewRBTree

func NewRBTree(less func(a, b interface{}) bool) *RBTree

func (*RBTree) Delete

func (r *RBTree) Delete(k interface{}) bool

func (*RBTree) Do

func (r *RBTree) Do(function func(interface{}, interface{}))

func (*RBTree) Find

func (r *RBTree) Find(k interface{}) (interface{}, bool)

func (*RBTree) Insert

func (r *RBTree) Insert(k, v interface{}) bool

func (*RBTree) Len

func (r *RBTree) Len() int

Jump to

Keyboard shortcuts

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