Skip to main content

class SortedSetBuilder<T>

undocumented

Type parameters

NameDescription
Tundocumented

Properties

_children

undocumented

Definition

_children?: undefined | SortedSetBuilder<T>[];

_entries

undocumented

Definition

_entries?: undefined | T[];

add

undocumented

Definition

add: (value: T) => boolean;

addAll

undocumented

Definition

addAll: (source: StreamSource<T>) => boolean;

build

undocumented

Definition

build: () => SortedSet<T>;

children

undocumented

Definition

get children(): SortedSetBuilder<T>[];

set children(value: SortedSetBuilder<T>[]);

context

undocumented

Definition

readonly context: SortedSetContext<T>;

has

undocumented

Definition

has: <U>(value: RelatedTo<T, U>) => boolean;

remove

undocumented

Definition

remove: <U>(value: RelatedTo<T, U>) => boolean;

removeAll

undocumented

Definition

removeAll: <U>(values: StreamSource<RelatedTo<T, U>>) => boolean;

size

undocumented

Definition

size: number;

source

undocumented

Definition

source?: undefined | SortedSet<T>;

Methods

addInternal

undocumented

Definition

addInternal(value: T): boolean;

Parameters

NameTypeDescription
valueT

createNew

undocumented

Definition

createNew(source?: undefined | SortedSet<T>, entries?: undefined |T[], children?: undefined| SortedSetBuilder<T>[], size?: undefined |number):SortedSetBuilder<T>;

Parameters

NameTypeDescription
sourceundefined | SortedSet<T>
entriesundefined | T[]
childrenundefined | SortedSetBuilder<T>[]
sizeundefined | number

prepareMutate

undocumented

Definition

prepareMutate(): void;

removeInternal

undocumented

Definition

removeInternal(value: T): boolean;

Parameters

NameTypeDescription
valueT