Home | History | Annotate | Download | only in collect

Lines Matching full:value

41  * key-value pairs. In other words, the multimap contents after adding the same
42 * key and value twice varies between implementations. In multimaps allowing
44 * return a collection that includes the value twice. In multimaps not
46 * key to the value, and {@code get} will return a collection that includes the
47 * value once.
62 /** Returns the number of key-value pairs in the multimap. */
65 /** Returns {@code true} if the multimap contains no key-value pairs. */
77 * Returns {@code true} if the multimap contains the specified value for any
80 * @param value value to search for in multimap
82 boolean containsValue(@Nullable Object value);
85 * Returns {@code true} if the multimap contains the specified key-value pair.
88 * @param value value to search for in multimap
90 boolean containsEntry(@Nullable Object key, @Nullable Object value);
95 * Stores a key-value pair in the multimap.
97 * <p>Some multimap implementations allow duplicate key-value pairs, in which
98 * case {@code put} always adds a new key-value pair and increases the
100 * a key-value pair that's already in the multimap has no effect.
103 * @param value value to store in the multimap
105 * {@code false} if the multimap already contained the key-value pair and
108 boolean put(@Nullable K key, @Nullable V value);
111 * Removes a key-value pair from the multimap.
114 * @param value value of entry to remove the multimap
117 boolean remove(@Nullable Object key, @Nullable Object value);
131 * Copies all of another multimap's key-value pairs into this multimap. The
165 * Removes all key-value pairs from the multimap.
209 * @return collection of values, which may include the same value multiple
215 * Returns a collection of all key-value pairs. Changes to the returned
219 * @return collection of map entries consisting of key-value pairs
243 * <p>In general, two multimaps with identical key-value mappings may or may
245 * {@link SetMultimap} instances with the same key-value mappings are equal,