Versions in this module Expand all Collapse all v1 v1.11.10 Jul 13, 2024 Changes in this version + type BiMap struct + func New[K, V comparable]() *BiMap[K, V] + func (m *BiMap[K, V]) DeleteKey(key K) (V, bool) + func (m *BiMap[K, V]) DeleteValue(val V) (K, bool) + func (m *BiMap[K, V]) GetKey(val V) (K, bool) + func (m *BiMap[K, V]) GetValue(key K) (V, bool) + func (m *BiMap[K, V]) Len() int + func (m *BiMap[K, V]) MarshalJSON() ([]byte, error) + func (m *BiMap[K, V]) Put(key K, val V) []Entry[K, V] + func (m *BiMap[K, V]) UnmarshalJSON(b []byte) error + func (m *BiMap[K, _]) HasKey(key K) bool + func (m *BiMap[K, _]) Keys() []K + func (m *BiMap[_, V]) HasValue(val V) bool + func (m *BiMap[_, V]) Values() []V + type Entry struct + Key K + Value V