import { HashSetBlockBuilder } from "https://deno.land/x/rimbu@1.0.4/hashed/set-custom/implementation/builder.ts";
Constructors
new
HashSetBlockBuilder(context: HashSetContext<T>,
source?: undefined | HashSetBlock<T>,
_entries?: undefined | T[],
_entrySets?: undefined | SetBlockBuilderEntry<T>[],
size?,
level?,
Properties
add: (value: T) => boolean
addAll: (source: StreamSource<T>) => boolean
readonly
entries: T[]readonly
entrySets: SetBlockBuilderEntry<T>[]forEach: (f: () => void, state?: TraverseState) => void
removeAll: <ST>(values: StreamSource<ST>) => boolean
Methods
addInternal(value: T, hash?): boolean
buildNE(): HashSetBlock<T>
checkLock(): void
hasInternal(value: T, hash?): boolean
prepareMutate(): void
removeInternal(value: T, hash?): boolean