import { BiMultiMapContext } from "https://deno.land/x/rimbu@1.1.0/bimultimap/custom/index.ts";
Constructors
new
BiMultiMapContext(typeTag: N,
keyValueMultiMapContext: WithKeyValue<Tp, UK, UV>["keyValueMultiMapContext"],
valueKeyMultiMapContext: WithKeyValue<Tp, UK, UV>["valueKeyMultiMapContext"],
Properties
readonly
_types: Tpreadonly
builder: <K extends UK, V extends UV>() => WithKeyValue<Tp, K, V>["builder"]readonly
empty: <K extends UK, V extends UV>() => WithKeyValue<Tp, K, V>["normal"]readonly
from: <K extends UK, V extends UV>(...sources: ArrayNonEmpty<StreamSource<readonly [K, V]>>) => [K, V] extends [UK, UV] ? WithKeyValue<Tp, K, V>["normal"] | any : neverreadonly
reducer: <K extends UK, V extends UV>(source?: StreamSource<readonly [K, V]>) => Reducer<[K, V], WithKeyValue<Tp, K, V>["normal"]>Methods
createBuilder<K extends UK, V extends UV>(source?: WithKeyValue<Tp, K, V>["nonEmpty"]): WithKeyValue<Tp, K, V>["builder"]
createNonEmpty<K, V>(keyValueMultiMap: WithKeyValue<Tp, K, V>["keyValueMultiMapNonEmpty"], valueKeyMultiMap: WithKeyValue<Tp, K, V>["valueKeyMultiMapNonEmpty"]): WithKeyValue<Tp, K, V>["nonEmpty"]