Documentation
¶
Index ¶
- Constants
- type Node
- type SkipMap
- func (s *SkipMap[K, V]) Get(key K) (V, bool)
- func (s *SkipMap[K, V]) IsEmpty() bool
- func (s *SkipMap[K, V]) Len() int
- func (s *SkipMap[K, V]) Max() (K, V, bool)
- func (s *SkipMap[K, V]) Min() (K, V, bool)
- func (s *SkipMap[K, V]) Put(key K, value V)
- func (s *SkipMap[K, V]) Range(start, end K) []V
- func (s *SkipMap[K, V]) RangeFunc(start, end K, f func(key K, value V) bool)
- func (s *SkipMap[K, V]) Remove(key K) bool
Constants ¶
View Source
const ( DefaultMaxLevel = 32 DefaultProbability = 0.5 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.