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

x/rimbu/hashed/set-custom/index.ts>HashSetCollision

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
class HashSetCollision
Re-export
import { HashSetCollision } from "https://deno.land/x/rimbu@1.0.3/hashed/set-custom/index.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>