Versions in this module Expand all Collapse all v0 v0.2.0 Dec 11, 2023 v0.1.0 Nov 7, 2023 Changes in this version + func Hash(key interface{}) int + type Entry struct + Hash int + func NewEntry(key K, value V) *Entry[K, V] + func (e *Entry[K, V]) Equals(other *Entry[K, V]) bool + func (e Entry[K, V]) ToString() string + type HashTable struct + func NewHashTable(capacity int, maxLoadFactor float64) *HashTable[K, V] + func (h *HashTable[K, V]) Add(key K, value V) V + func (h *HashTable[K, V]) Clear() + func (h *HashTable[K, V]) ContainsKey(key K) bool + func (h *HashTable[K, V]) Get(key K) *V + func (h *HashTable[K, V]) Has(key K) bool + func (h *HashTable[K, V]) Insert(key K, value V) V + func (h *HashTable[K, V]) IsEmpty() bool + func (h *HashTable[K, V]) Keys() []K + func (h *HashTable[K, V]) Put(key K, value V) V + func (h *HashTable[K, V]) Remove(key K) *V + func (h *HashTable[K, V]) Size() int + func (h *HashTable[K, V]) ToString() string + func (h *HashTable[K, V]) Values() []V