import { type BiMap } from "https://deno.land/x/rimbu@1.0.0/bimap/mod.ts";
const { NonEmpty } = BiMap;
A non-empty type-invariant immutable bi-directional Map where keys and values have a one-to-one mapping. See the BiMap documentation and the BiMap API documentation * @typeparam K - the key type
Properties
Returns the non-empty Map representation of the key to value mapping.
Methods
Returns the collection with the entries from the given StreamSource
entries
added.
Returns the collection where the value associated with given key
is updated with the given update
value or update function.
Returns the collection where the key associated with given value
is updated with the given update
value or update function.
Returns a non-empty Stream
containing all entries of this collection as tuples of key and value.
Returns a non-empty Stream
containing all keys of this collection.
Returns a non-empty Stream
containing all values of this collection.
Returns a non-empty array containing all entries in this collection.