Alias for putAll
Alias for put
Alias for removeAll
Alias for remove
Make empty
Discards all entries, collection size will become zero
Element by key
Returns element associated with the given key
key
Note. This operation will fail, if value is not found. Thus, use safer getOpt in most cases
Optional element by key
Optionally returns element associated with the given key
Get or create key/value association
Returns existent value assisiated with the given key.
If the association does not exist, it will be created with the given default value, and then same value will be returned.
Multi key lookup
Returns a stream of values for given stream of keys.
Note: There may be less values, than keys. Keys with no assosiated values are ignored.
Key stream
Returns a Stream of all keys for this Lookup
Key/value pair stream
Returns a Stream of all key/value pairs for this Lookup
Create key/value association
If given key entry already exists, it will be overridden with given value
If given key entry does not exist, it will be added, with collection increasing in size
Create multitiple key/value associations
This operation executes put for every stream entry
Remove key association
Removes given key and value associated with it
Optionally returns the removed value, if it was indeed removed.
Remove milti key associations
Removes given stream of keys and values associated with them
Returns stream of removed values
Value stream
Returns a Stream of all values for this Lookup
Update key/value association
Unlike put, this operation will only update existing association, and will do nothing for non-existent.
Update multiple key/value associations
This operation executes update for every stream entry