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

x/rimbu/sorted/set-custom/index.ts>SortedSetEmpty

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
class SortedSetEmpty
implements SortedSet<T>
extends SortedEmpty
Re-export
import { SortedSetEmpty } from "https://deno.land/x/rimbu@0.14.1/sorted/set-custom/index.ts";

Constructors

new
SortedSetEmpty(context: SortedSetContext<T>)

Type Parameters

optional
T = any

Methods

add(value: T): SortedSet.NonEmpty<T>
addAll(values: StreamSource<T>): SortedSet.NonEmpty<T>
difference(): SortedSet<T>
has(): false
intersect(): SortedSet<T>
remove(): this
removeAll(): this
slice(): this
streamRange(): Stream<T>
streamSliceIndex(): Stream<T>
symDifference(other: StreamSource<T>): SortedSet<T>
toBuilder(): SortedSet.Builder<T>
toJSON(): ToJSON<T[]>
toString(): string
union(other: StreamSource<T>): SortedSet<T> | any