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

x/rimbu/multiset/custom/index.ts>HashMultiSetCreators

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

Methods

createContext<UT>(options?: { countMapContext?: HashMap.Context<UT>; }): HashMultiSet.Context<UT>

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

defaultContext<UT>(): HashMultiSet.Context<UT>

Returns the default context for HashMultiSet.