Documentation ¶
Index ¶
- type ConcurrentSwissMap
- func (m *ConcurrentSwissMap[K, V]) Count() int
- func (m *ConcurrentSwissMap[K, V]) Delete(key K)
- func (m *ConcurrentSwissMap[K, V]) Load(key K) (value V, ok bool)
- func (m *ConcurrentSwissMap[K, V]) MarshalJSON() ([]byte, error)
- func (m *ConcurrentSwissMap[K, V]) Range(f func(key K, value V) bool)
- func (m *ConcurrentSwissMap[K, V]) Store(key K, value V)
- func (m *ConcurrentSwissMap[K, V]) ToMap() map[K]V
- func (m *ConcurrentSwissMap[K, V]) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConcurrentSwissMap ¶ added in v0.0.72
type ConcurrentSwissMap[K comparable, V any] struct { // contains filtered or unexported fields }
func CreateConcurrentSwissMap ¶ added in v0.0.72
func CreateConcurrentSwissMap[K comparable, V any](size uint64) *ConcurrentSwissMap[K, V]
func (*ConcurrentSwissMap[K, V]) Count ¶ added in v0.0.73
func (m *ConcurrentSwissMap[K, V]) Count() int
func (*ConcurrentSwissMap[K, V]) Delete ¶ added in v0.0.72
func (m *ConcurrentSwissMap[K, V]) Delete(key K)
func (*ConcurrentSwissMap[K, V]) Load ¶ added in v0.0.72
func (m *ConcurrentSwissMap[K, V]) Load(key K) (value V, ok bool)
func (*ConcurrentSwissMap[K, V]) MarshalJSON ¶ added in v0.0.72
func (m *ConcurrentSwissMap[K, V]) MarshalJSON() ([]byte, error)
func (*ConcurrentSwissMap[K, V]) Range ¶ added in v0.0.72
func (m *ConcurrentSwissMap[K, V]) Range(f func(key K, value V) bool)
func (*ConcurrentSwissMap[K, V]) Store ¶ added in v0.0.72
func (m *ConcurrentSwissMap[K, V]) Store(key K, value V)
func (*ConcurrentSwissMap[K, V]) ToMap ¶ added in v0.0.72
func (m *ConcurrentSwissMap[K, V]) ToMap() map[K]V
func (*ConcurrentSwissMap[K, V]) UnmarshalJSON ¶ added in v0.0.72
func (m *ConcurrentSwissMap[K, V]) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.