Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/rimbu/core/menu/multimap/sorted-key.ts>SortedValue.Context

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
interface SortedValue.Context
implements [MultiMapBase.Context]<UK, UV, SortedMultiMapSortedValue.Types>
import { type SortedValue } from "https://deno.land/x/rimbu@0.13.1/core/menu/multimap/sorted-key.ts";
const { Context } = SortedValue;

A context instance for an SortedMultiMapSortedValue that acts as a factory for every instance of this type of collection.

Properties

readonly
typeTag: "SortedMultiMapSortedValue"
readonly
keyMapContext: SortedMap.Context<UK>

The SortedMap context used to create HashMaps to the key to value maps.

readonly
keyMapValuesContext: SortedSet.Context<UV>

The SortedSet context used to create HashSets for the value sets.