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

x/rimbu/hashed/set-custom/implementation/immutable.ts>HashSetCollision

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
class HashSetCollision
import { HashSetCollision } from "https://deno.land/x/rimbu@1.0.3/hashed/set-custom/implementation/immutable.ts";

Constructors

new
HashSetCollision(context: HashSetContext<T>, entries: List.NonEmpty<T>)

Properties

readonly
size: number

Methods

copy(entries?): HashSetCollision<T>
forEach(f: (
entry: T,
index: number,
halt: () => void,
) => void
, state?: TraverseState
): void
has<U>(value: RelatedTo<T, U>, inHash?: number): boolean
remove<U>(value: RelatedTo<T, U>, hash?: number): HashSet<T>
stream(): Stream.NonEmpty<T>