interface HashBiMultiMap<K,V>
A type-invariant immutable bi-directional MultiMap where keys and values have a many-to-many mapping. Its keys and values are hashed. See the BiMultiMap documentation and the HashBiMultiMap API documentation
Companion namespace: HashBiMultiMap
Implemented by: HashBiMultiMap.NonEmpty<K,V>
Type parameters
| Name | Description |
|---|---|
| K | the key type |
| V | the value type |
example
const h1 = HashBiMultiMap.empty<number, string>()
const h1 = HashBiMultiMap.of([1, 'a'], [1, 'b'])