Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedBlackBST ¶
type RedBlackBST struct {
Root *Node
}
func NewEmptyRedBlackBST ¶
func NewEmptyRedBlackBST() RedBlackBST
func NewRedBlackBST ¶
func NewRedBlackBST(n *Node) RedBlackBST
func (*RedBlackBST) Contains ¶
func (bst *RedBlackBST) Contains(k Key) bool
func (*RedBlackBST) IsEmpty ¶
func (bst *RedBlackBST) IsEmpty() bool
func (*RedBlackBST) Put ¶
func (bst *RedBlackBST) Put(k Key, v Value)
func (*RedBlackBST) Size ¶
func (bst *RedBlackBST) Size() int
Click to show internal directories.
Click to hide internal directories.