Documentation ¶
Index ¶
- type HashMap
- func (h *HashMap[T, V]) Clear()
- func (h *HashMap[T, V]) Delete(key T) bool
- func (h *HashMap[T, V]) ForEach(fn func(key T, value V))
- func (h *HashMap[T, V]) Get(key T) (V, bool)
- func (h *HashMap[T, V]) IsEmpty() bool
- func (h *HashMap[T, V]) Put(key T, value V)
- func (h *HashMap[T, V]) Size() int
- func (h *HashMap[T, V]) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HashMap ¶
type HashMap[T comparable, V comparable] struct { // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.