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

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

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

Methods

createContext<K, V>(options?: { keyValueMultiMapContext?: SortedMultiMapSortedValue.Context<K, V>; valueKeyMultiMapContext?: SortedMultiMapSortedValue.Context<V, K>; }): SortedBiMultiMap.Context<K, V>

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

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

Returns the default context for SortedBiMultiMap.