Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testAsConverter_withNullMapping (0.09 sec)

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

        assertEquals((Integer) 1, converter.convert("one"));
        assertEquals((Integer) 2, converter.convert("two"));
        assertEquals((Integer) 3, converter.convert("three"));
      }
    
      public void testAsConverter_withNullMapping() throws Exception {
        BiMap<String, @Nullable Integer> biMap = HashBiMap.create();
        biMap.put("one", 1);
        biMap.put("two", 2);
        biMap.put("three", null);
        assertThrows(
    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

        assertEquals((Integer) 1, converter.convert("one"));
        assertEquals((Integer) 2, converter.convert("two"));
        assertEquals((Integer) 3, converter.convert("three"));
      }
    
      public void testAsConverter_withNullMapping() throws Exception {
        BiMap<String, @Nullable Integer> biMap = HashBiMap.create();
        biMap.put("one", 1);
        biMap.put("two", 2);
        biMap.put("three", null);
        assertThrows(
    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