Skip to main content
Module

x/rimbu/bimultimap/mod.ts>HashBiMultiMap

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
namespace HashBiMultiMap
import { HashBiMultiMap } from "https://deno.land/x/rimbu@0.14.0/bimultimap/mod.ts";

Interfaces

A mutable HashBiMultiMap builder used to efficiently create new immutable instances. See the BiMultiMap documentation and the HashBiMultiMap.Builder API documentation

The HashBiMultiMap'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 hashed. See the BiMultiMap documentation and the HashBiMultiMap API documentation

Utility interface that provides higher-kinded types for this collection.

interface HashBiMultiMap
import { type HashBiMultiMap } from "https://deno.land/x/rimbu@0.14.0/bimultimap/mod.ts";

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

Examples

Example 1

const h1 = HashBiMultiMap.empty<number, string>()
const h1 = HashBiMultiMap.of([1, 'a'], [1, 'b'])
variable HashBiMultiMap
import { HashBiMultiMap } from "https://deno.land/x/rimbu@0.14.0/bimultimap/mod.ts";

type

BiMultiMapHashed.Creators