Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/rimbu/core/menu/set/index.ts>Ordered.Hashed

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

Interfaces

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

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

A non-empty type-invariant immutable Ordered HashSet of value type T. In the Set, there are no duplicate values. See the Set documentation and the OrderedHashSet API documentation

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

interface Ordered.Hashed
implements OrderedSetBase<T, OrderedHashSet.Types>
import { type Ordered } from "https://deno.land/x/rimbu@1.2.1/core/menu/set/index.ts";
const { Hashed } = Ordered;

A type-invariant immutable Ordered HashSet of value type T. In the Set, there are no duplicate values. See the Set documentation and the OrderedHashSet API documentation

Examples

Example 1

const s1 = OrderedHashSet.empty<string>()
const s2 = OrderedHashSet.of('a', 'b', 'c')
variable Ordered.Hashed
import { Ordered } from "https://deno.land/x/rimbu@1.2.1/core/menu/set/index.ts";
const { Hashed } = Ordered;

type

OrderedHashSetCreators