Documentation ¶
Index ¶
- type OrdMap
- func (m *OrdMap[K, V]) Clear()
- func (m *OrdMap[K, V]) Del(key K)
- func (m *OrdMap[K, V]) Get(key K) (V, bool)
- func (m *OrdMap[K, V]) Keys() []K
- func (m *OrdMap[K, V]) Len() int
- func (m *OrdMap[K, V]) Range(f func(key K, value V) (stop bool))
- func (m *OrdMap[K, V]) Set(key K, value V)
- func (m *OrdMap[K, V]) Values() []V
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrdMap ¶
type OrdMap[K constraints.Ordered, V any] struct { // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.