Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for cow (0.03 sec)

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

        assertThat(multimap.keySet()).containsExactly("bar", "cow").inOrder();
        assertTrue(multimap.remove("bar", 4));
        assertThat(multimap.keySet()).containsExactly("bar", "cow").inOrder();
        assertTrue(multimap.remove("bar", 1));
        assertThat(multimap.keySet()).contains("cow");
        multimap.put("bar", 9);
        assertThat(multimap.keySet()).containsExactly("cow", "bar").inOrder();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        map.put("bar", 2);
        Map<String, Collection<Integer>> asMap = Multimaps.forMap(map).asMap();
        assertEquals(singleton(1), asMap.get("foo"));
        assertNull(asMap.get("cow"));
        assertTrue(asMap.containsKey("foo"));
        assertFalse(asMap.containsKey("cow"));
    
        Set<Entry<String, Collection<Integer>>> entries = asMap.entrySet();
        assertFalse(entries.contains((Object) 4.5));
        assertFalse(entries.remove((Object) 4.5));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
Back to top