sorted_multiset

package
v0.27.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SortedMultiSet

type SortedMultiSet[K btree.Ordered, V any] struct {
	// contains filtered or unexported fields
}

func NewSortedMultiSet

func NewSortedMultiSet[K btree.Ordered, V btree.Ordered]() *SortedMultiSet[K, V]

func NewSortedMultiSetFn added in v0.26.0

func NewSortedMultiSetFn[K btree.Ordered, V any](less btree.LessFunc[V]) *SortedMultiSet[K, V]

func (*SortedMultiSet[K, V]) Add

func (s *SortedMultiSet[K, V]) Add(key K, value V)

func (*SortedMultiSet[K, V]) Keys

func (s *SortedMultiSet[K, V]) Keys() []K

func (*SortedMultiSet[K, V]) SortedValues

func (s *SortedMultiSet[K, V]) SortedValues(key K) []V

func (*SortedMultiSet[K, V]) Values

func (s *SortedMultiSet[K, V]) Values(key K) *sorted_set.SortedSet[V]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL