Skip to content
Advertisement

Tag: multimap

How to use replaceValues method of Guava Multimap?

I want to add, remove and replace values in a MultiMap provided by Guava. I do this currently to add values.. Removing values is easier with Guava library. But how can I use the replaceValues method? I mean this Say I wanted to replace value 4.3 with a new value 5.99, how should I do that, the method expects some

Advertisement