|
30432 | 30432 | <param name="factory" type="com.google.common.base.Supplier<? extends java.util.Collection<V>>"/> |
30433 | 30433 | <doc> |
30434 | 30434 | <![CDATA[Creates a new {@code Multimap} backed by {@code map}, whose internal value collections are |
30435 | | - generated by {@code factory}. |
| 30435 | + generated by {@code factory}. Most users should prefer {@link MultimapBuilder}, though a small |
| 30436 | + number of users will need this method to cover map or collection types that {@link |
| 30437 | + MultimapBuilder} does not support. |
30436 | 30438 |
|
30437 | 30439 | <p><b>Warning: do not use</b> this method when the collections returned by {@code factory} |
30438 | 30440 | implement either {@link List} or {@code Set}! Use the more specific method {@link |
|
30475 | 30477 | <param name="factory" type="com.google.common.base.Supplier<? extends java.util.List<V>>"/> |
30476 | 30478 | <doc> |
30477 | 30479 | <![CDATA[Creates a new {@code ListMultimap} that uses the provided map and factory. It can generate a |
30478 | | - multimap based on arbitrary {@link Map} and {@link List} classes. |
| 30480 | + multimap based on arbitrary {@link Map} and {@link List} classes. Most users should prefer |
| 30481 | + {@link MultimapBuilder}, though a small number of users will need this method to cover map or |
| 30482 | + collection types that {@link MultimapBuilder} does not support. |
30479 | 30483 |
|
30480 | 30484 | <p>The {@code factory}-generated and {@code map} classes determine the multimap iteration |
30481 | 30485 | order. They also specify the behavior of the {@code equals}, {@code hashCode}, and {@code |
|
30512 | 30516 | <param name="factory" type="com.google.common.base.Supplier<? extends java.util.Set<V>>"/> |
30513 | 30517 | <doc> |
30514 | 30518 | <![CDATA[Creates a new {@code SetMultimap} that uses the provided map and factory. It can generate a |
30515 | | - multimap based on arbitrary {@link Map} and {@link Set} classes. |
| 30519 | + multimap based on arbitrary {@link Map} and {@link Set} classes. Most users should prefer |
| 30520 | + {@link MultimapBuilder}, though a small number of users will need this method to cover map or |
| 30521 | + collection types that {@link MultimapBuilder} does not support. |
30516 | 30522 |
|
30517 | 30523 | <p>The {@code factory}-generated and {@code map} classes determine the multimap iteration |
30518 | 30524 | order. They also specify the behavior of the {@code equals}, {@code hashCode}, and {@code |
|
0 commit comments