Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testPrimitiveAndWrapper (0.14 sec)

  1. android/guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

                .createTestSuite());
    
        return suite;
      }
    
      public void testEmpty() {
        assertEquals(0, ImmutableTypeToInstanceMap.of().size());
      }
    
      public void testPrimitiveAndWrapper() {
        ImmutableTypeToInstanceMap<Number> map =
            ImmutableTypeToInstanceMap.<Number>builder()
                .put(Integer.class, 0)
                .put(int.class, 1)
                .build();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

        assertNull(map.getInstance(Integer.class));
    
        map.put(Long.class, null);
        assertNull(map.get(Long.class));
        assertNull(map.getInstance(Long.class));
      }
    
      public void testPrimitiveAndWrapper() {
        assertNull(map.getInstance(int.class));
        assertNull(map.getInstance(Integer.class));
    
        assertNull(map.putInstance(int.class, 0));
        assertNull(map.putInstance(Integer.class, 1));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        assertTrue(map.entrySet().contains(immutableEntry(TypeToken.of(Long.class), null)));
        assertNull(map.get(TypeToken.of(Long.class)));
        assertNull(map.getInstance(Long.class));
      }
    
      public void testPrimitiveAndWrapper() {
        assertNull(map.getInstance(int.class));
        assertNull(map.getInstance(Integer.class));
    
        assertNull(map.putInstance(int.class, 0));
        assertNull(map.putInstance(Integer.class, 1));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top