Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testAsMultimapCaches (0.1 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        ImmutableMap<String, Integer> map = ImmutableMap.of();
        ImmutableSetMultimap<String, Integer> expected = ImmutableSetMultimap.of();
        assertEquals(expected, map.asMultimap());
      }
    
      public void testAsMultimapCaches() {
        ImmutableMap<String, Integer> map = ImmutableMap.of("one", 1);
        ImmutableSetMultimap<String, Integer> multimap1 = map.asMultimap();
        ImmutableSetMultimap<String, Integer> multimap2 = map.asMultimap();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.7K bytes
    - Viewed (0)
Back to top