Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rimbu/bimultimap/custom/index.ts>BiMultiMapHashed.Creators

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
interface BiMultiMapHashed.Creators
implements [BiMultiMapBase.Factory]<unknown, unknown, HashBiMultiMap.Types>
import { type BiMultiMapHashed } from "https://deno.land/x/rimbu@1.1.0/bimultimap/custom/index.ts";
const { Creators } = BiMultiMapHashed;

Methods

createContext<UK, UV>(options?: { keyValueMultiMapContext?: HashMultiMapHashValue.Context<UK, UV>; valueKeyMultiMapContext?: HashMultiMapHashValue.Context<UV, UK>; }): HashBiMultiMap.Context<UK, UV>

Returns a new HashBiMultiMap context instance based on the given options.

defaultContext<UK, UV>(): HashBiMultiMap.Context<UK, UV>

Returns the default context for HashBiMultiMaps.