Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCreate_map (0.1 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

        tester.testAllPublicStaticMethods(AtomicLongMap.class);
        AtomicLongMap<Object> map = AtomicLongMap.create();
        tester.testAllPublicInstanceMethods(map);
      }
    
      public void testCreate_map() {
        Map<String, Long> in = ImmutableMap.of("1", 1L, "2", 2L, "3", 3L);
        AtomicLongMap<String> map = AtomicLongMap.create(in);
        assertFalse(map.isEmpty());
        assertEquals(3, map.size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
Back to top