Documentation ¶
Index ¶
- type Map
- func (m *Map[K, V]) Clear()
- func (m *Map[K, V]) ContainsKey(key K) bool
- func (m *Map[K, V]) Entries() []collections.MapEntry[K, V]
- func (m *Map[K, V]) Get(key K) (V, bool)
- func (m *Map[K, V]) IsEmpty() bool
- func (m *Map[K, V]) Keys() []K
- func (m *Map[K, V]) Put(key K, value V) V
- func (m *Map[K, V]) PutAll(other collections.Map[K, V])
- func (m *Map[K, V]) Remove(key K) bool
- func (m *Map[K, V]) Size() int
- func (m *Map[K, V]) Values() []V
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Map ¶
type Map[K comparable, V any] struct { // contains filtered or unexported fields }
func (*Map[K, V]) ContainsKey ¶
func (*Map[K, V]) Entries ¶
func (m *Map[K, V]) Entries() []collections.MapEntry[K, V]
func (*Map[K, V]) PutAll ¶
func (m *Map[K, V]) PutAll(other collections.Map[K, V])
Click to show internal directories.
Click to hide internal directories.