Versions in this module Expand all Collapse all v1 v1.0.1 Sep 10, 2020 Changes in this version + type Int int + func (x Int) Less(than Item) bool + type Item interface + Less func(than Item) bool + func Inf(sign int) Item + type Iterator struct + func (it *Iterator) Read() Item + type LLRB struct + func New() *LLRB + func (t *LLRB) Ascend() *Iterator + func (t *LLRB) AscendAbove(pivot Item) *Iterator + func (t *LLRB) AscendAtOrAbove(pivot Item) *Iterator + func (t *LLRB) AscendAtOrBelow(pivot Item) *Iterator + func (t *LLRB) AscendBelow(pivot Item) *Iterator + func (t *LLRB) Delete(key Item) Item + func (t *LLRB) DeleteMax() Item + func (t *LLRB) DeleteMin() Item + func (t *LLRB) Descend() *Iterator + func (t *LLRB) DescendAbove(pivot Item) *Iterator + func (t *LLRB) DescendAtOrAbove(pivot Item) *Iterator + func (t *LLRB) DescendAtOrBelow(pivot Item) *Iterator + func (t *LLRB) DescendBelow(pivot Item) *Iterator + func (t *LLRB) Get(key Item) Item + func (t *LLRB) GetHeight(key Item) (result Item, depth int) + func (t *LLRB) Has(key Item) bool + func (t *LLRB) HeightStats() (avg, stddev float64) + func (t *LLRB) InsertNoReplace(item Item) + func (t *LLRB) InsertNoReplaceBulk(items ...Item) + func (t *LLRB) Len() int + func (t *LLRB) Max() Item + func (t *LLRB) Min() Item + func (t *LLRB) ReplaceOrInsert(item Item) Item + func (t *LLRB) ReplaceOrInsertBulk(items ...Item) + func (t *LLRB) Root() *Node + func (t *LLRB) SetRoot(r *Node) + type Node struct + Black bool + Left *Node + Right *Node + type String string + func (x String) Less(than Item) bool