Documentation
¶
Overview ¶
Copyright 2025 bibenga Inspired by Apache Commons Collections (Apache License 2.0)
Index ¶
- func NewDefault[K comparable, V any]() orderedmap.Map[K, V]
- type LinkedMap
- func (m *LinkedMap[K, V]) Clear()
- func (m *LinkedMap[K, V]) Clone() orderedmap.Map[K, V]
- func (m *LinkedMap[K, V]) ContainsKey(key K) bool
- func (m *LinkedMap[K, V]) Delete(key K) (V, bool)
- func (m *LinkedMap[K, V]) Get(key K) (V, bool)
- func (m *LinkedMap[K, V]) IsEmpty() bool
- func (m *LinkedMap[K, V]) Items() iter.Seq2[K, V]
- func (m *LinkedMap[K, V]) Keys() iter.Seq[K]
- func (m *LinkedMap[K, V]) Put(key K, value V) (V, bool)
- func (m *LinkedMap[K, V]) Size() int
- func (m *LinkedMap[K, V]) String() string
- func (m *LinkedMap[K, V]) Values() iter.Seq[V]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefault ¶
func NewDefault[K comparable, V any]() orderedmap.Map[K, V]
Types ¶
type LinkedMap ¶
type LinkedMap[K comparable, V any] struct { // contains filtered or unexported fields }
func (*LinkedMap[K, V]) Clone ¶
func (m *LinkedMap[K, V]) Clone() orderedmap.Map[K, V]
func (*LinkedMap[K, V]) ContainsKey ¶
Click to show internal directories.
Click to hide internal directories.