Documentation
¶
Overview ¶
Package redblacktree 提供红黑树实现
Index ¶
- type Node
- type Tree
- func (t *Tree[K, V]) Ceiling(k K) *Node[K, V]
- func (t *Tree[K, V]) Clear()
- func (t *Tree[K, V]) Floor(k K) *Node[K, V]
- func (t *Tree[K, V]) Get(k K) (v V, exist bool)
- func (t *Tree[K, V]) Iterate(f func(k K, v V) bool)
- func (t *Tree[K, V]) Keys() (keys []K)
- func (t *Tree[K, V]) Left() *Node[K, V]
- func (t *Tree[K, V]) Put(k K, v V)
- func (t *Tree[K, V]) Remove(key K)
- func (t *Tree[K, V]) Right() *Node[K, V]
- func (t *Tree[K, V]) Set(k K, v V)
- func (t *Tree[K, V]) Size() int
- func (t *Tree[K, V]) Values() []V
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.