- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testNewHashMapWithExpectedSize_wontGrow (0.73 sec)
-
guava-tests/test/com/google/common/collect/MapsTest.java
* <p>This test may fail miserably on non-OpenJDK environments... */ @J2ktIncompatible @GwtIncompatible // reflection @AndroidIncompatible // relies on assumptions about OpenJDK public void testNewHashMapWithExpectedSize_wontGrow() throws Exception { // before jdk7u40: creates one-bucket table // after jdk7u40: creates empty table assertTrue(bucketsOf(Maps.newHashMapWithExpectedSize(0)) <= 1);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 15:27:58 UTC 2024 - 67.1K bytes - Viewed (0)