Skip to main content

class HashSetEmpty<T>

undocumented

Extends: EmptyBase

Implements: HashSet<T>

Type parameters

NameDefaultDescription
Tanyundocumented

Properties

_NonEmptyType

undocumented

Definition

_NonEmptyType: HashSet.NonEmpty<T>;

Overrides

EmptyBase._NonEmptyType

addAll

undocumented

Definition

readonly addAll: any;

context

undocumented

Definition

readonly context: HashSetContext<T>;

isEmpty

undocumented

Definition

get isEmpty(): true;

Overrides

EmptyBase.isEmpty

length

undocumented

Definition

get length(): 0;

Overrides

EmptyBase.length

size

undocumented

Definition

get size(): 0;

Overrides

EmptyBase.size

Methods

[Symbol.iterator]

undocumented

Definition

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

Overrides

EmptyBase.[Symbol.iterator]

add

undocumented

Definition

add(value: T): HashSet.NonEmpty<T>;

Parameters

NameTypeDescription
valueT

assumeNonEmpty

undocumented

Definition

assumeNonEmpty(): never;

Overrides

EmptyBase.assumeNonEmpty

difference

undocumented

Definition

difference(): HashSet<T>;

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(): HashSet<T>;

nonEmpty

undocumented

Definition

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

Overrides

EmptyBase.nonEmpty

remove

undocumented

Definition

remove(): this;

Overrides

EmptyBase.remove

removeAll

undocumented

Definition

removeAll(): this;

stream

undocumented

Definition

stream(): Stream<any>;

Overrides

EmptyBase.stream

symDifference

undocumented

Definition

symDifference(other: StreamSource<T>): HashSet<T>;

Parameters

NameTypeDescription
otherStreamSource<T>

toArray

undocumented

Definition

toArray(): [];

Overrides

EmptyBase.toArray

toBuilder

undocumented

Definition

toBuilder(): HashSet.Builder<T>;

toJSON

undocumented

Definition

toJSON(): ToJSON<T[]>;

toString

undocumented

Definition

toString(): string;

union

undocumented

Definition

union(other: StreamSource<T>): HashSet<T> | any;

Parameters

NameTypeDescription
otherStreamSource<T>