Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testLinkedPutOutOfOrder (0.14 sec)

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

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