import { BiMultiMap } from "https://deno.land/x/rimbu@1.0.3/core/menu/menu.ts";
const { Sorted } = BiMultiMap;
Interfaces
A mutable | |
The SortedBiMultiMap's Context instance that serves as a factory for all related immutable instances and builders. | |
A non-empty type-invariant immutable bi-directional MultiMap where keys and values have a many-to-many mapping. Its keys and values are sorted. See the BiMultiMap documentation and the HashBiMultiMap API documentation | |
Utility interface that provides higher-kinded types for this collection. |
import { type BiMultiMap } from "https://deno.land/x/rimbu@1.0.3/core/menu/menu.ts";
const { Sorted } = BiMultiMap;
A type-invariant immutable bi-directional MultiMap where keys and values have a many-to-many mapping. Its keys and values are sorted. See the BiMultiMap documentation and the HashBiMultiMap API documentation
Examples
Example 1
Example 1
const h1 = SortedBiMultiMap.empty<number, string>()
const h1 = SortedBiMultiMap.of([1, 'a'], [1, 'b'])
import { BiMultiMap } from "https://deno.land/x/rimbu@1.0.3/core/menu/menu.ts";
const { Sorted } = BiMultiMap;