Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testLinkedGetAdd (4.03 sec)

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

      }
    
      public void testCreateFromIllegalSize() {
        try {
          LinkedListMultimap.create(-20);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testLinkedGetAdd() {
        LinkedListMultimap<String, Integer> map = create();
        map.put("bar", 1);
        Collection<Integer> foos = map.get("foo");
        foos.add(2);
        foos.add(3);
        map.put("bar", 4);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

      }
    
      public void testCreateFromIllegalSize() {
        try {
          LinkedListMultimap.create(-20);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testLinkedGetAdd() {
        LinkedListMultimap<String, Integer> map = create();
        map.put("bar", 1);
        Collection<Integer> foos = map.get("foo");
        foos.add(2);
        foos.add(3);
        map.put("bar", 4);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 18K bytes
    - Viewed (0)
Back to top