sortedmap

package
v0.0.0-...-b6a56d8 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SortedMap

type SortedMap[K constraints.Ordered, V any] map[K]V

SortedMap is a map with key's type is constraints.Ordered.

func (SortedMap[K, V]) Range

func (s SortedMap[K, V]) Range(f func(K, V) bool)

Range apply f to each kv pair in map by the order of key.

Jump to

Keyboard shortcuts

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