Versions in this module Expand all Collapse all v0 v0.1.3 Dec 11, 2025 Changes in this version + type BTree struct + func NewBTree[K Comparer[K], V any]() *BTree[K, V] + func (t *BTree[K, V]) Delete(key K) bool + func (t *BTree[K, V]) ForEach(callback func(key K, value V) bool) + func (t *BTree[K, V]) Insert(key K, value V) + func (t *BTree[K, V]) Iterate() *Iterator[K, V] + func (t *BTree[K, V]) Search(key K) (V, bool) + func (t *BTree[K, V]) SeekGE(target K) *Iterator[K, V] + func (t *BTree[K, V]) Size() int + func (t *BTree[K, V]) String() string + type Comparer interface + Compare func(other K) int + type Int64BTree struct + func NewInt64BTree[V any]() *Int64BTree[V] + func (t *Int64BTree[V]) BatchInsert(keys []int64, values []V) + func (t *Int64BTree[V]) Delete(key int64) bool + func (t *Int64BTree[V]) ForEach(callback func(key int64, value V) bool) + func (t *Int64BTree[V]) GetAll() iter.Seq2[int64, V] + func (t *Int64BTree[V]) Insert(key int64, value V) + func (t *Int64BTree[V]) RangeSearch(start, end int64) []V + func (t *Int64BTree[V]) Search(key int64) (V, bool) + func (t *Int64BTree[V]) Size() int + type Iterator struct + func (iter *Iterator[K, V]) Get() (K, V) + func (iter *Iterator[K, V]) Next() bool + func (iter *Iterator[K, V]) Valid() bool