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

x/rimbu/multimap/custom/interface/creators.ts>HashMultiMapSortedValueCreators

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
interface HashMultiMapSortedValueCreators
implements [MultiMapBase.Factory]<HashMultiMapSortedValue.Types>
import { type HashMultiMapSortedValueCreators } from "https://deno.land/x/rimbu@1.0.2/multimap/custom/interface/creators.ts";

Methods

createContext<K, V>(options?: { keyMapContext?: HashMap.Context<K>; keyMapValuesContext?: SortedSet.Context<V>; }): HashMultiMapSortedValue.Context<K, V>

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

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

Returns the default context for HashMultiMapSortedValue.