Documentation ¶
Index ¶
- func GetDefault[K comparable, V any](m map[K]V, k K, c func() V) V
- func Keys[K comparable, V any](m map[K]V) []K
- func SortedKeys[K comparable, V any](m map[K]V, c compare.Compare[K]) []K
- func SortedValues[K comparable, V any](m map[K]V, c compare.Compare[V]) []V
- func Values[K comparable, V any](m map[K]V) []V
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefault ¶
func GetDefault[K comparable, V any](m map[K]V, k K, c func() V) V
func Keys ¶
func Keys[K comparable, V any](m map[K]V) []K
func SortedKeys ¶
func SortedKeys[K comparable, V any](m map[K]V, c compare.Compare[K]) []K
func SortedValues ¶
func SortedValues[K comparable, V any](m map[K]V, c compare.Compare[V]) []V
func Values ¶
func Values[K comparable, V any](m map[K]V) []V
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.