Skip to main content

class MultiMapEmpty<K,V,Tp>

undocumented

Extends: EmptyBase

Implements: MultiMapBase<K,V,Tp>

Type parameters

NameConstraintsDescription
Kundocumented
Vundocumented
TpContextImplTypesundocumented

Properties

_NonEmptyType

undocumented

Definition

_NonEmptyType: WithKeyValue<Tp, K, V>['nonEmpty'];

Overrides

EmptyBase._NonEmptyType

context

undocumented

Definition

readonly context: WithKeyValue<Tp, K, V>['context'];

Overrides

MultiMapBase.context

isEmpty

undocumented

Definition

get isEmpty(): true;

Overrides

EmptyBase.isEmptyVariantMultiMapBase.isEmpty

keyMap

undocumented

Definition

get keyMap(): WithKeyValue<Tp, K, V>['keyMap'];

Overrides

VariantMultiMapBase.keyMap

keySize

undocumented

Definition

get keySize(): 0;

Overrides

VariantMultiMapBase.keySize

length

undocumented

Definition

get length(): 0;

Overrides

EmptyBase.length

size

undocumented

Definition

get size(): 0;

Overrides

EmptyBase.sizeVariantMultiMapBase.size

Methods

[Symbol.iterator]

undocumented

add

undocumented

Definition

add(key: K, value: V): WithKeyValue<Tp, K, V>['nonEmpty'];

Parameters

NameTypeDescription
keyK
valueV

Overrides

MultiMapBase.add

addEntries

undocumented

Definition

addEntries(entries: StreamSource<readonly [K, V]>): any;

Parameters

NameTypeDescription
entriesStreamSource<readonly [K, V]>

Overrides

MultiMapBase.addEntries

assumeNonEmpty

undocumented

Definition

assumeNonEmpty(): never;

Overrides

EmptyBase.assumeNonEmpty, VariantMultiMapBase.assumeNonEmpty

filter

undocumented

Definition

filter(): any;

Overrides

EmptyBase.filter, VariantMultiMapBase.filter

forEach

undocumented

Definition

forEach(): void;

Overrides

EmptyBase.forEach, VariantMultiMapBase.forEach

getValues

undocumented

Definition

getValues(): WithKeyValue<Tp, K, V>['keyMapValues'];

Overrides

VariantMultiMapBase.getValues

hasEntry

undocumented

Definition

hasEntry(): false;

Overrides

VariantMultiMapBase.hasEntry

hasKey

undocumented

Definition

hasKey(): false;

Overrides

VariantMultiMapBase.hasKey

modifyAt

undocumented

Definition

modifyAt(atKey: K, options: {
    ifNew?: OptLazy<StreamSource<V>>;
  }): WithKeyValue<Tp, K, V>['normal'];

Parameters

NameTypeDescription
atKeyK
options{
    ifNew?: OptLazy<StreamSource<V>>;
  }

Overrides

MultiMapBase.modifyAt

nonEmpty

undocumented

Definition

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

Overrides

EmptyBase.nonEmpty, VariantMultiMapBase.nonEmpty

remove

undocumented

Definition

remove(): any;

Overrides

EmptyBase.remove

removeEntries

undocumented

Definition

removeEntries(): WithKeyValue<Tp, K, V>['normal'];

Overrides

VariantMultiMapBase.removeEntries

removeEntry

undocumented

Definition

removeEntry(): WithKeyValue<Tp, K, V>['normal'];

Overrides

VariantMultiMapBase.removeEntry

removeKey

undocumented

Definition

removeKey(): WithKeyValue<Tp, K, V>['normal'];

Overrides

VariantMultiMapBase.removeKey

removeKeyAndGet

undocumented

Definition

removeKeyAndGet(): undefined;

Overrides

VariantMultiMapBase.removeKeyAndGet

removeKeys

undocumented

Definition

removeKeys(): WithKeyValue<Tp, K, V>['normal'];

Overrides

VariantMultiMapBase.removeKeys

setValues

undocumented

Definition

setValues(key: K, values: StreamSource<V>): WithKeyValue<Tp, K, V>['nonEmpty'];

Parameters

NameTypeDescription
keyK
valuesStreamSource<V>

Overrides

MultiMapBase.setValues

stream

undocumented

Definition

stream(): Stream<any>;

Overrides

EmptyBase.stream, VariantMultiMapBase.stream

streamKeys

undocumented

Definition

streamKeys(): Stream<K>;

Overrides

VariantMultiMapBase.streamKeys

streamValues

undocumented

Definition

streamValues(): Stream<V>;

Overrides

VariantMultiMapBase.streamValues

toArray

undocumented

Definition

toArray(): [];

Overrides

EmptyBase.toArray, VariantMultiMapBase.toArray

toBuilder

undocumented

Definition

toBuilder(): WithKeyValue<Tp, K, V>['builder'];

Overrides

MultiMapBase.toBuilder

toJSON

undocumented

Definition

toJSON(): ToJSON<[K, V[]][]>;

Overrides

VariantMultiMapBase.toJSON

toString

undocumented

Definition

toString(): string;

Overrides

VariantMultiMapBase.toString