MultiMap that transforms keys.
Input key type.
Value type.
Indexable key type.
Lookup key type.
Constructor.
Function to transform input key to indexable key.
Number of distinct keys.
Number of values.
Iterate over key-value pairs.
Add a key-value pair. Values are stored in a Set, so duplicates are skipped.
count(key) after the operation.
Iterate over key and associated values.
Count values associated with a key.
List values associated with a key.
Remove a key-value pair. No-op if key-value does not exist.
count(key)
MultiMap that transforms keys.