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

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

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

Constructors

new
HashSetEmpty(context: HashSetContext<T>)

Type Parameters

optional
T = any

Properties

readonly
addAll: any

Methods

add(value: T): HashSet.NonEmpty<T>
difference(): HashSet<T>
has(): false
intersect(): HashSet<T>
remove(): this
removeAll(): this
symDifference(other: StreamSource<T>): HashSet<T>
toBuilder(): HashSet.Builder<T>
toJSON(): ToJSON<T[]>
toString(): string
union(other: StreamSource<T>): HashSet<T> | any