Versions in this module Expand all Collapse all v1 v1.0.0 Mar 27, 2026 Changes in this version + type Dump struct + Data map[string]interface{} + KeyType string + type GetByKeyRangeOptions struct + ExcludeEnd bool + ExcludeStart bool + Limit int + Remove bool + type Level struct + type Node struct + func (s *Node[K, V]) Key() K + func (s *Node[K, V]) Value() V + type SafeSortedSet struct + func NewSafeSortedSet[K comparable, V comparable](c comparator.Comparator) *SafeSortedSet[K, V] + func (s *SafeSortedSet[K, V]) Contains(value V) bool + func (s *SafeSortedSet[K, V]) Dump(makeDump func(key K, value V) (string, string, error)) (string, error) + func (s *SafeSortedSet[K, V]) FindRank(value V) int + func (s *SafeSortedSet[K, V]) GetByKeyRange(start K, end K, options *GetByKeyRangeOptions) []*Node[K, V] + func (s *SafeSortedSet[K, V]) GetByRank(rank int, remove bool) *Node[K, V] + func (s *SafeSortedSet[K, V]) GetByRankRange(start int, end int, remove bool) []*Node[K, V] + func (s *SafeSortedSet[K, V]) GetByValue(value V) *Node[K, V] + func (s *SafeSortedSet[K, V]) GetRTop(count int, remove bool) []*Node[K, V] + func (s *SafeSortedSet[K, V]) GetTop(count int, remove bool) []*Node[K, V] + func (s *SafeSortedSet[K, V]) GetUntilKey(untilKey K, remove bool) []any + func (s *SafeSortedSet[K, V]) Len() int + func (s *SafeSortedSet[K, V]) PeekMax() *Node[K, V] + func (s *SafeSortedSet[K, V]) PeekMin() *Node[K, V] + func (s *SafeSortedSet[K, V]) PopMax() *Node[K, V] + func (s *SafeSortedSet[K, V]) PopMin() *Node[K, V] + func (s *SafeSortedSet[K, V]) Remove(value V) *Node[K, V] + func (s *SafeSortedSet[K, V]) Restore(keyRestore func(key string, values []string) (K, []V, error), dump string) error + func (s *SafeSortedSet[K, V]) Upsert(key K, value V) bool + type SortedSet struct + func NewSortedSet[K comparable, V comparable](c comparator.Comparator) *SortedSet[K, V] + func (s *SortedSet[K, V]) Contains(value V) bool + func (s *SortedSet[K, V]) Copy() *SortedSet[K, V] + func (s *SortedSet[K, V]) Dump(makeDump func(key K, value V) (string, string, error)) (string, error) + func (s *SortedSet[K, V]) FindRank(value V) int + func (s *SortedSet[K, V]) GetByKeyRange(start K, end K, options *GetByKeyRangeOptions) []*Node[K, V] + func (s *SortedSet[K, V]) GetByRank(rank int, remove bool) *Node[K, V] + func (s *SortedSet[K, V]) GetByRankRange(start int, end int, remove bool) []*Node[K, V] + func (s *SortedSet[K, V]) GetByValue(value V) *Node[K, V] + func (s *SortedSet[K, V]) GetRTop(count int, remove bool) (result []*Node[K, V]) + func (s *SortedSet[K, V]) GetTop(count int, remove bool) (result []*Node[K, V]) + func (s *SortedSet[K, V]) GetUntilKey(untilKey K, remove bool) []any + func (s *SortedSet[K, V]) Len() int + func (s *SortedSet[K, V]) PeekMax() *Node[K, V] + func (s *SortedSet[K, V]) PeekMin() *Node[K, V] + func (s *SortedSet[K, V]) PopMax() *Node[K, V] + func (s *SortedSet[K, V]) PopMin() *Node[K, V] + func (s *SortedSet[K, V]) Remove(value V) *Node[K, V] + func (s *SortedSet[K, V]) Restore(keyRestore func(key string, values []string) (K, []V, error), dump string) error + func (s *SortedSet[K, V]) Upsert(key K, value V) bool