Skip to main content

class BiMapEmpty<K,V>

undocumented

Extends: EmptyBase

Implements: BiMap<K,V>

Type parameters

NameDefaultDescription
Kanyundocumented
Vanyundocumented

Properties

_NonEmptyType

undocumented

Definition

_NonEmptyType: BiMap.NonEmpty<K, V>;

Overrides

EmptyBase._NonEmptyType

context

undocumented

Definition

readonly context: BiMapContext<K, V>;

Overrides

BiMap.context

isEmpty

undocumented

Definition

get isEmpty(): true;

Overrides

EmptyBase.isEmptyBiMap.isEmpty

keyValueMap

undocumented

Definition

get keyValueMap(): RMap<K, V>;

Overrides

BiMap.keyValueMap

length

undocumented

Definition

get length(): 0;

Overrides

EmptyBase.length

size

undocumented

Definition

get size(): 0;

Overrides

EmptyBase.sizeBiMap.size

valueKeyMap

undocumented

Definition

get valueKeyMap(): RMap<V, K>;

Overrides

BiMap.valueKeyMap

Methods

[Symbol.iterator]

undocumented

addEntries

undocumented

Definition

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

Parameters

NameTypeDescription
entriesStreamSource<readonly [K, V]>

Overrides

BiMap.addEntries

addEntry

undocumented

Definition

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

Parameters

NameTypeDescription
entryreadonly [K, V]

Overrides

BiMap.addEntry

assumeNonEmpty

undocumented

Definition

assumeNonEmpty(): never;

Overrides

EmptyBase.assumeNonEmpty, BiMap.assumeNonEmpty

filter

undocumented

Definition

filter(): any;

Overrides

EmptyBase.filter, BiMap.filter

forEach

undocumented

Definition

forEach(): void;

Overrides

EmptyBase.forEach, BiMap.forEach

getKey

undocumented

Definition

getKey<_, O>(value: V, otherwise?: OptLazy<O>): O;

Type parameters

NameDescription
_
O

Parameters

NameTypeDescription
valueV
otherwiseOptLazy<O>

Overrides

BiMap.getKey

getValue

undocumented

Definition

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

Type parameters

NameDescription
_
O

Parameters

NameTypeDescription
keyK
otherwiseOptLazy<O>

Overrides

BiMap.getValue

hasKey

undocumented

Definition

hasKey(): false;

Overrides

BiMap.hasKey

hasValue

undocumented

Definition

hasValue(): false;

Overrides

BiMap.hasValue

nonEmpty

undocumented

Definition

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

Overrides

EmptyBase.nonEmpty, BiMap.nonEmpty

remove

undocumented

Definition

remove(): any;

Overrides

EmptyBase.remove

removeKey

undocumented

Definition

removeKey(): this;

Overrides

BiMap.removeKey

removeKeyAndGet

undocumented

Definition

removeKeyAndGet(): undefined;

Overrides

BiMap.removeKeyAndGet

removeKeys

undocumented

Definition

removeKeys(): this;

Overrides

BiMap.removeKeys

removeValue

undocumented

Definition

removeValue(): this;

Overrides

BiMap.removeValue

removeValueAndGet

undocumented

Definition

removeValueAndGet(): undefined;

Overrides

BiMap.removeValueAndGet

removeValues

undocumented

Definition

removeValues(): this;

Overrides

BiMap.removeValues

set

undocumented

Definition

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

Parameters

NameTypeDescription
keyK
valueV

Overrides

BiMap.set

stream

undocumented

Definition

stream(): Stream<any>;

Overrides

EmptyBase.stream, BiMap.stream

streamKeys

undocumented

Definition

streamKeys(): Stream<K>;

Overrides

BiMap.streamKeys

streamValues

undocumented

Definition

streamValues(): Stream<V>;

Overrides

BiMap.streamValues

toArray

undocumented

Definition

toArray(): [];

Overrides

EmptyBase.toArray, BiMap.toArray

toBuilder

undocumented

Definition

toBuilder(): BiMap.Builder<K, V>;

Overrides

BiMap.toBuilder

toJSON

undocumented

Definition

toJSON(): ToJSON<(readonly [K, V])[], this['context']['typeTag']>;

Overrides

BiMap.toJSON

toString

undocumented

Definition

toString(): string;

Overrides

BiMap.toString

updateKeyAtValue

undocumented

Definition

updateKeyAtValue(): this;

Overrides

BiMap.updateKeyAtValue

updateValueAtKey

undocumented

Definition

updateValueAtKey(): this;

Overrides

BiMap.updateValueAtKey