Versions in this module Expand all Collapse all v0 v0.7.0 Apr 22, 2026 Changes in this version type Map + func (m *Map[K, V]) DeleteFunc(f func(K, V) bool) bool v0.6.0 Apr 15, 2026 Changes in this version + type Map struct + func NewMap[K, V any](cmp func(K, K) int) *Map[K, V] + func (m *Map[K, V]) Above(lo K) MapSpan[K, V] + func (m *Map[K, V]) All() iter.Seq2[K, V] + func (m *Map[K, V]) At(key K) V + func (m *Map[K, V]) Backward() iter.Seq2[K, V] + func (m *Map[K, V]) Below(hi K) MapSpan[K, V] + func (m *Map[K, V]) Clear() + func (m *Map[K, V]) Clone() *Map[K, V] + func (m *Map[K, V]) Contains(key K) bool + func (m *Map[K, V]) ContainsAll(keys iter.Seq[K]) bool + func (m *Map[K, V]) Delete(key K) (V, bool) + func (m *Map[K, V]) DeleteAll(keys iter.Seq[K]) bool + func (m *Map[K, V]) From(lo K) MapSpan[K, V] + func (m *Map[K, V]) Get(key K) (V, bool) + func (m *Map[K, V]) Index(key K) int + func (m *Map[K, V]) Keys() iter.Seq[K] + func (m *Map[K, V]) Len() int + func (m *Map[K, V]) Max() (K, V, bool) + func (m *Map[K, V]) Min() (K, V, bool) + func (m *Map[K, V]) Nth(i int) (K, V) + func (m *Map[K, V]) Set(key K, val V) (old V, added bool) + func (m *Map[K, V]) SetAll(seq iter.Seq2[K, V]) bool + func (m *Map[K, V]) String() string + func (m *Map[K, V]) To(hi K) MapSpan[K, V] + func (m *Map[K, V]) Values() iter.Seq[V] + type MapSpan struct + func (s MapSpan[K, V]) Above(lo K) MapSpan[K, V] + func (s MapSpan[K, V]) All() iter.Seq2[K, V] + func (s MapSpan[K, V]) Backward() iter.Seq2[K, V] + func (s MapSpan[K, V]) Below(hi K) MapSpan[K, V] + func (s MapSpan[K, V]) Clear() + func (s MapSpan[K, V]) Clone() *Map[K, V] + func (s MapSpan[K, V]) From(lo K) MapSpan[K, V] + func (s MapSpan[K, V]) Index(key K) int + func (s MapSpan[K, V]) Keys() iter.Seq[K] + func (s MapSpan[K, V]) Len() int + func (s MapSpan[K, V]) Max() (K, V, bool) + func (s MapSpan[K, V]) Min() (K, V, bool) + func (s MapSpan[K, V]) Nth(i int) (K, V) + func (s MapSpan[K, V]) String() string + func (s MapSpan[K, V]) To(hi K) MapSpan[K, V] + func (s MapSpan[K, V]) Values() iter.Seq[V]