sortedset

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SortedSet

type SortedSet[K constraints.Hashable, V any] struct {
	// contains filtered or unexported fields
}

func New

func New[K constraints.Hashable, V any]() *SortedSet[K, V]

func (*SortedSet[K, V]) Get

func (set *SortedSet[K, V]) Get(key K) (val V, exist bool)

func (*SortedSet[K, V]) Set

func (set *SortedSet[K, V]) Set(key K, val V)

Jump to

Keyboard shortcuts

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