Lines Matching full:code
48 * Provides static methods acting on or generating a {@code Multimap}.
60 * Creates a new {@code Multimap} that uses the provided map and factory. It
64 * <p>The {@code factory}-generated and {@code map} classes determine the
66 * {@code equals}, {@code hashCode}, and {@code toString} methods for the
67 * multimap and its returned views. However, the multimap's {@code get}
68 * method returns instances of a different class than {@code factory.get()}
71 * <p>The multimap is serializable if {@code map}, {@code factory}, the
72 * collections generated by {@code factory}, and the multimap contents are all
76 * multimap, even if {@code map} and the instances generated by
77 * {@code factory} are. Concurrent read operations will work correctly. To
87 * <p>Note: the multimap assumes complete ownership over of {@code map} and
88 * the collections returned by {@code factory}. Those objects should not be
95 * @throws IllegalArgumentException if {@code map} is not empty
138 * Creates a new {@code ListMultimap} that uses the provided map and factory.
142 * <p>The {@code factory}-generated and {@code map} classes determine the
144 * {@code equals}, {@code hashCode}, and {@code toString} methods for the
145 * multimap and its returned views. The multimap's {@code get}, {@code
146 * removeAll}, and {@code replaceValues} methods return {@code RandomAccess}
147 * lists if the factory does. However, the multimap's {@code get} method
148 * returns instances of a different class than does {@code factory.get()}.
150 * <p>The multimap is serializable if {@code map}, {@code factory}, the
151 * lists generated by {@code factory}, and the multimap contents are all
155 * multimap, even if {@code map} and the instances generated by
156 * {@code factory} are. Concurrent read operations will work correctly. To
164 * <p>Note: the multimap assumes complete ownership over of {@code map} and
165 * the lists returned by {@code factory}. Those objects should not be manually
172 * @throws IllegalArgumentException if {@code map} is not empty
213 * Creates a new {@code SetMultimap} that uses the provided map and factory.
217 * <p>The {@code factory}-generated and {@code map} classes determine the
219 * {@code equals}, {@code hashCode}, and {@code toString} methods for the
220 * multimap and its returned views. However, the multimap's {@code get}
221 * method returns instances of a different class than {@code factory.get()}
224 * <p>The multimap is serializable if {@code map}, {@code factory}, the
225 * sets generated by {@code factory}, and the multimap contents are all
229 * multimap, even if {@code map} and the instances generated by
230 * {@code factory} are. Concurrent read operations will work correctly. To
239 * <p>Note: the multimap assumes complete ownership over of {@code map} and
240 * the sets returned by {@code factory}. Those objects should not be manually
247 * @throws IllegalArgumentException if {@code map} is not empty
288 * Creates a new {@code SortedSetMultimap} that uses the provided map and
292 * <p>The {@code factory}-generated and {@code map} classes determine the
294 * {@code equals}, {@code hashCode}, and {@code toString} methods for the
295 * multimap and its returned views. However, the multimap's {@code get}
296 * method returns instances of a different class than {@code factory.get()}
299 * <p>The multimap is serializable if {@code map}, {@code factory}, the
300 * sets generated by {@code factory}, and the multimap contents are all
304 * multimap, even if {@code map} and the instances generated by
305 * {@code factory} are. Concurrent read operations will work correctly. To
313 * <p>Note: the multimap assumes complete ownership over of {@code map} and
314 * the sets returned by {@code factory}. Those objects should not be manually
321 * @throws IllegalArgumentException if {@code map} is not empty
370 * Copies each key-value mapping in {@code source} into {@code dest}, with
375 * @return {@code dest}
392 * multimap when accessing any of its collection views: <pre> {@code
427 * multimap's views, result in an {@code UnsupportedOperationException}.
687 * Returns a synchronized (thread-safe) {@code SetMultimap} backed by the
704 * Returns an unmodifiable view of the specified {@code SetMultimap}. Query
708 * {@code UnsupportedOperationException}.
727 * Returns a synchronized (thread-safe) {@code SortedSetMultimap} backed by
744 * Returns an unmodifiable view of the specified {@code SortedSetMultimap}.
748 * {@code UnsupportedOperationException}.
767 * Returns a synchronized (thread-safe) {@code ListMultimap} backed by the
781 * Returns an unmodifiable view of the specified {@code ListMultimap}. Query
785 * {@code UnsupportedOperationException}.
805 * interface for instances of {@code SortedSet}, {@code Set}, {@code List} and
806 * {@code Collection}, in that order of preference.
824 * Returns an unmodifiable view of the specified multimap {@code asMap} entry.
826 * UnsupportedOperationException}, and the collection returned by {@code
851 * UnsupportedOperationException}. If the specified collection is a {@code
852 * Set}, the returned collection is also a {@code Set}.
867 * Returns an unmodifiable view of the specified set of {@code asMap} entries.
872 * @param asMapEntries the {@code asMap} entries for which to return an
931 * collection views is in progress (except through the iterator's own {@code
932 * remove} operation, or through the {@code setValue} operation on a map entry
937 * mappings, such as {@code put}, {@code putAll} or {@code replaceValues}.
1179 * Creates an index {@code ImmutableMultimap} that contains the results of
1180 * applying a specified function to each item in an {@code Iterable} of
1188 * <p>For example, <pre class="code"> {@code
1197 * prints <pre class="code"> {@code
1204 * @param values the values to use when constructing the {@code
1207 * @return {@code ImmutableMultimap} mapping the result of evaluating the
1208 * function {@code keyFunction} on each value in the input collection to
1211 * <li> {@code values} is null
1212 * <li> {@code keyFunction} is null
1213 * <li> An element in {@code values} is null
1214 * <li> {@code keyFunction} returns null for any element of {@code values}