Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tree ¶
AVL Tree.
func (*Tree[K, V]) Add ¶
func (t *Tree[K, V]) Add(key K, value V)
Add places key and value into tree, if key exists - its value will be replaced.
func (*Tree[K, V]) Clear ¶
func (t *Tree[K, V]) Clear()
Clear drops tree contents, by resetting root.
Click to show internal directories.
Click to hide internal directories.