The `put` method in `com.google.common.collect.Multimap` is a function in the Java programming language provided by the Google Guava library. It allows us to add a key-value pair to the multimap. A multimap is a special type of map that allows multiple values to be associated with a single key. With the `put` method, we can specify a key and a value to be added to the multimap. If the key already exists in the multimap, the value is added to the existing list of values for that key. If the key does not exist, a new key-value pair is created in the multimap.
Java Multimap.put - 30 examples found. These are the top rated real world Java examples of com.google.common.collect.Multimap.put extracted from open source projects. You can rate examples to help us improve the quality of examples.