Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testAsMapWritesThrough (0.07 sec)

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

        strings.add("four");
        assertEquals(ImmutableMap.of("one", 3, "two", 3, "three", 5, "four", 4), map);
        assertEquals(Integer.valueOf(4), map.get("four"));
      }
    
      public void testAsMapWritesThrough() {
        Set<String> strings = new LinkedHashSet<>();
        Collections.addAll(strings, "one", "two", "three");
        Map<String, Integer> map = Maps.asMap(strings, LENGTH_FUNCTION);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 62.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapsTest.java

        strings.add("four");
        assertEquals(ImmutableMap.of("one", 3, "two", 3, "three", 5, "four", 4), map);
        assertEquals(Integer.valueOf(4), map.get("four"));
      }
    
      public void testAsMapWritesThrough() {
        Set<String> strings = new LinkedHashSet<>();
        Collections.addAll(strings, "one", "two", "three");
        Map<String, Integer> map = Maps.asMap(strings, LENGTH_FUNCTION);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 65K bytes
    - Viewed (0)
Back to top