Skip to main content

class OrderedSetEmpty<T,Tp,TpG>

undocumented

Extends: EmptyBase

Implements: OrderedSetBase<T,Tp>

Type parameters

NameConstraintsDefaultDescription
Tundocumented
TpOrderedSetTypesundocumented
TpGWithElem<Tp, T>WithElem<Tp, T>undocumented

Properties

_NonEmptyType

undocumented

Definition

_NonEmptyType: Tp['nonEmpty'];

Overrides

EmptyBase._NonEmptyType

context

undocumented

Definition

readonly context: WithElem<Tp, T>['context'];

isEmpty

undocumented

Definition

get isEmpty(): true;

Overrides

EmptyBase.isEmpty

length

undocumented

Definition

get length(): 0;

Overrides

EmptyBase.length

order

undocumented

Definition

get order(): List<T>;

Overrides

OrderedSetBase.order

size

undocumented

Definition

get size(): 0;

Overrides

EmptyBase.size

sourceSet

undocumented

Definition

get sourceSet(): TpG['sourceSet'];

Overrides

OrderedSetBase.sourceSet

Methods

[Symbol.iterator]

undocumented

Definition

[Symbol.iterator](): FastIterator<any>;

Overrides

EmptyBase.[Symbol.iterator]

add

undocumented

Definition

add(value: T): TpG['nonEmpty'];

Parameters

NameTypeDescription
valueT

addAll

undocumented

Definition

addAll(values: StreamSource<T>): any;

Parameters

NameTypeDescription
valuesStreamSource<T>

assumeNonEmpty

undocumented

Definition

assumeNonEmpty(): never;

Overrides

EmptyBase.assumeNonEmpty

difference

undocumented

Definition

difference(): TpG['normal'];

filter

undocumented

Definition

filter(): any;

Overrides

EmptyBase.filter

forEach

undocumented

Definition

forEach(): void;

Overrides

EmptyBase.forEach

has

undocumented

Definition

has(): false;

intersect

undocumented

Definition

intersect(): TpG['normal'];

nonEmpty

undocumented

Definition

nonEmpty(): this is this['_NonEmptyType'];

Overrides

EmptyBase.nonEmpty

remove

undocumented

Definition

remove(): TpG['normal'];

Overrides

EmptyBase.remove

removeAll

undocumented

Definition

removeAll(): TpG['normal'];

stream

undocumented

Definition

stream(): Stream<any>;

Overrides

EmptyBase.stream

symDifference

undocumented

Definition

symDifference(other: StreamSource<T>): TpG['normal'];

Parameters

NameTypeDescription
otherStreamSource<T>

toArray

undocumented

Definition

toArray(): [];

Overrides

EmptyBase.toArray

toBuilder

undocumented

Definition

toBuilder(): TpG['builder'];

toJSON

undocumented

Definition

toJSON(): ToJSON<any[]>;

toString

undocumented

Definition

toString(): string;

union

undocumented

Definition

union(other: StreamSource<T>): TpG['normal'] | any;

Parameters

NameTypeDescription
otherStreamSource<T>