Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testReturnsPlainConcurrentHashMapWhenPossible (0.31 sec)

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

        try {
          // even to the same value is not allowed
          maker.initialCapacity(16);
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    
      public void testReturnsPlainConcurrentHashMapWhenPossible() {
        Map<?, ?> map = new MapMaker().initialCapacity(5).makeMap();
        assertTrue(map instanceof ConcurrentHashMap);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top