//
pkg.gl
Category
github.com/src-d/hercules
internal
rbtree
package
9.3.0+incompatible
Repository:
https://github.com/src-d/hercules.git
Documentation:
pkg.go.dev
Overview
Versions
3
Dependencies
6
Dependents
0
Files
896 SLOC
#
Functions
NewAllocator
NewAllocator creates a new allocator for RBTree's nodes.
NewRBTree
NewRBTree creates a new red-black binary tree.
#
Structs
Allocator
Allocator is the allocator for nodes in a RBTree.
Item
Item is the object stored in each tree node.
Iterator
Iterator allows scanning tree elements in sort order.
RBTree
RBTree is a red-black tree with an API similar to C++ STL's.