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

x/rimbu/multimap/main/index.ts>SortedMultiMapHashValue

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
namespace SortedMultiMapHashValue
import { SortedMultiMapHashValue } from "https://deno.land/x/rimbu@0.14.0/multimap/main/index.ts";

Interfaces

A mutable SortedMultiMapHashValue builder used to efficiently create new immutable instances. See the MultiMap documentation and the SortedMultiMapHashValue.Builder API documentation

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

A non-empty type-invariant immutable MultiMap of key type K, and value type V. In the MultiMap, each key has at least one value. See the MultiMap documentation and the SortedMultiMapHashValue API documentation

Utility interface that provides higher-kinded types for this collection.

interface SortedMultiMapHashValue
import { type SortedMultiMapHashValue } from "https://deno.land/x/rimbu@0.14.0/multimap/main/index.ts";

A type-invariant immutable MultiMap of key type K, and value type V. In the MultiMap, each key has at least one value. See the MultiMap documentation and the SortedMultiMapHashValue API documentation

Examples

Example 1

const m1 = SortedMultiMapHashValue.empty<number, string>()
const m2 = SortedMultiMapHashValue.of([1, 'a'], [1, 'b'], [2, 'a'])
variable SortedMultiMapHashValue
import { SortedMultiMapHashValue } from "https://deno.land/x/rimbu@0.14.0/multimap/main/index.ts";