Documentation
¶
Index ¶
- type IntMap
- func (this *IntMap[K, V]) Delete(k K)
- func (this *IntMap[K, V]) DeleteUnsafe(k K)
- func (this *IntMap[K, V]) ForEachRead(iterator func(k K, v V))
- func (this *IntMap[K, V]) ForEachWrite(iterator func(k K, v V))
- func (this *IntMap[K, V]) Get(k K) (value V)
- func (this *IntMap[K, V]) GetOk(k K) (value V, ok bool)
- func (this *IntMap[K, V]) Has(k K) bool
- func (this *IntMap[K, V]) Len() int
- func (this *IntMap[K, V]) Put(k K, v V)
- func (this *IntMap[K, V]) PutCompact(k K, v V, compactFunc func(oldV V, newV V) V)
- type KType
- type RWMutex
- type VType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IntMap ¶
func (*IntMap[K, V]) DeleteUnsafe ¶
func (this *IntMap[K, V]) DeleteUnsafe(k K)
func (*IntMap[K, V]) ForEachRead ¶
func (this *IntMap[K, V]) ForEachRead(iterator func(k K, v V))
func (*IntMap[K, V]) ForEachWrite ¶
func (this *IntMap[K, V]) ForEachWrite(iterator func(k K, v V))
func (*IntMap[K, V]) PutCompact ¶
func (this *IntMap[K, V]) PutCompact(k K, v V, compactFunc func(oldV V, newV V) V)
Click to show internal directories.
Click to hide internal directories.