- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for newMultimap (0.04 sec)
-
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
Multimap<Color, Integer> multimap = Multimaps.newMultimap(map, factory); assertTrue(multimap.get(Color.BLUE) instanceof NavigableSet); } public void testNewMultimapValueCollectionMatchesList() { Supplier<LinkedList<Integer>> factory = new ListSupplier(); Map<Color, Collection<Integer>> map = Maps.newEnumMap(Color.class); Multimap<Color, Integer> multimap = Multimaps.newMultimap(map, factory);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 38.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimaps.java
* key * @throws IllegalArgumentException if {@code map} is not empty */ public static <K extends @Nullable Object, V extends @Nullable Object> Multimap<K, V> newMultimap( Map<K, Collection<V>> map, Supplier<? extends Collection<V>> factory) { return new CustomMultimap<>(map, factory); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 86.5K bytes - Viewed (0)