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

x/rimbu/core/menu/map/index.ts>Hashed

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

Interfaces

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

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

A non-empty type-invariant immutable Map of key type K, and value type V. In the Map, each key has exactly one value, and the Map cannot contain duplicate keys. See the Map documentation and the HashMap API documentation

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

interface Hashed
implements RMapBase<K, V, HashMap.Types>
import { type Hashed } from "https://deno.land/x/rimbu@1.0.2/core/menu/map/index.ts";

A type-invariant immutable Map of key type K, and value type V. In the Map, each key has exactly one value, and the Map cannot contain duplicate keys. See the Map documentation and the HashMap API documentation

Examples

Example 1

const m1 = HashMap.empty<number, string>()
const m2 = HashMap.of([1, 'a'], [2, 'b'])
variable Hashed
import { Hashed } from "https://deno.land/x/rimbu@1.0.2/core/menu/map/index.ts";

type

HashMapCreators