import { BiMultiMapBase } from "https://deno.land/x/rimbu@1.1.0/bimultimap/custom/interface/base.ts";
Interfaces
Utility interface that provides higher-kinded types for this collection. |
import { type BiMultiMapBase } from "https://deno.land/x/rimbu@1.1.0/bimultimap/custom/interface/base.ts";
Properties
Returns the context
associated to this collection instance.
Returns the MultiMap representation of the key to value mapping.
Returns the MultiMap representation of the value to key mapping.
Methods
Returns a Stream
containing all entries of this collection as tuples of key and value.
Returns the collection as a .NonEmpty type
Returns true if there is at least one entry in the collection, and instructs the compiler to treat the collection as a .NonEmpty type.
Returns true if the given key
is present in the collection.
Returns true if the given value
is present in the collection.
Returns true if the given key and value entry is in the collection.
Returns the collection with the given key
associated to the given value
.
Returns the collection with the entries from the given StreamSource
entries
added.
Returns the collection with the values from the given values
StreamSource associated
with the given key
.
Returns the collection with the keys from the given keys
StreamSource associated
with the given value
.
Returns a collection containing the values associated with the given key
.
Returns a collection containing the keys associated with the given value
.
Returns the collection where the entries associated with given key
are removed if it was part of the collection.
Returns the collection where the entries associated with each key in given keys
are removed if they were present.
Returns the collection where the entries associated with given value
are removed if it was part of the collection.
Returns the collection where the entries associated with each value in given values
are removed if they were present.
Returns the collection where the entry with given key
or value
is removed if present.
Returns the collection where the entries in the given entries
StreamSource are removed if present.
Performs given function f
for each entry of the collection, using given state
as initial traversal state.
Returns a collection containing only those entries that satisfy given pred
predicate.
Returns a JSON representation of this collection.
Returns a builder object containing the entries of this collection.