Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testLinkedReplaceValues (0.13 sec)

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

        dst.putAll(src);
        assertEquals("{bar=[1, 3], foo=[2]}", dst.toString());
        assertEquals("[bar=1, foo=2, bar=3]", src.entries().toString());
      }
    
      public void testLinkedReplaceValues() {
        Multimap<String, Integer> map = create();
        map.put("bar", 1);
        map.put("foo", 2);
        map.put("bar", 3);
        map.put("bar", 4);
        assertEquals("{bar=[1, 3, 4], foo=[2]}", map.toString());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18K bytes
    - Viewed (0)
Back to top