- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testWeak_builder (0.15 sec)
-
guava-tests/test/com/google/common/collect/InternersTest.java
} public void testWeak_null() { Interner<String> pool = Interners.newWeakInterner(); assertThrows(NullPointerException.class, () -> pool.intern(null)); } public void testWeak_builder() { int concurrencyLevel = 42; Interner<Object> interner = Interners.newBuilder().weak().concurrencyLevel(concurrencyLevel).build(); InternerImpl<Object> internerImpl = (InternerImpl<Object>) interner;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/InternersTest.java
} public void testWeak_null() { Interner<String> pool = Interners.newWeakInterner(); assertThrows(NullPointerException.class, () -> pool.intern(null)); } public void testWeak_builder() { int concurrencyLevel = 42; Interner<Object> interner = Interners.newBuilder().weak().concurrencyLevel(concurrencyLevel).build(); InternerImpl<Object> internerImpl = (InternerImpl<Object>) interner;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 4K bytes - Viewed (0)