About 1 min
Home > @hz-9/algorithm > LinkedListHashmap
LinkedListHashmap class
A hash map with linked list chaining. When encountering hash collisions, it continues to search in the linked list.
一个链式寻址的哈希表。 若遇到哈希值冲突时,将会根据在链表中继续寻找。
Signature:
export declare class LinkedListHashmap<K, V> implements Hashmap<K, V>Implements: Hashmap<K, V>
Constructors
Constructor | Modifiers | Description |
|---|---|---|
Constructs a new instance of the |
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
| Record<number, SinglyLinkedList<KeyValue<K, V>>> | ||
| number | ||
| |||
| ToKeyStr<K> | ||
| boolean | ||
| number |
Methods
Method | Modifiers | Description |
|---|---|---|