Adds a tuple to the map.
Adds a tuple to the map.
the key.
the value.
Checks if the map contains the given key.
Checks if the map contains the given key.
the key to check.
true if the key is in the map, false otherwise.
Checks if the map contains the given value.s
Checks if the map contains the given value.s
the value to check.
true if the value is in the map, false otherwise.
an iterator over tuples in this map.
Get a key associated with the given value.
Get a key associated with the given value.
the value to lookup.
the key associated with the value, None if not found.
the keys in this map.
Remove a key and associated value from the map.
Remove a key and associated value from the map.
the key to remove.
true if the key and associated value were removed successfully, false otherwise.
Remove a value and associated key from the map.
Remove a value and associated key from the map.
the value to remove.
true if the value and associated key were removed successfully, false otherwise.
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
the number of tuples in this map.
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
Get a value associated with a given key.
Get a value associated with a given key.
the key to lookup.
the value associated with the key, None if not found.
the values in this map.
(biMap: MonadOps[(K, V)]).filter(p)
(biMap: MonadOps[(K, V)]).flatMap(f)
(biMap: MonadOps[(K, V)]).map(f)
(biMap: MonadOps[(K, V)]).withFilter(p)
An iterable bi-Directional map. There is a 1:1 mapping between keys and values.
the key type.
the value type.