Documentation ¶
Index ¶
- Constants
- type Node
- type Tree
- func (t *Tree) Clear()
- func (t *Tree) Delete(key int)
- func (t *Tree) Empty() bool
- func (t *Tree) Find(key int) interface{}
- func (t *Tree) FindIt(key int) *Node
- func (t *Tree) GetRoot() (*Node, error)
- func (t *Tree) Insert(key int, value interface{})
- func (t *Tree) Iterator() *Node
- func (t *Tree) Preorder()
- func (t *Tree) Size() int
Constants ¶
View Source
const ( RED = 0 BLACK = 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Tree ¶
type Tree struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.