Skip to main content

class OrderedMapEmpty<K,V,Tp>

undocumented

Extends: EmptyBase

Implements: OrderedMapBase<K,V,Tp>

Type parameters

NameConstraintsDefaultDescription
Kanyundocumented
Vanyundocumented
TpOrderedMapTypesOrderedMapTypesundocumented

Properties

_NonEmptyType

undocumented

Definition

_NonEmptyType: Tp['nonEmpty'];

Overrides

EmptyBase._NonEmptyType

context

undocumented

Definition

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

isEmpty

undocumented

Definition

get isEmpty(): true;

Overrides

EmptyBase.isEmpty

keyOrder

undocumented

Definition

get keyOrder(): List<K>;

Overrides

OrderedMapBase.keyOrder

length

undocumented

Definition

get length(): 0;

Overrides

EmptyBase.length

size

undocumented

Definition

get size(): 0;

Overrides

EmptyBase.size

sourceMap

undocumented

Definition

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

Overrides

OrderedMapBase.sourceMap

Methods

[Symbol.iterator]

undocumented

Definition

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

Overrides

EmptyBase.[Symbol.iterator]

addEntries

undocumented

Definition

addEntries(entries: StreamSource<readonly [K, V]>): WithKeyValue<Tp, K, V>['normal'] | any;

Parameters

NameTypeDescription
entriesStreamSource<readonly [K, V]>

addEntry

undocumented

Definition

addEntry(entry: readonly [K, V]): WithKeyValue<Tp, K, V>['nonEmpty'];

Parameters

NameTypeDescription
entryreadonly [K, V]

assumeNonEmpty

undocumented

Definition

assumeNonEmpty(): never;

Overrides

EmptyBase.assumeNonEmpty

filter

undocumented

Definition

filter(): any;

Overrides

EmptyBase.filter

forEach

undocumented

Definition

forEach(): void;

Overrides

EmptyBase.forEach

get

undocumented

Definition

get<O>(key: K, otherwise?: OptLazy<O>): O;

Type parameters

NameDescription
O

Parameters

NameTypeDescription
keyK
otherwiseOptLazy<O>

hasKey

undocumented

Definition

hasKey(): false;

mapValues

undocumented

Definition

mapValues(): any;

modifyAt

undocumented

Definition

modifyAt(key: K, options: {
    ifNew?: OptLazyOr<V, Token>;
  }): WithKeyValue<Tp, K, V>['normal'];

Parameters

NameTypeDescription
keyK
options{
    ifNew?: OptLazyOr<V, Token>;
  }

nonEmpty

undocumented

Definition

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

Overrides

EmptyBase.nonEmpty

remove

undocumented

Definition

remove(): any;

Overrides

EmptyBase.remove

removeKey

undocumented

Definition

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

removeKeyAndGet

undocumented

Definition

removeKeyAndGet(): undefined;

removeKeys

undocumented

Definition

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

set

undocumented

Definition

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

Parameters

NameTypeDescription
keyK
valueV

stream

undocumented

Definition

stream(): Stream<any>;

Overrides

EmptyBase.stream

streamKeys

undocumented

Definition

streamKeys(): Stream<K>;

streamValues

undocumented

Definition

streamValues(): Stream<V>;

toArray

undocumented

Definition

toArray(): [];

Overrides

EmptyBase.toArray

toBuilder

undocumented

Definition

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

toJSON

undocumented

Definition

toJSON(): ToJSON<any[]>;

toString

undocumented

Definition

toString(): string;

updateAt

undocumented

Definition

updateAt(): any;