Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HashTable ¶
type HashTable[I constraints.Ordered, K comparable] interface { Hash(id Key[I]) int Insert(id Key[I], data K) error Delete(id Key[I]) error Search(id Key[I]) (K, error) // contains filtered or unexported methods }
func New ¶
func New[I constraints.Ordered, K comparable](hashTable HashTable[I, K], parameters Common) HashTable[I, K]
type Key ¶
type Key[K constraints.Ordered] interface { Value() K Index() int }
type Linked ¶
type Linked[I constraints.Ordered, K comparable] struct { // contains filtered or unexported fields }
type Open ¶
type Open[I constraints.Ordered, K comparable] struct { // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.