Home | History | Annotate | Download | only in collect

Lines Matching refs:multimap

45  * Basic implementation of the {@link Multimap} interface. This class represents
46 * a multimap as a map that associates each key with a collection of values. All
47 * methods of {@link Multimap} are supported, including those specified as
50 * <p>To implement a multimap, a subclass must define the method {@link
53 * <p>The multimap constructor takes a map that has a single entry for each
55 * in the multimap, {@code AbstractMultimap} calls {@link #createCollection()}
62 * java.util.TreeSet}, in which case the multimap's iterators would propagate
76 * multimap, even if the underlying map and {@link #createCollection()} method
78 * allow concurrent update operations, wrap your multimap with a call to {@link
87 abstract class AbstractMultimap<K, V> implements Multimap<K, V>, Serializable {
92 * key. When a key-value pair is added to a multimap that didn't previously
95 * remains in the map as long as the multimap has any values for the key. If
102 * empty, the multimap may contain subsequently added values for that key. To
111 * Creates a new multimap that uses the provided map.
253 public boolean putAll(Multimap<? extends K, ? extends V> multimap) {
255 for (Map.Entry<? extends K, ? extends V> entry : multimap.entries()) {
346 * the multimap for the provided key. Changes to the multimap may alter the
370 * Collection decorator that stays in sync with the multimap values for a key.
375 * multimap values for a given key. Its delegate is a value in {@link
402 * If the delegate collection is empty, but the multimap has values for the
629 /** Set decorator that stays in sync with the multimap values for a key. */
637 * SortedSet decorator that stays in sync with the multimap values for a key.
686 /** List decorator that stays in sync with the multimap values for a key. */
813 * List decorator that stays in sync with the multimap values for a key and
947 /** Multiset view that stays in sync with the multimap keys. */
1167 // able to {@inheritDoc} all the way from Multimap?
1176 * multimap, taken at the time the entry is returned by a method call to the
1189 /** Entries for multimap. */
1462 if (object instanceof Multimap) {
1463 Multimap<?, ?> that = (Multimap<?, ?>) object;
1470 * Returns the hash code for this multimap.
1472 * <p>The hash code of a multimap is defined as the hash code of the map view,
1473 * as returned by {@link Multimap#asMap}.
1482 * Returns a string representation of the multimap, generated by calling
1483 * {@code toString} on the map returned by {@link Multimap#asMap}.
1485 * @return a string representation of the multimap