Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

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