Versions in this module Expand all Collapse all v1 v1.19.3 Mar 3, 2025 Changes in this version + func Equals[T comparable](a, b T) bool + func Less[T Ordered](a, b T) bool + func OrderedCompare[T Ordered](a, b T) int + type CompareFn func(a, b T) int + type Container interface + Clear func() + IsEmpty func() bool + Len func() int + type Float interface + type HashFn func(t T) uint64 + type Integer interface + type Iterator interface + IsNotEnd func() bool + MoveToNext func() + Value func() T + type LessFn func(a, b T) bool + type Map interface + Find func(K) *V + ForEach func(func(K, V)) + ForEachIf func(func(K, V) bool) + ForEachMutable func(func(K, *V)) + ForEachMutableIf func(func(K, *V) bool) + Has func(K) bool + Insert func(K, V) + Remove func(K) bool + type MapIterator interface + Key func() K + type Numeric interface + type Ordered interface + type Set interface + ForEach func(func(K)) + ForEachIf func(func(K) bool) + Has func(K) bool + Insert func(K) + InsertN func(...K) + Remove func(K) bool + RemoveN func(...K) + type Signed interface + type SkipList struct + func NewSkipListFromMap[K Ordered, V any](m map[K]V) *SkipList[K, V] + func NewSkipListFunc[K any, V any](keyCmp CompareFn[K]) *SkipList[K, V] + func NewSkipList[K Ordered, V any]() *SkipList[K, V] + func (sl *SkipList[K, V]) Clear() + func (sl *SkipList[K, V]) Find(key K) *V + func (sl *SkipList[K, V]) FindRange(first, last K) MapIterator[K, V] + func (sl *SkipList[K, V]) ForEach(op func(K, V)) + func (sl *SkipList[K, V]) ForEachIf(op func(K, V) bool) + func (sl *SkipList[K, V]) ForEachMutable(op func(K, *V)) + func (sl *SkipList[K, V]) ForEachMutableIf(op func(K, *V) bool) + func (sl *SkipList[K, V]) Has(key K) bool + func (sl *SkipList[K, V]) Insert(key K, value V) + func (sl *SkipList[K, V]) IsEmpty() bool + func (sl *SkipList[K, V]) Iterate() MapIterator[K, V] + func (sl *SkipList[K, V]) Len() int + func (sl *SkipList[K, V]) LowerBound(key K) MapIterator[K, V] + func (sl *SkipList[K, V]) Remove(key K) bool + func (sl *SkipList[K, V]) UpperBound(key K) MapIterator[K, V] + type Unsigned interface