* Gets a value by its key * * @param key - The key to look up * @returns The value associated with the key, or undefined if not found
(key: TKey)
| 113 | * @returns The value associated with the key, or undefined if not found |
| 114 | */ |
| 115 | get(key: TKey): TValue | undefined { |
| 116 | return this.map.get(key) |
| 117 | } |
| 118 | |
| 119 | /** |
| 120 | * Removes a key-value pair from the map |