Skip to main content

class ProximityMapEmpty<K,V>

undocumented

Extends: EmptyBase

Implements: ProximityMap<K,V>

Type parameters

NameDefaultDescription
Kanyundocumented
Vanyundocumented

Properties

_NonEmptyType

undocumented

Definition

_NonEmptyType: ProximityMap.NonEmpty<K, V>;

Overrides

EmptyBase._NonEmptyType

context

undocumented

Definition

readonly context: ProximityMap.Context<K>;

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]

addEntries

undocumented

Definition

addEntries(entries: StreamSource<readonly [K, V]>): ProximityMap.NonEmpty<K, V>;

Parameters

NameTypeDescription
entriesStreamSource<readonly [K, V]>

addEntry

undocumented

Definition

addEntry(entry: readonly [K, V]): ProximityMap.NonEmpty<K, V>;

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<V2>(): ProximityMap<K, V2>;

Type parameters

NameDescription
V2

modifyAt

undocumented

Definition

modifyAt(atKey: K, options: {
    ifNew?: OptLazyOr<V, Token>;
  }): ProximityMap<K, V>;

Parameters

NameTypeDescription
atKeyK
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(): ProximityMap<K, V>;

removeKeyAndGet

undocumented

Definition

removeKeyAndGet(): undefined;

removeKeys

undocumented

Definition

removeKeys(): ProximityMap<K, V>;

set

undocumented

Definition

set(key: K, value: V): ProximityMap.NonEmpty<K, V>;

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(): ProximityMap.Builder<K, V>;

toJSON

undocumented

Definition

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

toString

undocumented

Definition

toString(): string;

updateAt

undocumented

Definition

updateAt(): ProximityMap<K, V>;