//
pkg.gl
Category
github.com/agilebits/gods
trees
redblacktree
package
1.12.0
Repository:
https://github.com/agilebits/gods.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
0
Files
577 SLOC
#
Functions
NewWith
NewWith instantiates a red-black tree with the custom comparator.
NewWithIntComparator
NewWithIntComparator instantiates a red-black tree with the IntComparator, i.e.
NewWithStringComparator
NewWithStringComparator instantiates a red-black tree with the StringComparator, i.e.
#
Structs
Iterator
Iterator holding the iterator's state.
Node
Node is a single element within the tree.
Tree
Tree holds elements of the red-black tree.