Skip to main content
Module

x/rimbu/bimultimap/custom/index.ts>BiMultiMapEmpty

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
class BiMultiMapEmpty
implements BiMultiMapBase<K, V, Tp>
extends EmptyBase
Re-export
import { BiMultiMapEmpty } from "https://deno.land/x/rimbu@0.14.0/bimultimap/custom/index.ts";

Constructors

new
BiMultiMapEmpty(context: WithKeyValue<Tp, K, V>["context"])

Properties

readonly
keySize: 0
readonly
keyValueMultiMap: WithKeyValue<Tp, K, V>["keyValueMultiMap"]
readonly
valueKeyMultiMap: WithKeyValue<Tp, K, V>["valueKeyMultiMap"]

Methods

add(key: K, value: V): WithKeyValue<Tp, K, V>["nonEmpty"]
addEntries(entries: StreamSource<readonly [K, V]>): WithKeyValue<Tp, K, V>["nonEmpty"]
getKeys(): WithKeyValue<Tp, K, V>["valueMultiMapValues"]
getValues(): WithKeyValue<Tp, K, V>["keyMultiMapValues"]
hasEntry(): false
hasKey(): false
hasValue(): false
removeEntries(): WithKeyValue<Tp, K, V>["normal"]
removeEntry(): WithKeyValue<Tp, K, V>["normal"]
removeKey(): WithKeyValue<Tp, K, V>["normal"]
removeKeys(): WithKeyValue<Tp, K, V>["normal"]
removeValue(): WithKeyValue<Tp, K, V>["normal"]
removeValues(): WithKeyValue<Tp, K, V>["normal"]
setKeys(value: V, keys: StreamSource<K>): WithKeyValue<Tp, K, V>["nonEmpty"]
setValues(key: K, values: StreamSource<V>): WithKeyValue<Tp, K, V>["nonEmpty"]
toBuilder(): WithKeyValue<Tp, K, V>["builder"]
toJSON(): ToJSON<any[]>
toString(): string