Skip to main content
Module

x/rimbu/hashed/map-custom/index.ts>HashMapCreators

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
interface HashMapCreators
implements [RMapBase.Factory]<HashMap.Types>
import { type HashMapCreators } from "https://deno.land/x/rimbu@0.14.0/hashed/map-custom/index.ts";

Methods

createContext<UK>(options?: { hasher?: Hasher<UK>; eq?: Eq<UK>; blockSizeBits?: number; listContext?: List.Context; }): HashMap.Context<UK>

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

defaultContext<UK>(): HashMap.Context<UK>

Returns the default context for HashMaps.