Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for unmodifiableMultimap (0.23 sec)

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

        Multimap<String, Integer> unmod = Multimaps.unmodifiableMultimap(mod);
        assertNotSame(mod, unmod);
        assertSame(unmod, Multimaps.unmodifiableMultimap(unmod));
        ImmutableMultimap<String, Integer> immutable = ImmutableMultimap.of("a", 1, "b", 2, "a", 3);
        assertSame(immutable, Multimaps.unmodifiableMultimap(immutable));
        assertSame(immutable, Multimaps.unmodifiableMultimap((Multimap<String, Integer>) immutable));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

        assertOrderingReadOnly(multimap);
      }
    
      public void testOrderingUnmodifiable() {
        Multimap<String, Integer> multimap = initializeMultimap5();
        assertOrderingReadOnly(Multimaps.unmodifiableMultimap(multimap));
      }
    
      @J2ktIncompatible // Synchronized
      public void testOrderingSynchronized() {
        Multimap<String, Integer> multimap = initializeMultimap5();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top