Documentation
¶
Index ¶
- type ConcurrentMap
- func (c *ConcurrentMap[K, V]) Clear()
- func (c *ConcurrentMap[K, V]) Delete(key K)
- func (c *ConcurrentMap[K, V]) Get(key K) (V, bool)
- func (c *ConcurrentMap[K, V]) Keys() []K
- func (c *ConcurrentMap[K, V]) Set(key K, value V)
- func (c *ConcurrentMap[K, V]) Size() int
- func (c *ConcurrentMap[K, V]) Values() []V
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConcurrentMap ¶
type ConcurrentMap[K comparable, V any] struct { // contains filtered or unexported fields }
func (*ConcurrentMap[K, V]) Clear ¶
func (c *ConcurrentMap[K, V]) Clear()
func (*ConcurrentMap[K, V]) Delete ¶
func (c *ConcurrentMap[K, V]) Delete(key K)
func (*ConcurrentMap[K, V]) Get ¶
func (c *ConcurrentMap[K, V]) Get(key K) (V, bool)
func (*ConcurrentMap[K, V]) Keys ¶
func (c *ConcurrentMap[K, V]) Keys() []K
func (*ConcurrentMap[K, V]) Set ¶
func (c *ConcurrentMap[K, V]) Set(key K, value V)
func (*ConcurrentMap[K, V]) Size ¶
func (c *ConcurrentMap[K, V]) Size() int
func (*ConcurrentMap[K, V]) Values ¶
func (c *ConcurrentMap[K, V]) Values() []V
Click to show internal directories.
Click to hide internal directories.