Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testLinkedPutInOrder (0.11 sec)

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

        map.put("foo", 5);
        assertEquals("{bar=[1, 4], foo=[3, 2, 5]}", map.toString());
        assertEquals("[bar=1, foo=3, foo=2, bar=4, foo=5]", map.entries().toString());
      }
    
      public void testLinkedPutInOrder() {
        Multimap<String, Integer> map = create();
        map.put("foo", 1);
        map.put("bar", 2);
        map.put("bar", 3);
        assertEquals("{foo=[1], bar=[2, 3]}", 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