Skip to main content

abstract class HashSetNonEmptyBase<T>

undocumented

Extends: NonEmptyBase<E>

Implements: HashSet.NonEmpty<T>

Extended by: HashSetBlock<T>, HashSetCollision<T>

Type parameters

NameDescription
Tundocumented

Properties

context

undocumented

Definition

abstract get context(): HashSetContext<T>;

Overrides

RSetBase.context

isEmpty

undocumented

Definition

get isEmpty(): false;

Overrides

NonEmptyBase.isEmptyNonEmpty.isEmpty

size

undocumented

Definition

abstract get size(): number;

Overrides

VariantSetBase.size

Methods

[Symbol.iterator]

undocumented

add

undocumented

Definition

abstract add(value: T): HashSetNonEmptyBase<T>;

Parameters

NameTypeDescription
valueT

Overrides

NonEmpty.add

addAll

undocumented

Definition

addAll(values: StreamSource<T>): HashSet.NonEmpty<T>;

Parameters

NameTypeDescription
valuesStreamSource<T>

Overrides

NonEmpty.addAll

asNormal

undocumented

Definition

asNormal(): this;

Overrides

NonEmptyBase.asNormal, NonEmpty.asNormal

assumeNonEmpty

undocumented

Definition

assumeNonEmpty(): this;

Overrides

NonEmptyBase.assumeNonEmpty, NonEmpty.assumeNonEmpty

difference

undocumented

Definition

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

Parameters

NameTypeDescription
otherStreamSource<T>

Overrides

VariantSetBase.difference

filter

undocumented

Definition

filter(pred: (value: T, index: number, halt: () => void) => boolean, options?: {
    negate?: boolean | undefined;
  }): any;

Parameters

NameTypeDescription
pred(value: T, index: number, halt: () => void) => boolean
options{
    negate?: boolean | undefined;
  }

Overrides

VariantSetBase.filter

forEach

undocumented

Definition

abstract forEach(f: (value: T, index: number, halt: () => void) => void, options?: {
    state?: TraverseState;
  }): void;

Parameters

NameTypeDescription
f(value: T, index: number, halt: () => void) => void
options{
    state?: TraverseState;
  }

Overrides

VariantSetBase.forEach

has

undocumented

Definition

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

Type parameters

NameDescription
U

Parameters

NameTypeDescription
valueRelatedTo<T, U>

Overrides

VariantSetBase.has

intersect

undocumented

Definition

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

Parameters

NameTypeDescription
otherStreamSource<T>

Overrides

VariantSetBase.intersect

nonEmpty

undocumented

Definition

nonEmpty(): true;

Overrides

NonEmptyBase.nonEmpty, NonEmpty.nonEmpty

remove

undocumented

Definition

abstract remove<U>(value: RelatedTo<T, U>): HashSet<T>;

Type parameters

NameDescription
U

Parameters

NameTypeDescription
valueRelatedTo<T, U>

Overrides

VariantSetBase.remove

removeAll

undocumented

Definition

removeAll(values: StreamSource<T>): HashSet<T>;

Parameters

NameTypeDescription
valuesStreamSource<T>

Overrides

VariantSetBase.removeAll

stream

undocumented

Definition

abstract stream(): Stream.NonEmpty<T>;

Overrides

NonEmptyBase.stream, NonEmpty.stream

symDifference

undocumented

Definition

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

Parameters

NameTypeDescription
otherStreamSource<T>

Overrides

RSetBase.symDifference

toArray

undocumented

Definition

abstract toArray(): ArrayNonEmpty<T>;

Overrides

NonEmpty.toArray

toBuilder

undocumented

Definition

toBuilder(): HashSet.Builder<T>;

Overrides

RSetBase.toBuilder

toJSON

undocumented

Definition

toJSON(): ToJSON<T[]>;

Overrides

VariantSetBase.toJSON

toString

undocumented

Definition

toString(): string;

Overrides

VariantSetBase.toString

union

undocumented

Definition

union(other: StreamSource<T>): HashSet.NonEmpty<T>;

Parameters

NameTypeDescription
otherStreamSource<T>

Overrides

NonEmpty.union