Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testNullGet (0.05 sec)

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

                mapEntry("one", 1),
                mapEntry("two", 2),
                mapEntry("three", 3),
                mapEntry("two", 2));
      }
    
      // Other tests
    
      public void testNullGet() {
        ImmutableSortedMap<String, Integer> map = ImmutableSortedMap.of("one", 1);
        assertNull(map.get(null));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        hashtableTestHelper(ImmutableList.of(90, 22937));
      }
    
      public void testIntArrayHashtable() {
        hashtableTestHelper(ImmutableList.of(22938));
      }
    
      // Non-creation tests
    
      public void testNullGet() {
        ImmutableMap<String, Integer> map = ImmutableMap.of("one", 1);
        assertNull(map.get(null));
      }
    
      public void testAsMultimap() {
        ImmutableMap<String, Integer> map =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.7K bytes
    - Viewed (0)
Back to top